Changeset View
Changeset View
Standalone View
Standalone View
components/Global.h
Show All 35 Lines | |||||
36 | */ | 36 | */ | ||
37 | 37 | | |||
38 | class Global : public QObject | 38 | class Global : public QObject | ||
39 | { | 39 | { | ||
40 | Q_OBJECT | 40 | Q_OBJECT | ||
41 | public: | 41 | public: | ||
42 | explicit Global(QObject* parent = 0); | 42 | explicit Global(QObject* parent = 0); | ||
43 | 43 | | |||
44 | static Q_INVOKABLE void loadPlugins(); | | |||
45 | static Q_INVOKABLE int documentType(const QUrl& document); | 44 | static Q_INVOKABLE int documentType(const QUrl& document); | ||
46 | }; | 45 | }; | ||
47 | 46 | | |||
48 | } // Namespace Components | 47 | } // Namespace Components | ||
49 | } // Namespace Calligra | 48 | } // Namespace Calligra | ||
50 | 49 | | |||
51 | #endif // CALLIGRA_COMPONENTS_GLOBAL_H | 50 | #endif // CALLIGRA_COMPONENTS_GLOBAL_H |