]> git.lyx.org Git - lyx.git/commitdiff
get rid of QT3_SUPPORT and some cleanup
authorAbdelrazak Younes <younes@lyx.org>
Thu, 17 Aug 2006 08:46:00 +0000 (08:46 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 17 Aug 2006 08:46:00 +0000 (08:46 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14724 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/floatplacement.C
src/frontends/qt4/floatplacement.h

index 9b14d6aba86ba138290b0b687505f1b271a592d2..f7b1b34b2596747fb70646a5068cd9e428bbae74 100644 (file)
@@ -9,6 +9,10 @@
  * Full author contact details are available in file CREDITS.
  */
 
+#ifndef QT3_SUPPORT
+ #define QT3_SUPPORT
+#endif
+
 #include <config.h>
 
 #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);
index e61529e1bb6201ce718c2ae5a562ee4bdb0bce2f..473397d0f8989dd704e463068d361c98d45a7c75 100644 (file)
@@ -14,7 +14,6 @@
 #define QT_FLOATPLACEMENT_H
 
 #include <QWidget>
-//#include <QVBoxLayout>
 
 #include <string>
 
@@ -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();