KTextEditor
configinterface.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
00020 #ifndef KDELIBS_KTEXTEDITOR_CONFIGINTERFACE_H
00021 #define KDELIBS_KTEXTEDITOR_CONFIGINTERFACE_H
00022
00023 #include <ktexteditor/ktexteditor_export.h>
00024 #include <QtCore/QStringList>
00025 #include <QtCore/QVariant>
00026
00027 namespace KTextEditor
00028 {
00029
00030
00031
00081 class KTEXTEDITOR_EXPORT ConfigInterface
00082 {
00083 public:
00084 ConfigInterface ();
00085
00089 virtual ~ConfigInterface ();
00090
00091 public:
00095 virtual QStringList configKeys() const = 0;
00099 virtual QVariant configValue(const QString &key) = 0;
00103 virtual void setConfigValue(const QString &key, const QVariant &value) = 0;
00104
00105 private:
00106 class ConfigInterfacePrivate* const d;
00107 };
00108
00109 }
00110
00111 Q_DECLARE_INTERFACE(KTextEditor::ConfigInterface, "org.kde.KTextEditor.ConfigInterface")
00112
00113 #endif
00114
00115