diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:24:32 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:24:32 -0600 |
commit | 1b2c2a6009be36c25b8af30947863fa7cf1f38fc (patch) | |
tree | fa0558a548c73c592c87238767c2a91f86c9dfcd /src/kprocessorview.cpp | |
parent | fddc4a34b24264dcd0d7c28218d31fe0b0a3b335 (diff) | |
download | kpicosim-1b2c2a6009be36c25b8af30947863fa7cf1f38fc.tar.gz kpicosim-1b2c2a6009be36c25b8af30947863fa7cf1f38fc.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'src/kprocessorview.cpp')
-rwxr-xr-x | src/kprocessorview.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kprocessorview.cpp b/src/kprocessorview.cpp index 3a238ec..4ba12d9 100755 --- a/src/kprocessorview.cpp +++ b/src/kprocessorview.cpp @@ -35,7 +35,7 @@ void MyListView::mousePressEvent( TQMouseEvent * event ) } */ -KProcessorView::KProcessorView(TQWidget *parent, const char *name) +TDEProcessorView::TDEProcessorView(TQWidget *parent, const char *name) : KToolBar(parent) { name = name ; // avoid compiler warning @@ -92,7 +92,7 @@ KProcessorView::KProcessorView(TQWidget *parent, const char *name) m_bHexMode = false ; } -void KProcessorView::slotHexMode() +void TDEProcessorView::slotHexMode() { unsigned char regs[ 16 ] ; @@ -101,7 +101,7 @@ void KProcessorView::slotHexMode() setRegisterValues(regs) ; } -void KProcessorView::showPopupMenu() +void TDEProcessorView::showPopupMenu() { TQPopupMenu *menu = new TQPopupMenu( this ) ; menu->insertItem( "Hexadecimal", this, TQT_SLOT( slotHexMode() ), 0, 1 ) ; @@ -109,7 +109,7 @@ void KProcessorView::showPopupMenu() menu->exec( TQCursor::pos() ); } -void KProcessorView::slotItemRenamed( TQListViewItem * item ) +void TDEProcessorView::slotItemRenamed( TQListViewItem * item ) { int i, value, base ; bool ok ; @@ -143,13 +143,13 @@ void KProcessorView::slotItemRenamed( TQListViewItem * item ) } } -void KProcessorView::resizeEvent( TQResizeEvent *event ) +void TDEProcessorView::resizeEvent( TQResizeEvent *event ) { event = event ; // view->resize( width() - 10, height() - 10 ) ; } -void KProcessorView::getRegisterValues( unsigned char *values ) +void TDEProcessorView::getRegisterValues( unsigned char *values ) { int i, base ; bool ok ; @@ -162,7 +162,7 @@ void KProcessorView::getRegisterValues( unsigned char *values ) } } -void KProcessorView::setRegisterValues( unsigned char *values ) +void TDEProcessorView::setRegisterValues( unsigned char *values ) { int i, base ; @@ -176,7 +176,7 @@ void KProcessorView::setRegisterValues( unsigned char *values ) } } -void KProcessorView::setFlags( unsigned char flags ) +void TDEProcessorView::setFlags( unsigned char flags ) { if ( flags & 0x01 ) zeroFlag->setText( 1, "1" ) ; else zeroFlag->setText( 1, "0" ) ; @@ -188,7 +188,7 @@ void KProcessorView::setFlags( unsigned char flags ) else ieFlag->setText( 1, "0" ) ; } -unsigned char KProcessorView::getFlags() +unsigned char TDEProcessorView::getFlags() { unsigned char flags = 0 ; @@ -199,7 +199,7 @@ unsigned char KProcessorView::getFlags() return flags ; } -KProcessorView::~KProcessorView() +TDEProcessorView::~TDEProcessorView() { delete view ; } |