SVN_SILENT made messages (.desktop file)
[kdeadmin.git] / kpackage / findf.h
blob91e2d8d026e1df0aa9673857b725e2cb62f60dfd
1 /*
2 ** Copyright (C) 1999,2000 Toivo Pedaste <toivo@ucs.uwa.edu.au>
3 **
4 */
6 /*
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
27 #ifndef FINDF_H
28 #define FINDF_H
30 // Standard Headers
31 #include <stdio.h>
33 // Qt Headers
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>
41 //Added by qt3to4:
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>
50 // KDE headers
51 #include <kmenubar.h>
52 #include <k3listview.h>
53 #include <kdialog.h>
55 class FindF : public KDialog
57 Q_OBJECT
59 public:
61 FindF ( QWidget *parent = 0);
62 ~FindF();
63 void resizeEvent(QResizeEvent *);
64 void dropEvent(QDropEvent *);
65 void dragEnterEvent(QDragEnterEvent* e);
66 void disableSearchAll();
69 private:
70 void doFind(const QString &str);
71 // Do the actual search
73 QLineEdit *value;
74 Q3ListView *tab;
75 QVBoxLayout* vl;
76 QVBoxLayout* vtop, vf;
78 QHBoxLayout* hb;
79 QCheckBox *searchAll;
80 QPushButton *updateFiles;
81 QPixmap tick;
83 signals:
84 void findf_signal();
85 void findf_done_signal();
87 public slots:
88 void done_slot();
89 void ok_slot();
90 void search(Q3ListViewItem *);
91 void textChanged ( const QString & text);
95 #endif