--- a/filemanager/src/filemanager/src/fmfindthread.h Tue Aug 24 10:24:14 2010 +0800
+++ b/filemanager/src/filemanager/src/fmfindthread.h Wed Sep 29 10:37:03 2010 +0800
@@ -33,14 +33,9 @@
explicit FmFindThread( QObject *parent = 0 );
~FmFindThread();
- QString findPath() const;
- void setFindPath( const QString &path );
-
- QRegExp pattern() const;
+ void setFindPathList( const QStringList &pathList );
void setPattern( const QRegExp ®Exp );
-
- void setLastResult( QStringList r );
-
+
void stop();
signals:
@@ -51,14 +46,13 @@
private:
void emitFound();
- void findInResult();
volatile bool mStop;
int count;
- QString mFindPath;
+ QStringList mFindPathList;
QTime time;
QRegExp findPattern;
- QStringList mLastResult;
+
// Used to store temp search result. if emit found, the result will be cleared.
QStringList tempResultList;
};