diff options
Diffstat (limited to 'lib/kotext/KoSearchDia.cpp')
-rw-r--r-- | lib/kotext/KoSearchDia.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/kotext/KoSearchDia.cpp b/lib/kotext/KoSearchDia.cpp index 0acd88ccb..a41de932c 100644 --- a/lib/kotext/KoSearchDia.cpp +++ b/lib/kotext/KoSearchDia.cpp @@ -62,11 +62,11 @@ KoSearchContext::~KoSearchContext() } -KoSearchContextUI::KoSearchContextUI( KoSearchContext *ctx, TQWidget *tqparent ) - : TQObject(tqparent), m_ctx(ctx), m_parent(tqparent) +KoSearchContextUI::KoSearchContextUI( KoSearchContext *ctx, TQWidget *parent ) + : TQObject(parent), m_ctx(ctx), m_parent(parent) { m_bOptionsShown = false; - m_btnShowOptions = new TQPushButton( i18n("Show Formatting Options"), tqparent ); + m_btnShowOptions = new TQPushButton( i18n("Show Formatting Options"), parent ); connect( m_btnShowOptions, TQT_SIGNAL( clicked() ), TQT_SLOT( slotShowOptions() ) ); m_grid = new TQGridLayout( m_parent, 1, 1, 0, 6 ); @@ -100,8 +100,8 @@ void KoSearchContextUI::setCtxHistory( const TQStringList & history ) m_ctx->m_strings = history; } -KoSearchDia::KoSearchDia( TQWidget * tqparent,const char *name, KoSearchContext *find, bool hasSelection, bool hasCursor ) - : KFindDialog( tqparent, name, find->m_options, find->m_strings ) +KoSearchDia::KoSearchDia( TQWidget * parent,const char *name, KoSearchContext *find, bool hasSelection, bool hasCursor ) + : KFindDialog( parent, name, find->m_options, find->m_strings ) { // The dialog extension. m_findUI = new KoSearchContextUI( find, findExtension() ); @@ -119,8 +119,8 @@ void KoSearchDia::slotOk() m_findUI->setCtxHistory( findHistory() ); } -KoReplaceDia::KoReplaceDia( TQWidget *tqparent, const char *name, KoSearchContext *find, KoSearchContext *replace, bool hasSelection, bool hasCursor ) - : KReplaceDialog( tqparent, name, find->m_options, find->m_strings, replace->m_strings ) +KoReplaceDia::KoReplaceDia( TQWidget *parent, const char *name, KoSearchContext *find, KoSearchContext *replace, bool hasSelection, bool hasCursor ) + : KReplaceDialog( parent, name, find->m_options, find->m_strings, replace->m_strings ) { // The dialog extension. m_findUI = new KoSearchContextUI( find, findExtension() ); @@ -146,8 +146,8 @@ void KoReplaceDia::slotOk() -KoFindReplace::KoFindReplace( TQWidget * tqparent, KoSearchDia * dialog, const TQValueList<KoTextObject *> & lstObject, KoTextView* textView ) - : m_find( new KoTextFind( dialog->pattern(), dialog->options(), this, tqparent ) ), +KoFindReplace::KoFindReplace( TQWidget * parent, KoSearchDia * dialog, const TQValueList<KoTextObject *> & lstObject, KoTextView* textView ) + : m_find( new KoTextFind( dialog->pattern(), dialog->options(), this, parent ) ), m_replace( 0L ), m_searchContext( *dialog->searchContext() ), m_replaceContext(), @@ -161,9 +161,9 @@ KoFindReplace::KoFindReplace( TQWidget * tqparent, KoSearchDia * dialog, const T connectFind( m_find ); } -KoFindReplace::KoFindReplace( TQWidget * tqparent, KoReplaceDia * dialog, const TQValueList<KoTextObject *> & lstObject, KoTextView* textView ) +KoFindReplace::KoFindReplace( TQWidget * parent, KoReplaceDia * dialog, const TQValueList<KoTextObject *> & lstObject, KoTextView* textView ) : m_find( 0L ), - m_replace( new KoTextReplace( dialog->pattern(), dialog->replacement(), dialog->options(), this, tqparent ) ), + m_replace( new KoTextReplace( dialog->pattern(), dialog->replacement(), dialog->options(), this, parent ) ), m_searchContext( *dialog->searchContext() ), m_replaceContext( *dialog->replaceContext() ), m_searchContextEnabled( dialog->optionFindSelected() ), @@ -510,8 +510,8 @@ int KoFindReplace::numReplacements() const //// -KoTextFind::KoTextFind( const TQString &pattern, long options, KoFindReplace *_findReplace, TQWidget *tqparent ) - : KFind( pattern, options, tqparent), +KoTextFind::KoTextFind( const TQString &pattern, long options, KoFindReplace *_findReplace, TQWidget *parent ) + : KFind( pattern, options, parent), m_findReplace( _findReplace) { } @@ -525,8 +525,8 @@ bool KoTextFind::validateMatch( const TQString &text, int index, int matchedleng return m_findReplace->validateMatch( text, index, matchedlength ); } -KoTextReplace::KoTextReplace(const TQString &pattern, const TQString &replacement, long options, KoFindReplace *_findReplace, TQWidget *tqparent ) - : KReplace( pattern, replacement, options, tqparent), +KoTextReplace::KoTextReplace(const TQString &pattern, const TQString &replacement, long options, KoFindReplace *_findReplace, TQWidget *parent ) + : KReplace( pattern, replacement, options, parent), m_findReplace( _findReplace) { } @@ -540,8 +540,8 @@ bool KoTextReplace::validateMatch( const TQString &text, int index, int matchedl return m_findReplace->validateMatch( text, index, matchedlength ); } -KoFormatDia::KoFormatDia( TQWidget* tqparent, const TQString & _caption, KoSearchContext *_ctx , const char* name) - : KDialogBase( tqparent, name, true, _caption, Ok|Cancel|User1 |User2 ), +KoFormatDia::KoFormatDia( TQWidget* parent, const TQString & _caption, KoSearchContext *_ctx , const char* name) + : KDialogBase( parent, name, true, _caption, Ok|Cancel|User1 |User2 ), m_ctx(_ctx) { TQWidget *page = new TQWidget( this ); |