summaryrefslogtreecommitdiffstats
path: root/src/kprocessorview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 20:31:54 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 20:31:54 +0000
commit8f1624dd9a394be19ccf9d63e4de0a0558831ca3 (patch)
tree21ca6a6c0f51a294752e693bb883120ababb6062 /src/kprocessorview.h
parentff1242765ed5cce09ca185f874de5b05b08e109f (diff)
downloadkpicosim-8f1624dd9a394be19ccf9d63e4de0a0558831ca3.tar.gz
kpicosim-8f1624dd9a394be19ccf9d63e4de0a0558831ca3.zip
TQt4 port kpicosim
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpicosim@1238884 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kprocessorview.h')
-rwxr-xr-xsrc/kprocessorview.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/kprocessorview.h b/src/kprocessorview.h
index ae4b6fc..ae21e3d 100755
--- a/src/kprocessorview.h
+++ b/src/kprocessorview.h
@@ -4,22 +4,23 @@
#include <ktoolbar.h>
#include <knuminput.h>
-#include <qcheckbox.h>
+#include <tqcheckbox.h>
#include <klistview.h>
class MyListView : public KListView
{
Q_OBJECT
+ TQ_OBJECT
public:
- MyListView(QWidget *parent) ;
+ MyListView(TQWidget *tqparent) ;
~MyListView() ;
protected:
-// virtual void mousePressEvent( QMouseEvent *event ) ;
+// virtual void mousePressEvent( TQMouseEvent *event ) ;
public slots:
- void slotContextMenu( KListView *, QListViewItem *, const QPoint & ) ;
+ void slotContextMenu( KListView *, TQListViewItem *, const TQPoint & ) ;
signals:
void showPopupMenu() ;
@@ -29,8 +30,9 @@ class MyListView : public KListView
class KProcessorView : public KToolBar
{
Q_OBJECT
+ TQ_OBJECT
public:
- KProcessorView(QWidget *parent = 0, const char *name = 0);
+ KProcessorView(TQWidget *tqparent = 0, const char *name = 0);
~KProcessorView();
void setRegisterValues( unsigned char *values ) ;
@@ -40,7 +42,7 @@ class KProcessorView : public KToolBar
unsigned char getFlags() ;
public slots:
- void slotItemRenamed( QListViewItem * item ) ;
+ void slotItemRenamed( TQListViewItem * item ) ;
void slotHexMode() ;
void showPopupMenu() ;
@@ -49,12 +51,12 @@ class KProcessorView : public KToolBar
void processorFlagsChanged() ;
private:
- virtual void resizeEvent( QResizeEvent *event ) ;
+ virtual void resizeEvent( TQResizeEvent *event ) ;
protected:
MyListView *view ;
- QListViewItem * regs[ 16 ] ;
- QListViewItem * zeroFlag, * carryFlag, * ieFlag ;
+ TQListViewItem * regs[ 16 ] ;
+ TQListViewItem * zeroFlag, * carryFlag, * ieFlag ;
bool m_bHexMode ;
};