|
a/src/qtgui/confgui/main.cpp |
|
b/src/qtgui/confgui/main.cpp |
|
... |
|
... |
24 |
|
24 |
|
25 |
#include <unistd.h>
|
25 |
#include <unistd.h>
|
26 |
|
26 |
|
27 |
#include <qglobal.h>
|
27 |
#include <qglobal.h>
|
28 |
#include <qobject.h>
|
28 |
#include <qobject.h>
|
29 |
|
|
|
30 |
#if QT_VERSION < 0x040000
|
|
|
31 |
#define QFRAME_INCLUDE <qframe.h>
|
|
|
32 |
#define QFILEDIALOG_INCLUDE <qfiledialog.h>
|
|
|
33 |
#define QLISTBOX_INCLUDE <qlistbox.h>
|
|
|
34 |
#include <qtabdialog.h>
|
|
|
35 |
#define QFILEDIALOG QFileDialog
|
|
|
36 |
#define QFRAME QFrame
|
|
|
37 |
#define QHBOXLAYOUT QHBoxLayout
|
|
|
38 |
#define QLISTBOX QListBox
|
|
|
39 |
#define QLISTBOXITEM QListBoxItem
|
|
|
40 |
#define QVBOXLAYOUT QVBoxLayout
|
|
|
41 |
#define QTABDIALOG QTabDialog
|
|
|
42 |
|
|
|
43 |
#else // Qt4 ->
|
|
|
44 |
|
|
|
45 |
#include <Q3HBoxLayout>
|
|
|
46 |
#include <Q3VBoxLayout>
|
|
|
47 |
#include <Q3TabDialog>
|
|
|
48 |
#include <QFrame>
|
29 |
#include <QFrame>
|
49 |
#define QFRAME_INCLUDE <q3frame.h>
|
|
|
50 |
|
|
|
51 |
#include <QFileDialog>
|
|
|
52 |
#define QFILEDIALOG_INCLUDE <q3filedialog.h>
|
|
|
53 |
#define QLISTBOX_INCLUDE <q3listbox.h>
|
|
|
54 |
|
|
|
55 |
#define QFILEDIALOG Q3FileDialog
|
|
|
56 |
#define QFRAME Q3Frame
|
|
|
57 |
#define QHBOXLAYOUT Q3HBoxLayout
|
|
|
58 |
#define QLISTBOX Q3ListBox
|
|
|
59 |
#define QLISTBOXITEM Q3ListBoxItem
|
|
|
60 |
#define QVBOXLAYOUT Q3VBoxLayout
|
|
|
61 |
#define QTABDIALOG Q3TabDialog
|
|
|
62 |
#endif // QT 3/4
|
|
|
63 |
|
|
|
64 |
#include <qobject.h>
|
30 |
#include <qobject.h>
|
65 |
#include <qapplication.h>
|
31 |
#include <qapplication.h>
|
66 |
#include <qtranslator.h>
|
32 |
#include <qtranslator.h>
|
67 |
#include <qtextcodec.h>
|
33 |
#include <qtextcodec.h>
|
68 |
#include <qthread.h>
|
34 |
#include <qthread.h>
|
69 |
#include <qtimer.h>
|
35 |
#include <qtimer.h>
|
70 |
#include <qlayout.h>
|
36 |
#include <qlayout.h>
|
71 |
#include QFRAME_INCLUDE
|
|
|
72 |
#include <qwidget.h>
|
37 |
#include <qwidget.h>
|
73 |
#include <qlabel.h>
|
38 |
#include <qlabel.h>
|
74 |
|
39 |
|
75 |
#include "pathut.h"
|
40 |
#include "pathut.h"
|
76 |
#include "confguiindex.h"
|
41 |
#include "confguiindex.h"
|