summaryrefslogtreecommitdiffstats
path: root/kfind/kfind.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit4aed2c8219774f5d797760606b8489a92ddc5163 (patch)
tree3f8c130f7d269626bf6a9447407ef6c35954426a /kfind/kfind.h
downloadtdebase-4aed2c8219774f5d797760606b8489a92ddc5163.tar.gz
tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfind/kfind.h')
-rw-r--r--kfind/kfind.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/kfind/kfind.h b/kfind/kfind.h
new file mode 100644
index 000000000..9bc5d35e5
--- /dev/null
+++ b/kfind/kfind.h
@@ -0,0 +1,64 @@
+/***********************************************************************
+ *
+ * Kfind.h
+ *
+ ***********************************************************************/
+
+#ifndef KFIND_H
+#define KFIND_H
+
+#include <qwidget.h>
+#include <kfileitem.h>
+#include <kdirlister.h>
+
+class QString;
+class KPushButton;
+
+class KQuery;
+class KURL;
+class KfindTabWidget;
+
+class Kfind: public QWidget
+{
+ Q_OBJECT
+
+public:
+ Kfind(QWidget * parent = 0, const char * name = 0);
+ ~Kfind();
+
+ void setURL( const KURL &url );
+
+ void setQuery(KQuery * q) { query = q; }
+ void searchFinished();
+
+ void saveState( QDataStream *stream );
+ void restoreState( QDataStream *stream );
+
+public slots:
+ void startSearch();
+ void stopSearch();
+ //void newSearch();
+ void saveResults();
+
+signals:
+ void haveResults(bool);
+ void resultSelected(bool);
+
+ void started();
+ void destroyMe();
+
+private:
+ void setFocus();
+ KfindTabWidget *tabWidget;
+ KPushButton *mSearch;
+ KPushButton *mStop;
+ KPushButton *mSave;
+ KQuery *query;
+
+public:
+ KDirLister *dirlister;
+};
+
+#endif
+
+