From d7633c195a464e4d344ada9eea61afd10110598a Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 4 May 2011 19:54:24 +0000 Subject: 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 --- src/svnfrontend/hotcopydlg_impl.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/svnfrontend/hotcopydlg_impl.cpp') 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 +#include #include #include -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); } -- cgit v1.2.1