2 ** Copyright (C) 1999,2000 Toivo Pedaste <toivo@ucs.uwa.edu.au>
7 ** This program is free software; you can redistribute it and/or modify
8 ** it under the terms of the GNU General Public License as published by
9 ** the Free Software Foundation; either version 2 of the License, or
10 ** (at your option) any later version.
12 ** This program is distributed in the hope that it will be useful,
13 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ** GNU General Public License for more details.
17 ** You should have received a copy of the GNU General Public License
18 ** along with this program in a file called COPYING; if not, write to
19 ** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20 ** MA 02110-1301, USA.
24 ** Bug reports and questions can be sent to kde-devel@kde.org
34 #include <QtCore/QDir>
35 #include <QtGui/QWidget>
36 #include <QtGui/QLabel>
37 #include <Qt3Support/Q3FileDialog>
38 #include <Qt3Support/Q3GroupBox>
39 #include <QtGui/QCheckBox>
40 #include <QtGui/QLayout>
42 #include <QtGui/QDragEnterEvent>
43 #include <QtGui/QPixmap>
44 #include <QtGui/QVBoxLayout>
45 #include <QtGui/QHBoxLayout>
46 #include <QtGui/QResizeEvent>
47 #include <QtGui/QDropEvent>
48 #include <QtGui/QPushButton>
52 #include <k3listview.h>
55 class FindF
: public KDialog
61 FindF ( QWidget
*parent
= 0);
63 void resizeEvent(QResizeEvent
*);
64 void dropEvent(QDropEvent
*);
65 void dragEnterEvent(QDragEnterEvent
* e
);
66 void disableSearchAll();
70 void doFind(const QString
&str
);
71 // Do the actual search
76 QVBoxLayout
* vtop
, vf
;
80 QPushButton
*updateFiles
;
85 void findf_done_signal();
90 void search(Q3ListViewItem
*);
91 void textChanged ( const QString
& text
);