diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | da4be7880ff1de6415ab6256afd2514e64f5fa2e (patch) | |
tree | 0862c14883af0435b012f6f592221fc167ed7d91 /kviewshell/kviewpart.cpp | |
parent | d0a269b9b0361bf71c5dd5787be0839f9dcace8c (diff) | |
download | tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.tar.gz tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell/kviewpart.cpp')
-rw-r--r-- | kviewshell/kviewpart.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kviewshell/kviewpart.cpp b/kviewshell/kviewpart.cpp index 115c0a50..a5766c42 100644 --- a/kviewshell/kviewpart.cpp +++ b/kviewshell/kviewpart.cpp @@ -173,7 +173,7 @@ KViewPart::KViewPart(TQWidget *parentWidget, const char *widgetName, TQObject *t exportTextAction = new KAction(i18n("Text..."), 0, this, TQT_SLOT(mp_exportText()), actionCollection(), "export_text"); // edit menu - findTextAction = KStdAction::find(this, TQT_SLOT(mp_showFindTextDialog()), actionCollection(), "tqfind"); + findTextAction = KStdAction::find(this, TQT_SLOT(mp_showFindTextDialog()), actionCollection(), "find"); findNextAction = KStdAction::findNext(this, TQT_SLOT(mp_findNextText()), actionCollection(), "findnext"); findNextAction->setEnabled(false); findPrevAction = KStdAction::findPrev(this, TQT_SLOT(mp_findPrevText()), actionCollection(), "findprev"); @@ -553,10 +553,10 @@ TQStringList KViewPart::fileFormats() const for(TQStringList::Iterator it = supportedPattern.begin(); it != supportedPattern.end(); ++it ) { - if ((*it).tqfind(".gz", -3) == -1) // Paranoia safety check + if ((*it).find(".gz", -3) == -1) // Paranoia safety check compressedPattern.append(*it + ".gz"); - if ((bzip2Available) && ((*it).tqfind(".bz2", -4) == -1)) // Paranoia safety check + if ((bzip2Available) && ((*it).find(".bz2", -4) == -1)) // Paranoia safety check compressedPattern.append(*it + ".bz2"); } @@ -613,7 +613,7 @@ bool KViewPart::openFile() for (TQStringList::Iterator it = supportedPatterns.begin(); it != supportedPatterns.end(); ++it) { // Only consider patterns starting with "*." - if ((*it).tqfind("*.") == 0) + if ((*it).find("*.") == 0) { // Remove first Letter from string endings.append((*it).mid(2).stripWhiteSpace()); @@ -1382,7 +1382,7 @@ void KViewPart::writeSettings() void KViewPart::connectNotify ( const char *sig ) { - if (TQString(sig).tqcontains("pageChanged")) + if (TQString(sig).contains("pageChanged")) pageChangeIsConnected = true; } |