/usr/include/ibus-qt/qibusenginefactory.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 | #ifndef __Q_IBUS_FACTORY_ADAPTOR_H_
#define __Q_IBUS_FACTORY_ADAPTOR_H_
#include <QLinkedList>
#include <QDBusConnection>
#include <QDBusObjectPath>
#include "qibusobject.h"
class IBusFactoryAdaptor;
namespace IBus {
class Engine;
typedef Pointer<Engine> EnginePointer;
class EngineFactory : public Object
{
Q_OBJECT;
private :
Q_INVOKABLE EngineFactory (const QDBusConnection &conn, uint id = 0);
~EngineFactory ();
public:
void addMetaObject (const QString &name, const QMetaObject *metaObject);
static EngineFactory *getEngineFactory (const QDBusConnection &conn);
protected:
virtual QString createEngine (const QString &name);
private Q_SLOTS:
Q_INVOKABLE QDBusObjectPath CreateEngine (const QString &name);
Q_INVOKABLE void Destroy ();
private :
uint m_id;
QDBusConnection m_conn;
QMap<QString, const QMetaObject *> m_engineMap;
QLinkedList<EnginePointer> m_engineLList;
IBusFactoryAdaptor *m_factoryAdaptor;
static EngineFactory *m_factory;
};
};
#endif
|