summaryrefslogtreecommitdiffstats
path: root/src/kiconcanvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kiconcanvas.h')
-rw-r--r--src/kiconcanvas.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/src/kiconcanvas.h b/src/kiconcanvas.h
index fe8f58a..81c9572 100644
--- a/src/kiconcanvas.h
+++ b/src/kiconcanvas.h
@@ -16,14 +16,14 @@
#ifndef _KICONCANVAS_H_
#define _KICONCANVAS_H_
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
#include <kiconview.h>
-class QTimer;
+class TQTimer;
class KIconLoader;
-class QDragObject;
-class QIconLoader;
+class TQDragObject;
+class TQIconLoader;
/**
* Icon canvas for KIconDialog.
@@ -32,20 +32,21 @@ class KIO_EXPORT KIconCanvas: public KIconView
/* NOTE: Why export this? */
{
Q_OBJECT
+ TQ_OBJECT
public:
- KIconCanvas(QWidget *parent=0L, const char *name=0L);
+ KIconCanvas(TQWidget *tqparent=0L, const char *name=0L);
~KIconCanvas();
/**
* Load icons into the canvas.
*/
- void loadFiles(const QStringList& files);
+ void loadFiles(const TQStringList& files);
/**
* Returns the current icon.
*/
- QString getCurrent() const;
+ TQString getCurrent() const;
void setIconLoader(KIconLoader *loader);
@@ -60,8 +61,8 @@ signals:
/**
* Emitted when the current icon has changed.
*/
- void nameChanged(QString);
- /* KDE 4: Make it const QString */
+ void nameChanged(TQString);
+ /* KDE 4: Make it const TQString */
void startLoading(int);
void progress(int);
@@ -69,17 +70,17 @@ signals:
private slots:
void slotLoadFiles();
- void slotCurrentChanged(QIconViewItem *item);
+ void slotCurrentChanged(TQIconViewItem *item);
private:
- QStringList mFiles;
- QTimer *mpTimer;
+ TQStringList mFiles;
+ TQTimer *mpTimer;
KIconLoader *mpLoader;
protected:
virtual void virtual_hook( int id, void* data );
- virtual QDragObject *dragObject();
- void loadIcon(const QString &path);
+ virtual TQDragObject *dragObject();
+ void loadIcon(const TQString &path);
private:
class KIconCanvasPrivate;