diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kplato/kptaccountsviewconfigdialog.cc | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kplato/kptaccountsviewconfigdialog.cc')
-rw-r--r-- | kplato/kptaccountsviewconfigdialog.cc | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kplato/kptaccountsviewconfigdialog.cc b/kplato/kptaccountsviewconfigdialog.cc index bf5e1b65..595061d2 100644 --- a/kplato/kptaccountsviewconfigdialog.cc +++ b/kplato/kptaccountsviewconfigdialog.cc @@ -19,11 +19,11 @@ #include "kptaccountsviewconfigdialog.h" -#include <qcheckbox.h> -#include <qcombobox.h> -#include <qdatetimeedit.h> -#include <qdatetime.h> -#include <qstring.h> +#include <tqcheckbox.h> +#include <tqcombobox.h> +#include <tqdatetimeedit.h> +#include <tqdatetime.h> +#include <tqstring.h> #include <kdatewidget.h> #include <klocale.h> @@ -33,7 +33,7 @@ namespace KPlato { -AccountsviewConfigDialog::AccountsviewConfigDialog(const QDate &date, int period, const QStringList &periodTexts, bool cumulative, QWidget *p) +AccountsviewConfigDialog::AccountsviewConfigDialog(const TQDate &date, int period, const TQStringList &periodTexts, bool cumulative, TQWidget *p) : KDialogBase(Swallow, i18n("Settings"), Ok|Cancel, Ok, p, "Accountsview Settings Dialog", true, true) { m_panel = new AccountsviewConfigPanel(this); @@ -45,11 +45,11 @@ AccountsviewConfigDialog::AccountsviewConfigDialog(const QDate &date, int period enableButtonOK(false); - connect(m_panel, SIGNAL(changed(bool)), SLOT( enableButtonOK(bool))); + connect(m_panel, TQT_SIGNAL(changed(bool)), TQT_SLOT( enableButtonOK(bool))); } -QDate AccountsviewConfigDialog::date() { +TQDate AccountsviewConfigDialog::date() { return m_panel->dateEdit->date(); } @@ -57,7 +57,7 @@ int AccountsviewConfigDialog::period() { return m_panel->periodBox->currentItem(); } -QString AccountsviewConfigDialog::periodText() { +TQString AccountsviewConfigDialog::periodText() { return m_panel->periodBox->currentText(); } @@ -67,12 +67,12 @@ bool AccountsviewConfigDialog::isCumulative() { //---------------------------- -AccountsviewConfigPanel::AccountsviewConfigPanel(QWidget *parent) - : AccountsviewConfigurePanelBase(parent) { +AccountsviewConfigPanel::AccountsviewConfigPanel(TQWidget *tqparent) + : AccountsviewConfigurePanelBase(tqparent) { - connect(dateEdit, SIGNAL(changed(QDate)), SLOT(slotChanged())); - connect(periodBox, SIGNAL(activated(int)), SLOT(slotChanged())); - connect(cumulative, SIGNAL(clicked()), SLOT(slotChanged())); + connect(dateEdit, TQT_SIGNAL(changed(TQDate)), TQT_SLOT(slotChanged())); + connect(periodBox, TQT_SIGNAL(activated(int)), TQT_SLOT(slotChanged())); + connect(cumulative, TQT_SIGNAL(clicked()), TQT_SLOT(slotChanged())); } void AccountsviewConfigPanel::slotChanged() { |