summaryrefslogtreecommitdiffstats
path: root/src/kbfxplasmaindexview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kbfxplasmaindexview.h')
-rw-r--r--src/kbfxplasmaindexview.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/src/kbfxplasmaindexview.h b/src/kbfxplasmaindexview.h
index ebda368..59e44bf 100644
--- a/src/kbfxplasmaindexview.h
+++ b/src/kbfxplasmaindexview.h
@@ -22,7 +22,7 @@
#ifndef KBFX_PLASMA_INDEX_VIEW_H
#define KBFX_PLASMA_INDEX_VIEW_H
-#include <qcanvas.h>
+#include <tqcanvas.h>
#include <kdebug.h>
#include <kpopupmenu.h>
@@ -39,36 +39,37 @@
-class KbfxPlasmaIndexView : public QCanvasView
+class KbfxPlasmaIndexView : public TQCanvasView
{
Q_OBJECT
+ TQ_OBJECT
public:
- KbfxPlasmaIndexView ( QWidget * parent = 0, const char * name = 0, WFlags l = 0 );
+ KbfxPlasmaIndexView ( TQWidget * tqparent = 0, const char * name = 0, WFlags l = 0 );
virtual ~KbfxPlasmaIndexView();
void loadList ( KbfxDataStack * stkPtr );
int count() { return m_itemGroup->count() ; }
void setView ( KbfxPlasmaCanvasView * view );
- virtual void contentsMouseMoveEvent ( QMouseEvent * e );
- virtual void contentsMousePressEvent ( QMouseEvent * me );
- virtual void contentsContextMenuEvent ( QContextMenuEvent * e ) ;
- virtual void mouseMoveEvent ( QMouseEvent * e );
- virtual void leaveEvent ( QEvent * e );
- void setKbfxCanvas ( QCanvas * cnv );
+ virtual void contentsMouseMoveEvent ( TQMouseEvent * e );
+ virtual void contentsMousePressEvent ( TQMouseEvent * me );
+ virtual void contentsContextMenuEvent ( TQContextMenuEvent * e ) ;
+ virtual void mouseMoveEvent ( TQMouseEvent * e );
+ virtual void leaveEvent ( TQEvent * e );
+ void setKbfxCanvas ( TQCanvas * cnv );
void clearAll();
public slots:
void slotClicked ( KbfxPlasmaIndexItem * );
void contextMenuSlot ( int id );
- void loadPlugin ( QString name,KbfxPlasmaCanvasView * );
+ void loadPlugin ( TQString name,KbfxPlasmaCanvasView * );
void checkMousePos();
void clearSelection();
signals:
void loadRequest ( KbfxSignal signal );
- void pluginRequest ( QString pluginName,KbfxPlasmaCanvasView * );
+ void pluginRequest ( TQString pluginName,KbfxPlasmaCanvasView * );
void clicked ( KbfxPlasmaIndexItem * item );
void expand();
void clearSelected();
@@ -83,12 +84,12 @@ class KbfxPlasmaIndexView : public QCanvasView
KbfxPlasmaCanvasStack * m_itemStack;
KbfxPlasmaIndexItem * m_currentItem;
KbfxPlasmaIndexItem * m_selectedItem;
- QStringList m_pluginList;
- QStringList m_pluginLoaded;
+ TQStringList m_pluginList;
+ TQStringList m_pluginLoaded;
KPopupMenu * m_pluginMenu;
KbfxPlasmaCanvasView * m_currentView;
- QPoint m_currentPos;
- QTimer * m_mousePollTimer;
+ TQPoint m_currentPos;
+ TQTimer * m_mousePollTimer;
};
#endif