*
* \author Kalle Dalheimer
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
#include "support/lstrings.h"
-#include "Lsstream.h"
-#include "debug.h"
+#include "support/std_sstream.h"
#include "qt_helpers.h"
-#include "LyXView.h"
-#include "ButtonControllerBase.h"
+#include "ButtonController.h"
#include "ControlAboutlyx.h"
#include <qlabel.h>
#include "Qt2BC.h"
#include "QAbout.h"
+using namespace lyx::support;
+
using std::getline;
-typedef Qt2CB<ControlAboutlyx, Qt2DB<QAboutDialog> > base_class;
+typedef QController<ControlAboutlyx, QView<QAboutDialog> > base_class;
-QAbout::QAbout()
- : base_class(qt_("About LyX"))
+QAbout::QAbout(Dialog & parent)
+ : base_class(parent, _("About LyX"))
{
}
}
#endif
- dialog_->creditsTV->setText(toqstr(out.str()));
+ dialog_->creditsTV->setText(toqstr(STRCONV(out.str())));
// try to resize to a good size
dialog_->copyright->hide();
dialog_->setMinimumSize(dialog_->sizeHint());
// Manage the cancel/close button
- bc().setCancel(dialog_->closePB);
+ bcview().setCancel(dialog_->closePB);
bc().refresh();
}