-rw-r--r-- | library/finddialog.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/finddialog.cpp b/library/finddialog.cpp index ddf41a7..64487c9 100644 --- a/library/finddialog.cpp +++ b/library/finddialog.cpp | |||
@@ -5,49 +5,48 @@ | |||
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | // WARNING: Do *NOT* define this yourself. The SL5xxx from SHARP does NOT | 21 | // WARNING: Do *NOT* define this yourself. The SL5xxx from SHARP does NOT |
22 | // have this class. | 22 | // have this class. |
23 | #define QTOPIA_INTERNAL_FD | 23 | #define QTOPIA_INTERNAL_FD |
24 | 24 | ||
25 | #include "finddialog.h" | 25 | #include "finddialog.h" |
26 | #include "findwidget_p.h" | 26 | #include "findwidget_p.h" |
27 | 27 | ||
28 | #include <qlayout.h> | 28 | #include <qlayout.h> |
29 | #include <qpushbutton.h> | ||
30 | 29 | ||
31 | /*! | 30 | /*! |
32 | \class FindDialog finddialog.h | 31 | \class FindDialog finddialog.h |
33 | \brief A simple FindDialog | 32 | \brief A simple FindDialog |
34 | 33 | ||
35 | A find dialog. FIXME!!!! | 34 | A find dialog. FIXME!!!! |
36 | 35 | ||
37 | */ | 36 | */ |
38 | FindDialog::FindDialog( const QString &appName, QWidget *parent, | 37 | FindDialog::FindDialog( const QString &appName, QWidget *parent, |
39 | const char *name, bool modal ) | 38 | const char *name, bool modal ) |
40 | : QDialog( parent, name, modal ) | 39 | : QDialog( parent, name, modal ) |
41 | { | 40 | { |
42 | setCaption( tr("Find") ); | 41 | setCaption( tr("Find") ); |
43 | QVBoxLayout *vb; | 42 | QVBoxLayout *vb; |
44 | vb = new QVBoxLayout( this ); | 43 | vb = new QVBoxLayout( this ); |
45 | fw = new FindWidget( appName, this, "Find Widget" ); | 44 | fw = new FindWidget( appName, this, "Find Widget" ); |
46 | vb->addWidget( fw ); | 45 | vb->addWidget( fw ); |
47 | QObject::connect( fw, SIGNAL(signalFindClicked(const QString&, | 46 | QObject::connect( fw, SIGNAL(signalFindClicked(const QString&, |
48 | bool,bool,int)), | 47 | bool,bool,int)), |
49 | this, SIGNAL(signalFindClicked(const QString&, | 48 | this, SIGNAL(signalFindClicked(const QString&, |
50 | bool,bool,int)) ); | 49 | bool,bool,int)) ); |
51 | QObject::connect( fw, SIGNAL(signalFindClicked(const QString&,const QDate&, | 50 | QObject::connect( fw, SIGNAL(signalFindClicked(const QString&,const QDate&, |
52 | bool,bool,int)), | 51 | bool,bool,int)), |
53 | this, SIGNAL(signalFindClicked(const QString&, | 52 | this, SIGNAL(signalFindClicked(const QString&, |