diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:03:47 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:03:47 -0600 |
commit | 74b3ea38c5a98cbc73839d9ef4590708f2515cee (patch) | |
tree | 23c40344740ffc36e1002a8869d717333f31aaca /src/kprocessorview.cpp | |
parent | 6e5c9473ba17d56c9f981cc5c0987a409d33e3e3 (diff) | |
download | kpicosim-74b3ea38c5a98cbc73839d9ef4590708f2515cee.tar.gz kpicosim-74b3ea38c5a98cbc73839d9ef4590708f2515cee.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/kprocessorview.cpp')
-rwxr-xr-x | src/kprocessorview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kprocessorview.cpp b/src/kprocessorview.cpp index 4ba12d9..0bc27b5 100755 --- a/src/kprocessorview.cpp +++ b/src/kprocessorview.cpp @@ -8,17 +8,17 @@ #include <tqpopupmenu.h> #include <tqcursor.h> -MyListView::MyListView(TQWidget *parent) : KListView(parent) +MyListView::MyListView(TQWidget *parent) : TDEListView(parent) { - connect( this, TQT_SIGNAL( contextMenu( KListView *, TQListViewItem *, const TQPoint & ) ), - TQT_SLOT( slotContextMenu( KListView *, TQListViewItem *, const TQPoint & ) ) ); + connect( this, TQT_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), + TQT_SLOT( slotContextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ) ); } MyListView::~MyListView() { } -void MyListView::slotContextMenu( KListView *, TQListViewItem *, const TQPoint & ) +void MyListView::slotContextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) { // mousePressEvent( NULL ) ; emit showPopupMenu() ; @@ -31,12 +31,12 @@ void MyListView::mousePressEvent( TQMouseEvent * event ) // if ( event->button() == RightButton ) emit showPopupMenu() ; // else -// KListView::mousePressEvent( event ) ; +// TDEListView::mousePressEvent( event ) ; } */ TDEProcessorView::TDEProcessorView(TQWidget *parent, const char *name) - : KToolBar(parent) + : TDEToolBar(parent) { name = name ; // avoid compiler warning |