summaryrefslogtreecommitdiffstats
path: root/cervisia/changelogdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /cervisia/changelogdlg.cpp
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/changelogdlg.cpp')
-rw-r--r--cervisia/changelogdlg.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cervisia/changelogdlg.cpp b/cervisia/changelogdlg.cpp
index 49476610..edaa3b6f 100644
--- a/cervisia/changelogdlg.cpp
+++ b/cervisia/changelogdlg.cpp
@@ -33,15 +33,15 @@
static inline TQString DateStringISO8601()
{
- return TQDate::currentDate().toString(Qt::ISODate);
+ return TQDate::tqcurrentDate().toString(Qt::ISODate);
}
ChangeLogDialog::Options *ChangeLogDialog::options = 0;
-ChangeLogDialog::ChangeLogDialog(KConfig& cfg, TQWidget *parent, const char *name)
- : KDialogBase(parent, name, true, i18n("Edit ChangeLog"),
+ChangeLogDialog::ChangeLogDialog(KConfig& cfg, TQWidget *tqparent, const char *name)
+ : KDialogBase(tqparent, name, true, i18n("Edit ChangeLog"),
Ok | Cancel, Ok, true)
, partConfig(cfg)
{
@@ -167,7 +167,7 @@ TQString ChangeLogDialog::message()
for (j = 0; j < (int)str.length(); ++j)
if (!str[j].isSpace())
break;
- str.remove(0, QMIN(j, 8));
+ str.remove(0, TQMIN(j, 8));
}
res += str;
res += '\n';