summaryrefslogtreecommitdiffstats
path: root/src/kbfxspinxpopup.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 22:07:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 22:07:15 +0000
commit421b60af92c83b889f8903c2898f2bd07186fcd8 (patch)
treead873a24c9438baed4942fda795430a4c3dc9a9a /src/kbfxspinxpopup.h
parent39e896bddf25bf34cbf8be814d959181e2c1d1dd (diff)
downloadkbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.tar.gz
kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.zip
TQt4 port kbfx
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1230544 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kbfxspinxpopup.h')
-rw-r--r--src/kbfxspinxpopup.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/kbfxspinxpopup.h b/src/kbfxspinxpopup.h
index 882d665..821d829 100644
--- a/src/kbfxspinxpopup.h
+++ b/src/kbfxspinxpopup.h
@@ -33,7 +33,7 @@
#ifndef KBFX_SPINX_POP_UP_H
#define KBFX_SPINX_POP_UP_H
-#include <qpopupmenu.h>
+#include <tqpopupmenu.h>
#include "kbfxspinxmenu.h"
@@ -41,16 +41,17 @@
/**
@author Siraj Razick <sirajr@gmail.com>
*/
-class KbfxSpinxPopUp : public QPopupMenu
+class KbfxSpinxPopUp : public TQPopupMenu
{
Q_OBJECT
+ TQ_OBJECT
public:
- KbfxSpinxPopUp ( QWidget * parent = 0, const char * name = 0 ) ;
+ KbfxSpinxPopUp ( TQWidget * tqparent = 0, const char * name = 0 ) ;
~KbfxSpinxPopUp();
- virtual void keyPressEvent ( QKeyEvent * ke );
- void addItem ( QWidget * item,int index );
+ virtual void keyPressEvent ( TQKeyEvent * ke );
+ void addItem ( TQWidget * item,int index );
private:
KbfxSpinxMenuWidget * m_mainItem;
};