summaryrefslogtreecommitdiffstats
path: root/kword/KWFindReplace.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kword/KWFindReplace.cpp
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-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 'kword/KWFindReplace.cpp')
-rw-r--r--kword/KWFindReplace.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kword/KWFindReplace.cpp b/kword/KWFindReplace.cpp
index 765b82e3..f1168ba3 100644
--- a/kword/KWFindReplace.cpp
+++ b/kword/KWFindReplace.cpp
@@ -30,13 +30,13 @@
#include "KWTextDocument.h"
//#include <KoTextDocument.h>
-KWFindReplace::KWFindReplace( KWCanvas * canvas, KoSearchDia * dialog, const QValueList<KoTextObject *> & lstObjects, KWTextFrameSetEdit *textView)
+KWFindReplace::KWFindReplace( KWCanvas * canvas, KoSearchDia * dialog, const TQValueList<KoTextObject *> & lstObjects, KWTextFrameSetEdit *textView)
: KoFindReplace( canvas, dialog, lstObjects, textView )
{
m_canvas = canvas;
}
-KWFindReplace::KWFindReplace( KWCanvas * canvas, KoReplaceDia * dialog, const QValueList<KoTextObject *> & lstObjects, KWTextFrameSetEdit *textView )
+KWFindReplace::KWFindReplace( KWCanvas * canvas, KoReplaceDia * dialog, const TQValueList<KoTextObject *> & lstObjects, KWTextFrameSetEdit *textView )
: KoFindReplace( canvas, dialog, lstObjects, textView )
{
m_canvas = canvas;
@@ -55,8 +55,8 @@ void KWFindReplace::emitNewCommand(KCommand *cmd)
void KWFindReplace::highlightPortion(KoTextParag * parag, int index, int length, KoTextDocument *textdocument, KDialogBase* dialog)
{
KWTextDocument *textdoc=static_cast<KWTextDocument *>(textdocument);
- bool repaint = isReplace() ? options() & KReplaceDialog::PromptOnReplace : true;
- textdoc->textFrameSet()->highlightPortion( parag, index, length, m_canvas, repaint, dialog );
+ bool tqrepaint = isReplace() ? options() & KReplaceDialog::PromptOnReplace : true;
+ textdoc->textFrameSet()->highlightPortion( parag, index, length, m_canvas, tqrepaint, dialog );
}
#include "KWFindReplace.moc"