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 | 33f08e93132a53bf14f41f5f1e567eeea832b336 (patch) | |
tree | f71204bc1c7d41a0545805a1276c5af43e1c3094 /src/htmlexporter.cpp | |
parent | 14284db4dfa93999d6227344141e8663d9fcf7f9 (diff) | |
download | basket-33f08e93132a53bf14f41f5f1e567eeea832b336.tar.gz basket-33f08e93132a53bf14f41f5f1e567eeea832b336.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/htmlexporter.cpp')
-rw-r--r-- | src/htmlexporter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/htmlexporter.cpp b/src/htmlexporter.cpp index 4936454..762abe5 100644 --- a/src/htmlexporter.cpp +++ b/src/htmlexporter.cpp @@ -47,7 +47,7 @@ HTMLExporter::HTMLExporter(Basket *basket) KConfig *config = KGlobal::config(); config->setGroup("Export to HTML"); TQString folder = config->readEntry("lastFolder", TQDir::homeDirPath()) + "/"; - TQString url = folder + TQString(basket->basketName()).tqreplace("/", "_") + ".html"; + TQString url = folder + TQString(basket->basketName()).replace("/", "_") + ".html"; // Ask a file name & path to the user: TQString filter = "*.html *.htm|" + i18n("HTML Documents") + "\n*|" + i18n("All Files"); @@ -525,8 +525,8 @@ TQString HTMLExporter::copyIcon(const TQString &iconName, int size) return ""; // Sometimes icon can be "favicons/www.kde.org", we replace the '/' with a '_' - TQString fileName = iconName; // TQString::tqreplace() isn't const, so I must copy the string before - fileName = "ico" + TQString::number(size) + "_" + fileName.tqreplace("/", "_") + ".png"; + TQString fileName = iconName; // TQString::replace() isn't const, so I must copy the string before + fileName = "ico" + TQString::number(size) + "_" + fileName.replace("/", "_") + ".png"; TQString fullPath = iconsFolderPath + fileName; if (!TQFile::exists(fullPath)) DesktopIcon(iconName, size).save(fullPath, "PNG"); |