/usr/include/ibus-qt/qibusconfigservice.h is in libibus-qt-dev 1.3.2-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | #ifndef __Q_IBUS_CONFIG_H_
#define __Q_IBUS_CONFIG_H_
#include <QDBusConnection>
#include <QDBusVariant>
#include "qibusobject.h"
class IBusConfigAdaptor;
namespace IBus {
class ConfigService;
typedef Pointer<ConfigService> ConfigServicePointer;
class ConfigService : public QObject
{
Q_OBJECT
public :
ConfigService (const QDBusConnection &conn);
virtual ~ConfigService ();
private :
// developpers need to implement following functions
virtual const QDBusVariant getValue (const QString §ion, const QString &name)
{
QDBusVariant variant;
return variant;
}
virtual void setValue (const QString §ion, const QString &name, const QDBusVariant &value) {}
virtual void unset (const QString §ion, const QString &name) {}
virtual void destroy (void) {}
public :
Q_INVOKABLE const QDBusVariant GetValue (const QString §ion, const QString &name);
Q_INVOKABLE void SetValue (const QString §ion, const QString &name, const QDBusVariant &value);
Q_INVOKABLE void Unset (const QString §ion, const QString &name);
Q_INVOKABLE void Destroy (void);
private :
QDBusConnection m_conn;
IBusConfigAdaptor *m_config;
};
};
#endif
|