]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/floatplacement.C
get rid of QT3_SUPPORT and some cleanup
[lyx.git] / src / frontends / qt4 / floatplacement.C
index f09bee192e5cbea616cca0ca58aa54e9a4a356d4..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);
@@ -104,7 +108,8 @@ void FloatPlacement::useSideways()
 
 void FloatPlacement::changedSlot()
 {
-       emit changed();
+       // emit signal
+       changed();
 }
 
 
@@ -277,3 +282,5 @@ void FloatPlacement::checkAllowed()
                heredefinitelyCB->setEnabled(!defaults);
        }
 }
+
+#include "floatplacement_moc.cpp"