summaryrefslogtreecommitdiffstats
path: root/src/kiconcanvas.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
commitaa0726b20f398264f0a2abc60215be044b106f9c (patch)
tree070fdbc19a1106cfdd7f651a8ce76bb1b89a513d /src/kiconcanvas.h
parentd3cf5b3e75aadc3b02d0b56f030d4c3f8c2c749d (diff)
downloadbasket-aa0726b20f398264f0a2abc60215be044b106f9c.tar.gz
basket-aa0726b20f398264f0a2abc60215be044b106f9c.zip
TQt4 port basket
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1232416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;