summaryrefslogtreecommitdiffstats
path: root/parts/valgrind
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
commitf78eb03afb8c9a380985d26286afc40b4c89b292 (patch)
tree3c087e2f119e645c902958c3bc3c802abf078ad0 /parts/valgrind
parentda1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff)
downloadtdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz
tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'parts/valgrind')
-rw-r--r--parts/valgrind/valgrind_part.cpp4
-rw-r--r--parts/valgrind/valgrind_widget.cpp8
-rw-r--r--parts/valgrind/valgrind_widget.h6
3 files changed, 9 insertions, 9 deletions
diff --git a/parts/valgrind/valgrind_part.cpp b/parts/valgrind/valgrind_part.cpp
index aa530e95..aece8c06 100644
--- a/parts/valgrind/valgrind_part.cpp
+++ b/parts/valgrind/valgrind_part.cpp
@@ -58,12 +58,12 @@ ValgrindPart::ValgrindPart( TQObject *parent, const char *name, const TQStringLi
"mismatched use of malloc/new/new [] vs free/delete/delete []<br>"
"some abuses of the POSIX pthread API." ) );
- KAction* action = new KAction( i18n("&Valgrind Memory Leak Check"), 0, this,
+ TDEAction* action = new TDEAction( i18n("&Valgrind Memory Leak Check"), 0, this,
TQT_SLOT(slotExecValgrind()), actionCollection(), "tools_valgrind" );
action->setToolTip(i18n("Valgrind memory leak check"));
action->setWhatsThis(i18n("<b>Valgrind memory leak check</b><p>Runs Valgrind - a tool to help you find memory-management problems in your programs."));
- action = new KAction( i18n("P&rofile with KCachegrind"), 0, this,
+ action = new TDEAction( i18n("P&rofile with KCachegrind"), 0, this,
TQT_SLOT(slotExecCalltree()), actionCollection(), "tools_calltree" );
action->setToolTip(i18n("Profile with KCachegrind"));
action->setWhatsThis(i18n("<b>Profile with KCachegrind</b><p>Runs your program in calltree and then displays profiler information in KCachegrind."));
diff --git a/parts/valgrind/valgrind_widget.cpp b/parts/valgrind/valgrind_widget.cpp
index e3d36291..07fd2123 100644
--- a/parts/valgrind/valgrind_widget.cpp
+++ b/parts/valgrind/valgrind_widget.cpp
@@ -91,7 +91,7 @@ ValgrindWidget::ValgrindWidget( ValgrindPart *part )
: TQWidget(0, "valgrind widget"), _part( part )
{
TQVBoxLayout* vbl = new TQVBoxLayout( this );
- lv = new KListView( this );
+ lv = new TDEListView( this );
lv->addColumn( i18n( "No." ) );
lv->addColumn( i18n( "Thread" ) );
lv->addColumn( i18n( "Message" ) );
@@ -110,8 +110,8 @@ ValgrindWidget::ValgrindWidget( ValgrindPart *part )
this, TQT_SLOT(aboutToShowPopup()) );
connect( lv, TQT_SIGNAL(executed(TQListViewItem*)),
this, TQT_SLOT(executed(TQListViewItem*)) );
- connect( lv, TQT_SIGNAL(contextMenu(KListView*, TQListViewItem*, const TQPoint&)),
- this, TQT_SLOT(slotContextMenu(KListView*, TQListViewItem*, const TQPoint&)) );
+ connect( lv, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ this, TQT_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
}
@@ -194,7 +194,7 @@ void ValgrindWidget::aboutToShowPopup()
popup->setItemEnabled( 3, en );
}
-void ValgrindWidget::slotContextMenu( KListView* l, TQListViewItem* /*i*/, const TQPoint& p )
+void ValgrindWidget::slotContextMenu( TDEListView* l, TQListViewItem* /*i*/, const TQPoint& p )
{
if ( l != lv )
return;
diff --git a/parts/valgrind/valgrind_widget.h b/parts/valgrind/valgrind_widget.h
index ad1660ad..bb525758 100644
--- a/parts/valgrind/valgrind_widget.h
+++ b/parts/valgrind/valgrind_widget.h
@@ -8,7 +8,7 @@
#include "valgrinditem.h"
class ValgrindPart;
-class KListView;
+class TDEListView;
class TQListViewItem;
class TQPopupMenu;
@@ -29,13 +29,13 @@ signals:
private slots:
void executed( TQListViewItem* item );
- void slotContextMenu( KListView* l, TQListViewItem* i, const TQPoint& p );
+ void slotContextMenu( TDEListView* l, TQListViewItem* i, const TQPoint& p );
void expandAll();
void collapseAll();
void aboutToShowPopup();
private:
- KListView* lv;
+ TDEListView* lv;
int msgNumber;
ValgrindPart* _part;
TQPopupMenu* popup;