summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_resource_mediator.h
diff options
context:
space:
mode:
Diffstat (limited to 'krita/ui/kis_resource_mediator.h')
-rw-r--r--krita/ui/kis_resource_mediator.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/krita/ui/kis_resource_mediator.h b/krita/ui/kis_resource_mediator.h
index 55623a6e..b224d25c 100644
--- a/krita/ui/kis_resource_mediator.h
+++ b/krita/ui/kis_resource_mediator.h
@@ -18,9 +18,9 @@
#ifndef KIS_RESOURCE_MEDIATOR_H_
#define KIS_RESOURCE_MEDIATOR_H_
-#include <qobject.h>
-#include <qmap.h>
-#include <qwidget.h>
+#include <tqobject.h>
+#include <tqmap.h>
+#include <tqwidget.h>
class KoIconItem;
class KisItemChooser;
@@ -34,13 +34,14 @@ class KisResourceServerBase;
* For every view, a new resource mediator is created for every
* resource type.
*/
-class KisResourceMediator : public QObject {
+class KisResourceMediator : public TQObject {
Q_OBJECT
- typedef QObject super;
+ TQ_OBJECT
+ typedef TQObject super;
public:
KisResourceMediator(KisItemChooser *chooser,
- QObject *parent = 0,
+ TQObject *tqparent = 0,
const char *name = 0);
virtual ~KisResourceMediator();
@@ -50,7 +51,7 @@ public:
KisIconItem *itemFor(KisResource *r) const;
KisResource *resourceFor(KoIconItem *item) const;
KisResource *resourceFor(KisIconItem *item) const;
- QWidget *chooserWidget() const;
+ TQWidget *chooserWidget() const;
public slots:
@@ -64,7 +65,7 @@ private slots:
private:
KisItemChooser *m_chooser;
- QMap<KisResource*, KisIconItem*> m_items;
+ TQMap<KisResource*, KisIconItem*> m_items;
KoIconItem *m_activeItem;
};