1.1 --- a/findwindow.h Tue Sep 05 09:47:13 2006 +0000
1.2 +++ b/findwindow.h Fri Feb 01 16:59:09 2008 +0000
1.3 @@ -1,33 +1,34 @@
1.4 #ifndef FINDWINDOW_H
1.5 #define FINDWINDOW_H
1.6
1.7 -#include <q3mainwindow.h>
1.8 -#include <qcombobox.h>
1.9 -#include <qpushbutton.h>
1.10 -#include <q3groupbox.h>
1.11 -#include <qlayout.h>
1.12 -#include <qlabel.h>
1.13 +#include <QMainWindow>
1.14 +#include <QComboBox>
1.15 +#include <QPushButton>
1.16 +#include <QGroupBox>
1.17 +#include <QLayout>
1.18 +#include <QLabel>
1.19
1.20
1.21 -class FindWindow : public Q3GroupBox
1.22 +class FindWindow : public QGroupBox
1.23 {
1.24 Q_OBJECT
1.25
1.26 public:
1.27 - FindWindow (QWidget* parent=0, const char* namme=0);
1.28 + FindWindow (QWidget* parent=0);
1.29
1.30 public slots:
1.31 void popup();
1.32 void cancelPressed();
1.33 void findPressed();
1.34 void findTextChanged(const QString&);
1.35 + void clearLineEdit();
1.36
1.37 signals:
1.38 void findButton(QString); // emit to mainwindow
1.39 void somethingChanged(); // emit to mainwindow
1.40
1.41 private:
1.42 - Q3GroupBox *findbox;
1.43 + QGroupBox *findbox;
1.44 QComboBox *findcombo;
1.45 QPushButton *clearbutton;
1.46 QPushButton *findbutton;