diff options
Diffstat (limited to 'kivio/kiviopart/kivio_icon_view.h')
-rw-r--r-- | kivio/kiviopart/kivio_icon_view.h | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/kivio/kiviopart/kivio_icon_view.h b/kivio/kiviopart/kivio_icon_view.h index 00328991..fda327ef 100644 --- a/kivio/kiviopart/kivio_icon_view.h +++ b/kivio/kiviopart/kivio_icon_view.h @@ -19,36 +19,37 @@ #ifndef KIVIO_ICON_VIEW_H #define KIVIO_ICON_VIEW_H -#include <qdom.h> -#include <qiconview.h> -#include <qptrlist.h> -#include <qpainter.h> -#include <qpalette.h> -#include <qpixmap.h> -#include <qdragobject.h> +#include <tqdom.h> +#include <tqiconview.h> +#include <tqptrlist.h> +#include <tqpainter.h> +#include <tqpalette.h> +#include <tqpixmap.h> +#include <tqdragobject.h> class KivioStencilSpawnerSet; class KivioStencilSpawner; -class KivioIconView : public QIconView +class KivioIconView : public TQIconView { Q_OBJECT + TQ_OBJECT protected: KivioStencilSpawnerSet *m_pSpawnerSet; static KivioStencilSpawner *m_pCurDrag; - QDragObject *dragObject(); + TQDragObject *dragObject(); protected slots: - void slotDoubleClicked(QIconViewItem*); - void slotClicked(QIconViewItem* item); + void slotDoubleClicked(TQIconViewItem*); + void slotClicked(TQIconViewItem* item); signals: void createNewStencil(KivioStencilSpawner * ); void stencilSelected(KivioStencilSpawner*); public: - KivioIconView( bool _readWrite,QWidget *parent=0, const char *name=0 ); + KivioIconView( bool _readWrite,TQWidget *tqparent=0, const char *name=0 ); virtual ~KivioIconView(); static void clearCurrentDrag(); @@ -58,11 +59,11 @@ class KivioIconView : public QIconView KivioStencilSpawnerSet *spawnerSet() { return m_pSpawnerSet; } private: - static QPtrList<KivioIconView> objList; + static TQPtrList<KivioIconView> objList; bool isReadWrite; }; -class KivioIconViewItem : public QIconViewItem +class KivioIconViewItem : public TQIconViewItem { friend class KivioIconView; @@ -70,13 +71,13 @@ class KivioIconViewItem : public QIconViewItem KivioStencilSpawner *m_pSpawner; public: - KivioIconViewItem( QIconView *parent ); + KivioIconViewItem( TQIconView *tqparent ); virtual ~KivioIconViewItem(); void setStencilSpawner(KivioStencilSpawner*); KivioStencilSpawner *spawner() { return m_pSpawner; } - virtual bool acceptDrop( const QMimeSource *e ) const; + virtual bool acceptDrop( const TQMimeSource *e ) const; }; |