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/exporterdialog.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/exporterdialog.cpp')
-rw-r--r-- | src/exporterdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exporterdialog.cpp b/src/exporterdialog.cpp index 8bf2e2d..60bb6b0 100644 --- a/src/exporterdialog.cpp +++ b/src/exporterdialog.cpp @@ -82,7 +82,7 @@ void ExporterDialog::show() KDialogBase::show(); TQString lineEditText = m_url->lineEdit()->text(); - int selectionStart = lineEditText.tqfindRev("/") + 1; + int selectionStart = lineEditText.findRev("/") + 1; m_url->lineEdit()->setSelection(selectionStart, lineEditText.length() - selectionStart - TQString(".html").length()); } @@ -92,7 +92,7 @@ void ExporterDialog::load() config->setGroup("HTML Export"); TQString folder = config->readEntry("lastFolder", TQDir::homeDirPath()) + "/"; - TQString url = folder + TQString(m_basket->basketName()).tqreplace("/", "_") + ".html"; + TQString url = folder + TQString(m_basket->basketName()).replace("/", "_") + ".html"; m_url->setURL(url); m_embedLinkedFiles->setChecked( config->readBoolEntry("embedLinkedFiles", true) ); |