diff options
Diffstat (limited to 'krita/ui/kis_resourceserver.h')
-rw-r--r-- | krita/ui/kis_resourceserver.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/krita/ui/kis_resourceserver.h b/krita/ui/kis_resourceserver.h index aa15f72e..ab3de04e 100644 --- a/krita/ui/kis_resourceserver.h +++ b/krita/ui/kis_resourceserver.h @@ -22,34 +22,35 @@ #ifndef KIS_RESOURCESERVER_H_ #define KIS_RESOURCESERVER_H_ -#include <qstring.h> -#include <qstringlist.h> +#include <tqstring.h> +#include <tqstringlist.h> #include "kis_generic_registry.h" class KisResource; -class KisResourceServerBase : public QObject { +class KisResourceServerBase : public TQObject { Q_OBJECT + TQ_OBJECT public: - KisResourceServerBase(QString type); + KisResourceServerBase(TQString type); virtual ~KisResourceServerBase(); - void loadResources(QStringList filenames); + void loadResources(TQStringList filenames); /// Adds an already loaded resource to the server void addResource(KisResource* resource); - QValueList<KisResource*> resources(); - QString type() { return m_type; }; + TQValueList<KisResource*> resources(); + TQString type() { return m_type; }; signals: void resourceAdded(KisResource*); protected: - virtual KisResource* createResource( QString filename ) = 0; + virtual KisResource* createResource( TQString filename ) = 0; private: - QValueList<KisResource*> m_resources; - QString m_type; + TQValueList<KisResource*> m_resources; + TQString m_type; bool m_loaded; @@ -60,11 +61,11 @@ template <class T> class KisResourceServer : public KisResourceServerBase { typedef KisResourceServerBase super; public: - KisResourceServer(QString type) :super( type ) {} + KisResourceServer(TQString type) :super( type ) {} virtual ~KisResourceServer(){} private: - KisResource* createResource( QString filename ){return new T(filename);} + KisResource* createResource( TQString filename ){return new T(filename);} }; |