-rw-r--r-- | library/finddialog.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/finddialog.cpp b/library/finddialog.cpp index 904e952..d9f430a 100644 --- a/library/finddialog.cpp +++ b/library/finddialog.cpp | |||
@@ -1,12 +1,12 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2001 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of the Qtopia Environment. |
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. |
@@ -27,16 +27,17 @@ | |||
27 | 27 | ||
28 | #include <qlayout.h> | 28 | #include <qlayout.h> |
29 | #include <qpushbutton.h> | 29 | #include <qpushbutton.h> |
30 | 30 | ||
31 | FindDialog::FindDialog( const QString &appName, QWidget *parent, | 31 | FindDialog::FindDialog( const QString &appName, QWidget *parent, |
32 | const char *name, bool modal ) | 32 | const char *name, bool modal ) |
33 | : QDialog( parent, name, modal ) | 33 | : QDialog( parent, name, modal ) |
34 | { | 34 | { |
35 | setCaption( tr("Find") ); | ||
35 | QVBoxLayout *vb; | 36 | QVBoxLayout *vb; |
36 | vb = new QVBoxLayout( this ); | 37 | vb = new QVBoxLayout( this ); |
37 | fw = new FindWidget( appName, this, "Find Widget" ); | 38 | fw = new FindWidget( appName, this, "Find Widget" ); |
38 | vb->addWidget( fw ); | 39 | vb->addWidget( fw ); |
39 | QObject::connect( fw, SIGNAL(signalFindClicked(const QString&, | 40 | QObject::connect( fw, SIGNAL(signalFindClicked(const QString&, |
40 | bool,bool,int)), | 41 | bool,bool,int)), |
41 | this, SIGNAL(signalFindClicked(const QString&, | 42 | this, SIGNAL(signalFindClicked(const QString&, |
42 | bool,bool,int)) ); | 43 | bool,bool,int)) ); |