diff options
Diffstat (limited to 'parts/replace')
-rw-r--r-- | parts/replace/replace_part.cpp | 4 | ||||
-rw-r--r-- | parts/replace/replace_part.h | 2 | ||||
-rw-r--r-- | parts/replace/replacedlgimpl.cpp | 4 | ||||
-rw-r--r-- | parts/replace/replacedlgimpl.h | 2 | ||||
-rw-r--r-- | parts/replace/replaceitem.cpp | 10 | ||||
-rw-r--r-- | parts/replace/replaceitem.h | 12 | ||||
-rw-r--r-- | parts/replace/replaceview.cpp | 2 |
7 files changed, 18 insertions, 18 deletions
diff --git a/parts/replace/replace_part.cpp b/parts/replace/replace_part.cpp index 3e8242e8..e808ab70 100644 --- a/parts/replace/replace_part.cpp +++ b/parts/replace/replace_part.cpp @@ -29,8 +29,8 @@ static const KDevPluginInfo data("kdevreplace"); typedef KDevGenericFactory<ReplacePart> ReplaceFactory; K_EXPORT_COMPONENT_FACTORY(libkdevreplace, ReplaceFactory(data)) -ReplacePart::ReplacePart(TQObject *tqparent, const char *name, const TQStringList& ) - : KDevPlugin( &data, tqparent, name ? name : "ReplacePart" ) +ReplacePart::ReplacePart(TQObject *parent, const char *name, const TQStringList& ) + : KDevPlugin( &data, parent, name ? name : "ReplacePart" ) { setInstance(ReplaceFactory::instance()); setXMLFile("kdevpart_replace.rc"); diff --git a/parts/replace/replace_part.h b/parts/replace/replace_part.h index efad03bd..65c0fe54 100644 --- a/parts/replace/replace_part.h +++ b/parts/replace/replace_part.h @@ -28,7 +28,7 @@ class ReplacePart : public KDevPlugin TQ_OBJECT public: - ReplacePart(TQObject *tqparent, const char *name, const TQStringList &); + ReplacePart(TQObject *parent, const char *name, const TQStringList &); ~ReplacePart(); public slots: diff --git a/parts/replace/replacedlgimpl.cpp b/parts/replace/replacedlgimpl.cpp index 87be28f9..b0c5bffd 100644 --- a/parts/replace/replacedlgimpl.cpp +++ b/parts/replace/replacedlgimpl.cpp @@ -37,8 +37,8 @@ TQString escape(const TQString &str) } -ReplaceDlgImpl::ReplaceDlgImpl(TQWidget* tqparent, const char* name, bool modal, WFlags fl) - : ReplaceDlg(tqparent,name, modal,fl), _regexp_dialog( 0 ) +ReplaceDlgImpl::ReplaceDlgImpl(TQWidget* parent, const char* name, bool modal, WFlags fl) + : ReplaceDlg(parent,name, modal,fl), _regexp_dialog( 0 ) { connect( find_button, TQT_SIGNAL( clicked() ), TQT_SLOT( saveComboHistories() ) ); diff --git a/parts/replace/replacedlgimpl.h b/parts/replace/replacedlgimpl.h index 73d49cb5..4ae8e86c 100644 --- a/parts/replace/replacedlgimpl.h +++ b/parts/replace/replacedlgimpl.h @@ -12,7 +12,7 @@ class ReplaceDlgImpl : public ReplaceDlg TQ_OBJECT public: - ReplaceDlgImpl(TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + ReplaceDlgImpl(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); ~ReplaceDlgImpl(); TQRegExp expressionPattern(); diff --git a/parts/replace/replaceitem.cpp b/parts/replace/replaceitem.cpp index 087e2b1f..853c170d 100644 --- a/parts/replace/replaceitem.cpp +++ b/parts/replace/replaceitem.cpp @@ -45,18 +45,18 @@ void ReplaceItem::setChecked( bool checked ) { if ( !isFile() ) // this is a child item { - if ( checked || !(tqparent()->hasCheckedChildren())) + if ( checked || !(parent()->hasCheckedChildren())) { - if ( tqparent()->isOn() != checked ) + if ( parent()->isOn() != checked ) { - tqparent()->_clicked = false; - tqparent()->setOn( checked ); + parent()->_clicked = false; + parent()->setOn( checked ); } } return; } - // this is a tqparent item, set self and tqchildren + // this is a parent item, set self and tqchildren ReplaceItem * item = firstChild(); while ( item ) { diff --git a/parts/replace/replaceitem.h b/parts/replace/replaceitem.h index 8d4f3fd3..aa8f1700 100644 --- a/parts/replace/replaceitem.h +++ b/parts/replace/replaceitem.h @@ -22,8 +22,8 @@ class ReplaceItem : public TQCheckListItem { public: // the file item - ReplaceItem( ReplaceView * tqparent, ReplaceItem * after, TQString file ) : - TQCheckListItem( tqparent, + ReplaceItem( ReplaceView * parent, ReplaceItem * after, TQString file ) : + TQCheckListItem( parent, after, file, TQCheckListItem::CheckBox ), _file( file ), _string( file ), _line( 0 ), _isfile( true ), @@ -34,8 +34,8 @@ public: } // the line item - ReplaceItem( ReplaceItem * tqparent, ReplaceItem * after, TQString file, TQString string, int line ) : - TQCheckListItem( tqparent, + ReplaceItem( ReplaceItem * parent, ReplaceItem * after, TQString file, TQString string, int line ) : + TQCheckListItem( parent, after, TQString::number( line + 1 ) + ": " + string, TQCheckListItem::CheckBox ), _file( file ), _string( string ), _line( line ), _isfile( false ), @@ -76,9 +76,9 @@ public: return _lineclicked; } - ReplaceItem * tqparent() const + ReplaceItem * parent() const { - return static_cast<ReplaceItem*>( TQListViewItem::tqparent() ); + return static_cast<ReplaceItem*>( TQListViewItem::parent() ); } ReplaceItem * firstChild() const diff --git a/parts/replace/replaceview.cpp b/parts/replace/replaceview.cpp index b81b7dbb..4d5c4b41 100644 --- a/parts/replace/replaceview.cpp +++ b/parts/replace/replaceview.cpp @@ -27,7 +27,7 @@ ReplaceItem * ReplaceView::firstChild() const } -ReplaceView::ReplaceView( TQWidget * tqparent ) : KListView( tqparent ), _latestfile( 0 ) +ReplaceView::ReplaceView( TQWidget * parent ) : KListView( parent ), _latestfile( 0 ) { setSorting( -1 ); addColumn( "" ); |