InsertTableWidget.C InsertTableWidget.h \
lengthcombo.C lengthcombo.h \
panelstack.C panelstack.h \
- QAboutDialog.C QAboutDialog.h \
+ QAbout.C QAbout.h \
QBibitemDialog.C QBibitemDialog.h \
QBibtexDialog.C QBibtexDialog.h \
QBox.C QBox.h \
#include <config.h>
#include "QAbout.h"
-#include "QAboutDialog.h"
#include "Qt2BC.h"
#include "qt_helpers.h"
namespace lyx {
namespace frontend {
-typedef QController<ControlAboutlyx, QView<QAboutDialog> > about_base_class;
+
+typedef QController<ControlAboutlyx, QView<QAboutDialog> > AboutBase;
QAbout::QAbout(Dialog & parent)
- : about_base_class(parent, _("About LyX"))
+ : AboutBase(parent, _("About LyX"))
{
}
} // namespace frontend
} // namespace lyx
+
+#include "QAbout_moc.cpp"
#define FORMABOUT_H
#include "QDialogView.h"
-#include "QAboutDialog.h"
+#include "ui/AboutUi.h"
+#include <QDialog>
namespace lyx {
namespace frontend {
class ControlAboutlyx;
+class QAboutDialog : public QDialog, public Ui::QAboutUi {
+ Q_OBJECT
+public:
+ QAboutDialog(QWidget * parent = 0)
+ : QDialog(parent)
+ {
+ setupUi(this);
+ connect(closePB, SIGNAL(clicked()), this, SLOT(reject()));
+ }
+};
+
+
class QAbout
: public QController<ControlAboutlyx, QView<QAboutDialog> >
{
+++ /dev/null
-/**
- * \file QAboutDialog.C
- * This file is part of LyX, the document processor.
- * Licence details can be found in the file COPYING.
- *
- * \author Kalle Dalheimer
- *
- * Full author contact details are available in file CREDITS.
- */
-
-#include <config.h>
-
-#include "QAboutDialog.h"
-
-namespace lyx {
-namespace frontend {
-
-QAboutDialog::QAboutDialog(QWidget * /*parent*/, char const * /*name*/,
- bool /*modal*/, Qt::WFlags /*fl*/)
-{
- setupUi(this);
-
- connect( closePB, SIGNAL( clicked() ),
- this, SLOT( reject() ) );
-}
-
-
-QAboutDialog::~QAboutDialog()
-{}
-
-} // namespace frontend
-} // namespace lyx
-
-#include "QAboutDialog_moc.cpp"
+++ /dev/null
-// -*- C++ -*-
-/**
- * \file QAboutDialog.h
- * This file is part of LyX, the document processor.
- * Licence details can be found in the file COPYING.
- *
- * \author Kalle Dalheimer
- *
- * Full author contact details are available in file CREDITS.
- */
-
-#ifndef QABOUTDIALOG_H
-#define QABOUTDIALOG_H
-
-#include "ui/AboutUi.h"
-#include <QDialog>
-
-namespace lyx {
-namespace frontend {
-
-class QAboutDialog : public QDialog, public Ui::QAboutUi {
- Q_OBJECT
-public:
- QAboutDialog(QWidget * parent = 0, const char * name = 0,
- bool modal = FALSE, Qt::WFlags fl = 0);
- ~QAboutDialog();
-};
-
-} // namespace frontend
-} // namespace lyx
-
-#endif // QABOUTDIALOG_H