diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kpresenter/KPrFindReplace.cpp | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpresenter/KPrFindReplace.cpp')
-rw-r--r-- | kpresenter/KPrFindReplace.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kpresenter/KPrFindReplace.cpp b/kpresenter/KPrFindReplace.cpp index ba268f00..59a5fcfe 100644 --- a/kpresenter/KPrFindReplace.cpp +++ b/kpresenter/KPrFindReplace.cpp @@ -29,16 +29,16 @@ #include <KoSearchDia.h> #include "KPrTextDocument.h" -KPrFindReplace::KPrFindReplace( QWidget* parent, KPrCanvas * canvas, KoSearchDia * dialog, - const QValueList<KoTextObject *> & lstObjects, KPrTextView *textView) - : KoFindReplace( parent, dialog, lstObjects, textView ) +KPrFindReplace::KPrFindReplace( TQWidget* tqparent, KPrCanvas * canvas, KoSearchDia * dialog, + const TQValueList<KoTextObject *> & lstObjects, KPrTextView *textView) + : KoFindReplace( tqparent, dialog, lstObjects, textView ) { m_canvas = canvas; } -KPrFindReplace::KPrFindReplace( QWidget* parent, KPrCanvas * canvas, KoReplaceDia * dialog, - const QValueList<KoTextObject *> & lstObjects, KPrTextView *textView ) - : KoFindReplace( parent, dialog, lstObjects, textView ) +KPrFindReplace::KPrFindReplace( TQWidget* tqparent, KPrCanvas * canvas, KoReplaceDia * dialog, + const TQValueList<KoTextObject *> & lstObjects, KPrTextView *textView ) + : KoFindReplace( tqparent, dialog, lstObjects, textView ) { m_canvas = canvas; } @@ -55,10 +55,10 @@ void KPrFindReplace::emitNewCommand(KCommand *cmd) void KPrFindReplace::highlightPortion(KoTextParag * parag, int index, int length, KoTextDocument *_textdoc, KDialogBase* dialog) { - bool repaint = isReplace() ? options() & KReplaceDialog::PromptOnReplace : true; + bool tqrepaint = isReplace() ? options() & KReplaceDialog::PromptOnReplace : true; KPrTextDocument *textdoc = static_cast<KPrTextDocument *>(_textdoc); KPrTextObject* textobj = textdoc->textObject(); - textobj->highlightPortion( parag, index, length, m_canvas, repaint, dialog ); + textobj->highlightPortion( parag, index, length, m_canvas, tqrepaint, dialog ); } #include "KPrFindReplace.moc" |