summaryrefslogtreecommitdiffstats
path: root/src/svnfrontend/hotcopydlg_impl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
commitd7633c195a464e4d344ada9eea61afd10110598a (patch)
tree1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/svnfrontend/hotcopydlg_impl.cpp
parent3fa7eb804f67b2789f128075cc2522f398640250 (diff)
downloadtdesvn-d7633c195a464e4d344ada9eea61afd10110598a.tar.gz
tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.zip
Port kdesvn to TQt4
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1230412 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/svnfrontend/hotcopydlg_impl.cpp')
-rw-r--r--src/svnfrontend/hotcopydlg_impl.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/svnfrontend/hotcopydlg_impl.cpp b/src/svnfrontend/hotcopydlg_impl.cpp
index 9211929..67ef264 100644
--- a/src/svnfrontend/hotcopydlg_impl.cpp
+++ b/src/svnfrontend/hotcopydlg_impl.cpp
@@ -19,12 +19,12 @@
***************************************************************************/
#include "hotcopydlg_impl.h"
-#include <qcheckbox.h>
+#include <tqcheckbox.h>
#include <kurl.h>
#include <kurlrequester.h>
-HotcopyDlg_impl::HotcopyDlg_impl(QWidget *parent, const char *name)
- :HotcopyDlg(parent, name)
+HotcopyDlg_impl::HotcopyDlg_impl(TQWidget *tqparent, const char *name)
+ :HotcopyDlg(tqparent, name)
{
}
@@ -32,12 +32,12 @@ HotcopyDlg_impl::~HotcopyDlg_impl()
{
}
-QString HotcopyDlg_impl::srcPath()const
+TQString HotcopyDlg_impl::srcPath()const
{
return checkPath(m_SrcpathEditor->url());
}
-QString HotcopyDlg_impl::destPath()const
+TQString HotcopyDlg_impl::destPath()const
{
return checkPath(m_DestpathEditor->url());
}
@@ -47,10 +47,10 @@ bool HotcopyDlg_impl::cleanLogs()const
return m_Cleanlogs->isChecked();
}
-QString HotcopyDlg_impl::checkPath(const QString&_p)const
+TQString HotcopyDlg_impl::checkPath(const TQString&_p)const
{
KURL u = _p;
- QString res = u.path();
+ TQString res = u.path();
while (res.endsWith("/")) {
res.truncate(res.length()-1);
}