NepomukDaemons
folderconnection.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _NEPOMUK_VIRTUAL_FOLDER_CONNECTION_H_
00020 #define _NEPOMUK_VIRTUAL_FOLDER_CONNECTION_H_
00021
00022 #include <QtCore/QObject>
00023
00024 class QUrl;
00025
00026 namespace Nepomuk {
00027 namespace Search {
00028
00029 class Result;
00030 class ResultIterator;
00031 class Folder;
00032
00033 class FolderConnection : public QObject
00034 {
00035 Q_OBJECT
00036
00037 public:
00038 FolderConnection( Folder* parentFolder );
00039 ~FolderConnection();
00040
00041 public Q_SLOTS:
00042 void list();
00043 void close();
00044
00045 Q_SIGNALS:
00046 void newEntries( const QList<Nepomuk::Search::Result>& );
00047 void entriesRemoved( const QStringList& );
00048 void finishedListing();
00049
00050 private Q_SLOTS:
00051 void slotEntriesRemoved( QList<QUrl> entries );
00052
00053 private:
00054 Folder* m_folder;
00055 };
00056 }
00057 }
00058
00059 #endif