add more spacing
[personal-kdebase.git] / runtime / nepomuk / services / queryservice / folderconnection.h
blob05e2fb97b0afbe2ee36ee449a80e759f62842cd9
1 /*
2 Copyright (c) 2008 Sebastian Trueg <trueg@kde.org>
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License version 2 as published by the Free Software Foundation.
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Library General Public License for more details.
13 You should have received a copy of the GNU Library General Public License
14 along with this library; see the file COPYING.LIB. If not, write to
15 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 Boston, MA 02110-1301, USA.
19 #ifndef _NEPOMUK_VIRTUAL_FOLDER_CONNECTION_H_
20 #define _NEPOMUK_VIRTUAL_FOLDER_CONNECTION_H_
22 #include <QtCore/QObject>
24 class QUrl;
26 namespace Nepomuk {
27 namespace Search {
29 class Result;
30 class ResultIterator;
31 class Folder;
33 class FolderConnection : public QObject
35 Q_OBJECT
37 public:
38 FolderConnection( Folder* parentFolder );
39 ~FolderConnection();
41 public Q_SLOTS:
42 void list();
43 void close();
45 Q_SIGNALS:
46 void newEntries( const QList<Nepomuk::Search::Result>& );
47 void entriesRemoved( const QStringList& );
48 void finishedListing();
50 private Q_SLOTS:
51 void slotEntriesRemoved( QList<QUrl> entries );
53 private:
54 Folder* m_folder;
59 #endif