summaryrefslogtreecommitdiffstats
path: root/src/kpicosim.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/kpicosim.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/kpicosim.h')
-rwxr-xr-xsrc/kpicosim.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/kpicosim.h b/src/kpicosim.h
index 5ed9893..bfc8822 100755
--- a/src/kpicosim.h
+++ b/src/kpicosim.h
@@ -31,10 +31,10 @@
#include <kmainwindow.h>
#include <klistview.h>
-#include <qsplitter.h>
+#include <tqsplitter.h>
#include <kpopupmenu.h>
#include <ktoolbar.h>
-#include <qtabwidget.h>
+#include <tqtabwidget.h>
#include "kprocessorview.h"
#include "kserialview.h"
#include "kscratchpadview.h"
@@ -43,6 +43,7 @@
class KPicoSim : public KMainWindow
{
Q_OBJECT
+ TQ_OBJECT
public:
KPicoSim();
virtual ~KPicoSim();
@@ -50,37 +51,37 @@ class KPicoSim : public KMainWindow
protected:
CodeEditor * m_editor ;
KListView * m_messages ;
- QSplitter * m_splitter ;
+ TQSplitter * m_splitter ;
KProcessorView * m_processorView ;
KSerialView *m_serialView ;
KScratchpadView *m_scratchpadView ;
- QTabWidget *m_tabWidget ;
+ TQTabWidget *m_tabWidget ;
KPopupMenu * m_fileMenu, * m_debugMenu, * m_settingsMenu, * m_editMenu, * m_peripheralMenu, *m_jtagMenu, *m_helpMenu ;
KSimulator * m_simulator ;
// Export to VHDL
- QString m_templateFile, m_outputDir, m_entityName ;
+ TQString m_templateFile, m_outputDir, m_entityName ;
bool m_simulationMode ;
unsigned int m_nrInstructions ;
- void appendMessage( QString str ) ;
+ void appendMessage( TQString str ) ;
void updateViews() ;
void updateScratchpadView() ;
- virtual void closeEvent( QCloseEvent *e ) ;
+ virtual void closeEvent( TQCloseEvent *e ) ;
void buildMenu() ;
void openGUI() ;
void closeGUI() ;
-// QPtrList<KPortView> m_ioList ;
- QString m_bitfile ;
+// TQPtrList<KPortView> m_ioList ;
+ TQString m_bitfile ;
- QPixmap m_runPxp, m_stopPxp ;
+ TQPixmap m_runPxp, m_stopPxp ;
KToolBar *m_debugBar ;
signals:
@@ -91,7 +92,7 @@ class KPicoSim : public KMainWindow
void startSim() ;
void startStop() ;
void stepped( unsigned int line ) ;
- void messageListClicked( QListViewItem * item ) ;
+ void messageListClicked( TQListViewItem * item ) ;
void updateProcessorRegs() ;
void updateProcessorFlags() ;