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
This commit is contained in:
Abdelrazak Younes 2006-08-17 08:46:00 +00:00
parent 64317e45cd
commit 8762a5cab8
2 changed files with 6 additions and 4 deletions

View File

@ -9,6 +9,10 @@
* Full author contact details are available in file CREDITS. * Full author contact details are available in file CREDITS.
*/ */
#ifndef QT3_SUPPORT
#define QT3_SUPPORT
#endif
#include <config.h> #include <config.h>
#include "floatplacement.h" #include "floatplacement.h"
@ -31,7 +35,7 @@ using std::string;
// FIXME: set disabled doesn't work properly // FIXME: set disabled doesn't work properly
// should be fixed now (jspitzm) // should be fixed now (jspitzm)
FloatPlacement::FloatPlacement(QWidget * parent, char * /*name*/) FloatPlacement::FloatPlacement(QWidget * parent)
: QWidget(parent) : QWidget(parent)
{ {
QHBoxLayout * toplayout = new QHBoxLayout(this, 11, 6); QHBoxLayout * toplayout = new QHBoxLayout(this, 11, 6);

View File

@ -14,7 +14,6 @@
#define QT_FLOATPLACEMENT_H #define QT_FLOATPLACEMENT_H
#include <QWidget> #include <QWidget>
//#include <QVBoxLayout>
#include <string> #include <string>
@ -26,8 +25,7 @@ class FloatPlacement : public QWidget {
Q_OBJECT Q_OBJECT
public: public:
FloatPlacement(QWidget * parent=0, char * name=""); FloatPlacement(QWidget * parent=0);
void useWide(); void useWide();
void useSideways(); void useSideways();