From: Abdelrazak Younes Date: Thu, 17 Aug 2006 08:46:00 +0000 (+0000) Subject: get rid of QT3_SUPPORT and some cleanup X-Git-Tag: 1.6.10~12785 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8762a5cab8c6a469f06baffdad4c398361f33d89;p=lyx.git get rid of QT3_SUPPORT and some cleanup git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14724 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/floatplacement.C b/src/frontends/qt4/floatplacement.C index 9b14d6aba8..f7b1b34b25 100644 --- a/src/frontends/qt4/floatplacement.C +++ b/src/frontends/qt4/floatplacement.C @@ -9,6 +9,10 @@ * Full author contact details are available in file CREDITS. */ +#ifndef QT3_SUPPORT + #define QT3_SUPPORT +#endif + #include #include "floatplacement.h" @@ -31,7 +35,7 @@ using std::string; // FIXME: set disabled doesn't work properly // should be fixed now (jspitzm) -FloatPlacement::FloatPlacement(QWidget * parent, char * /*name*/) +FloatPlacement::FloatPlacement(QWidget * parent) : QWidget(parent) { QHBoxLayout * toplayout = new QHBoxLayout(this, 11, 6); diff --git a/src/frontends/qt4/floatplacement.h b/src/frontends/qt4/floatplacement.h index e61529e1bb..473397d0f8 100644 --- a/src/frontends/qt4/floatplacement.h +++ b/src/frontends/qt4/floatplacement.h @@ -14,7 +14,6 @@ #define QT_FLOATPLACEMENT_H #include -//#include #include @@ -26,8 +25,7 @@ class FloatPlacement : public QWidget { Q_OBJECT public: - FloatPlacement(QWidget * parent=0, char * name=""); - + FloatPlacement(QWidget * parent=0); void useWide(); void useSideways();