summaryrefslogtreecommitdiffstats
path: root/src/svnfrontend/createrepo_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/createrepo_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/createrepo_impl.cpp')
-rw-r--r--src/svnfrontend/createrepo_impl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/svnfrontend/createrepo_impl.cpp b/src/svnfrontend/createrepo_impl.cpp
index 160f0ab..5fdd126 100644
--- a/src/svnfrontend/createrepo_impl.cpp
+++ b/src/svnfrontend/createrepo_impl.cpp
@@ -24,7 +24,7 @@
#include <kurlrequester.h>
#include <kcombobox.h>
-#include <qcheckbox.h>
+#include <tqcheckbox.h>
class RecurseCheck
{
@@ -34,8 +34,8 @@ public:
~RecurseCheck(){value = false;}
};
-Createrepo_impl::Createrepo_impl(bool enable_compat13, bool enable_compat14, QWidget *parent, const char *name)
- :CreateRepo_Dlg(parent, name)
+Createrepo_impl::Createrepo_impl(bool enable_compat13, bool enable_compat14, TQWidget *tqparent, const char *name)
+ :CreateRepo_Dlg(tqparent, name)
{
inChangeCompat=true;
m_DisableFsync->setEnabled(false);
@@ -61,17 +61,17 @@ void Createrepo_impl::fsTypeChanged(int which)
m_LogKeep->setEnabled(which==1);
}
-QString Createrepo_impl::targetDir()
+TQString Createrepo_impl::targetDir()
{
KURL u = m_ReposPathinput->url();
- QString res = u.path();
+ TQString res = u.path();
while (res.endsWith("/")) {
res.truncate(res.length()-1);
}
return res;
}
-QString Createrepo_impl::fsType()
+TQString Createrepo_impl::fsType()
{
return m_FilesystemSelector->currentText();
}