diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 32b67ac0690de411b26b1d5e715b188c27442248 (patch) | |
tree | 43167816a3df6b3a877d71c9a7963ed270dcc8c9 /parts/valgrind | |
parent | 330c33ab6f97b279737bf9527c9add7bb1475450 (diff) | |
download | tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/valgrind')
-rw-r--r-- | parts/valgrind/valgrind_dialog.cpp | 4 | ||||
-rw-r--r-- | parts/valgrind/valgrind_dialog.h | 2 | ||||
-rw-r--r-- | parts/valgrind/valgrind_part.cpp | 4 | ||||
-rw-r--r-- | parts/valgrind/valgrind_part.h | 2 | ||||
-rw-r--r-- | parts/valgrind/valgrind_widget.cpp | 10 |
5 files changed, 11 insertions, 11 deletions
diff --git a/parts/valgrind/valgrind_dialog.cpp b/parts/valgrind/valgrind_dialog.cpp index 5caa2db6..cfca7074 100644 --- a/parts/valgrind/valgrind_dialog.cpp +++ b/parts/valgrind/valgrind_dialog.cpp @@ -16,8 +16,8 @@ #include "valgrind_dialog.moc" -ValgrindDialog::ValgrindDialog( Type type, TQWidget* tqparent ) - : KDialogBase( tqparent, "valgrind dialog", true, i18n("Valgrind Memory Check"), Ok|Cancel ), +ValgrindDialog::ValgrindDialog( Type type, TQWidget* parent ) + : KDialogBase( parent, "valgrind dialog", true, i18n("Valgrind Memory Check"), Ok|Cancel ), m_type(type) { w = new DialogWidget( this ); diff --git a/parts/valgrind/valgrind_dialog.h b/parts/valgrind/valgrind_dialog.h index d3422b80..0d5153ee 100644 --- a/parts/valgrind/valgrind_dialog.h +++ b/parts/valgrind/valgrind_dialog.h @@ -18,7 +18,7 @@ class ValgrindDialog : public KDialogBase public: enum Type { Memcheck = 0, Calltree = 1 }; - ValgrindDialog( Type type, TQWidget* tqparent = 0 ); + ValgrindDialog( Type type, TQWidget* parent = 0 ); ~ValgrindDialog(); // the app to check diff --git a/parts/valgrind/valgrind_part.cpp b/parts/valgrind/valgrind_part.cpp index 064129cf..abf10a6d 100644 --- a/parts/valgrind/valgrind_part.cpp +++ b/parts/valgrind/valgrind_part.cpp @@ -26,8 +26,8 @@ typedef KDevGenericFactory<ValgrindPart> ValgrindFactory; static const KDevPluginInfo data("kdevvalgrind"); K_EXPORT_COMPONENT_FACTORY( libkdevvalgrind, ValgrindFactory( data ) ) -ValgrindPart::ValgrindPart( TQObject *tqparent, const char *name, const TQStringList& ) - : KDevPlugin( &data, tqparent, name ? name : "ValgrindPart" ) +ValgrindPart::ValgrindPart( TQObject *parent, const char *name, const TQStringList& ) + : KDevPlugin( &data, parent, name ? name : "ValgrindPart" ) { setInstance( ValgrindFactory::instance() ); setXMLFile( "kdevpart_valgrind.rc" ); diff --git a/parts/valgrind/valgrind_part.h b/parts/valgrind/valgrind_part.h index f7e3a4cf..4c5ab785 100644 --- a/parts/valgrind/valgrind_part.h +++ b/parts/valgrind/valgrind_part.h @@ -19,7 +19,7 @@ class ValgrindPart : public KDevPlugin TQ_OBJECT public: - ValgrindPart( TQObject *tqparent, const char *name, const TQStringList & ); + ValgrindPart( TQObject *parent, const char *name, const TQStringList & ); ~ValgrindPart(); void runValgrind( const TQString& exec, const TQString& parameters, const TQString& valExec, const TQString& valParameters ); diff --git a/parts/valgrind/valgrind_widget.cpp b/parts/valgrind/valgrind_widget.cpp index 00eca21e..074a2c38 100644 --- a/parts/valgrind/valgrind_widget.cpp +++ b/parts/valgrind/valgrind_widget.cpp @@ -24,15 +24,15 @@ class ValListViewItem: public TQListViewItem { public: - ValListViewItem( TQListView* tqparent, int key, int pid, const TQString& message ): - TQListViewItem( tqparent, TQString::number( key ), TQString::number( pid ), message ), + ValListViewItem( TQListView* parent, int key, int pid, const TQString& message ): + TQListViewItem( parent, TQString::number( key ), TQString::number( pid ), message ), _key( key ), _pid ( pid ), backtrace( false ), _line( -1 ), _active( false ) {} - ValListViewItem( ValListViewItem* tqparent, int key, int pid, const TQString& message, const TQString& filename, int line, bool active ): - TQListViewItem( tqparent, TQString::number( key ), TQString(), message ), + ValListViewItem( ValListViewItem* parent, int key, int pid, const TQString& message, const TQString& filename, int line, bool active ): + TQListViewItem( parent, TQString::number( key ), TQString(), message ), _key( key ), _pid( pid ), backtrace( true ), _filename( filename ), _line( line ), _active( active ) { - if ( tqparent->_pid != _pid && _pid > 0 ) + if ( parent->_pid != _pid && _pid > 0 ) setText( 1, TQString::number( _pid ) ); } |