NepomukDaemons
nepomukserverkcm.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_SERVER_KCM_H_
00020 #define _NEPOMUK_SERVER_KCM_H_
00021
00022 #include <KCModule>
00023 #include "ui_nepomukconfigwidget.h"
00024 #include "nepomukserverinterface.h"
00025 #include "strigiserviceinterface.h"
00026
00027 class FolderSelectionModel;
00028
00029 namespace Nepomuk {
00030 class ServerConfigModule : public KCModule, private Ui::NepomukConfigWidget
00031 {
00032 Q_OBJECT
00033
00034 public:
00035 ServerConfigModule( QWidget* parent, const QVariantList& args );
00036 ~ServerConfigModule();
00037
00038 public Q_SLOTS:
00039 void load();
00040 void save();
00041 void defaults();
00042
00043 private Q_SLOTS:
00044 void slotUpdateStrigiStatus();
00045 void recreateStrigiInterface();
00046
00047 private:
00048 org::kde::NepomukServer m_serverInterface;
00049 org::kde::nepomuk::Strigi* m_strigiInterface;
00050
00051 FolderSelectionModel* m_folderModel;
00052 };
00053 }
00054
00055 #endif