summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kbackupdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/dialogs/kbackupdlg.cpp
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz
kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip
TQt4 port kmymoney
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/dialogs/kbackupdlg.cpp')
-rw-r--r--kmymoney2/dialogs/kbackupdlg.cpp24
1 files changed, 10 insertions, 14 deletions
diff --git a/kmymoney2/dialogs/kbackupdlg.cpp b/kmymoney2/dialogs/kbackupdlg.cpp
index d98aeaf..d975e46 100644
--- a/kmymoney2/dialogs/kbackupdlg.cpp
+++ b/kmymoney2/dialogs/kbackupdlg.cpp
@@ -20,21 +20,17 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qpixmap.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qcheckbox.h>
+#include <tqpixmap.h>
+#include <tqlabel.h>
+#include <tqlineedit.h>
+#include <tqcheckbox.h>
// ----------------------------------------------------------------------------
// KDE Includes
#include <kglobal.h>
#include <klocale.h>
-#if QT_VERSION > 300
#include <kstandarddirs.h>
-#else
-#include <kstddirs.h>
-#endif
#include <kconfig.h>
#include <kdirselectdialog.h>
@@ -48,8 +44,8 @@
#include "kbackupdlg.h"
-KBackupDlg::KBackupDlg( QWidget* parent, const char* name/*, bool modal*/)
- : kbackupdlgdecl( parent, name , true)
+KBackupDlg::KBackupDlg( TQWidget* tqparent, const char* name/*, bool modal*/)
+ : kbackupdlgdecl( tqparent, name , true)
{
readConfig();
@@ -59,14 +55,14 @@ KBackupDlg::KBackupDlg( QWidget* parent, const char* name/*, bool modal*/)
btnCancel->setGuiItem(KStdGuiItem::cancel());
KGuiItem chooseButtenItem( i18n("C&hoose..."),
- QIconSet(il->loadIcon("folder", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("folder", KIcon::Small, KIcon::SizeSmall)),
i18n("Select mount point"),
i18n("Use this to browse to the mount point."));
chooseButton->setGuiItem(chooseButtenItem);
- connect(chooseButton, SIGNAL(clicked()), this, SLOT(chooseButtonClicked()));
- connect(btnOK,SIGNAL(clicked()),this,SLOT(accept()));
- connect(btnCancel,SIGNAL(clicked()),this,SLOT(reject()));
+ connect(chooseButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(chooseButtonClicked()));
+ connect(btnOK,TQT_SIGNAL(clicked()),this,TQT_SLOT(accept()));
+ connect(btnCancel,TQT_SIGNAL(clicked()),this,TQT_SLOT(reject()));
}
KBackupDlg::~KBackupDlg()