From 99a2774ca6f1cab334de5d43fe36fc44ae889a4c Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 12 Jun 2011 01:36:19 +0000 Subject: 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 --- cervisia/annotatedlg.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cervisia/annotatedlg.cpp') diff --git a/cervisia/annotatedlg.cpp b/cervisia/annotatedlg.cpp index 86b64b43..e40a26bd 100644 --- a/cervisia/annotatedlg.cpp +++ b/cervisia/annotatedlg.cpp @@ -23,8 +23,8 @@ #include "annotateview.h" -AnnotateDialog::AnnotateDialog(KConfig& cfg, TQWidget *parent, const char *name) - : KDialogBase(parent, name, false, TQString::null, +AnnotateDialog::AnnotateDialog(KConfig& cfg, TQWidget *tqparent, const char *name) + : KDialogBase(tqparent, name, false, TQString(), Close | Help, Close, true) , partConfig(cfg) { @@ -33,7 +33,7 @@ AnnotateDialog::AnnotateDialog(KConfig& cfg, TQWidget *parent, const char *name) setHelp("annotate"); - setWFlags(Qt::WDestructiveClose | getWFlags()); + setWFlags(TQt::WDestructiveClose | getWFlags()); TQSize size = configDialogSize(partConfig, "AnnotateDialog"); resize(size); -- cgit v1.2.1