Changeset View
Changeset View
Standalone View
Standalone View
libs/libkis/Krita.h
Show First 20 Lines • Show All 321 Lines • ▼ Show 20 Line(s) | 234 | @endcode | |||
---|---|---|---|---|---|
322 | /** | 322 | /** | ||
323 | * @brief instance retrieve the singleton instance of the Application object. | 323 | * @brief instance retrieve the singleton instance of the Application object. | ||
324 | */ | 324 | */ | ||
325 | static Krita* instance(); | 325 | static Krita* instance(); | ||
326 | 326 | | |||
327 | // Internal only: for use with mikro.py | 327 | // Internal only: for use with mikro.py | ||
328 | static QObject *fromVariant(const QVariant& v); | 328 | static QObject *fromVariant(const QVariant& v); | ||
329 | 329 | | |||
330 | static QString krita_i18n(const QString &text); | ||||
331 | | ||||
330 | private Q_SLOTS: | 332 | private Q_SLOTS: | ||
331 | 333 | | |||
332 | void mainWindowAdded(KisMainWindow *window); | 334 | void mainWindowAdded(KisMainWindow *window); | ||
333 | 335 | | |||
334 | private: | 336 | private: | ||
335 | struct Private; | 337 | struct Private; | ||
336 | Private *const d; | 338 | Private *const d; | ||
337 | static Krita* s_instance; | 339 | static Krita* s_instance; | ||
338 | 340 | | |||
339 | }; | 341 | }; | ||
340 | 342 | | |||
341 | Q_DECLARE_METATYPE(Notifier*); | 343 | Q_DECLARE_METATYPE(Notifier*); | ||
342 | 344 | | |||
343 | #endif // LIBKIS_KRITA_H | 345 | #endif // LIBKIS_KRITA_H |