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/kptresourcedialog.h | |
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/kptresourcedialog.h')
-rw-r--r-- | kplato/kptresourcedialog.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/kplato/kptresourcedialog.h b/kplato/kptresourcedialog.h index bfa0da7d..ef4b8d12 100644 --- a/kplato/kptresourcedialog.h +++ b/kplato/kptresourcedialog.h @@ -25,13 +25,13 @@ #include <kdialogbase.h> -#include <qmap.h> -#include <qcombobox.h> +#include <tqmap.h> +#include <tqcombobox.h> class KCommand; -class QTime; -class QString; +class TQTime; +class TQString; namespace KPlato { @@ -43,12 +43,13 @@ class Calendar; class ResourceDialogImpl : public ResourceDialogBase { Q_OBJECT + TQ_OBJECT public: - ResourceDialogImpl (QWidget *parent); + ResourceDialogImpl (TQWidget *tqparent); public slots: void slotChanged(); - void slotCalculationNeeded(const QString&); + void slotCalculationNeeded(const TQString&); void slotChooseResource(); signals: @@ -56,14 +57,15 @@ signals: void calculate(); protected slots: - void slotAvailableFromChanged(const QDateTime& dt); - void slotAvailableUntilChanged(const QDateTime& dt); + void slotAvailableFromChanged(const TQDateTime& dt); + void slotAvailableUntilChanged(const TQDateTime& dt); }; class ResourceDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - ResourceDialog(Project &project, Resource *resource, QWidget *parent=0, const char *name=0); + ResourceDialog(Project &project, Resource *resource, TQWidget *tqparent=0, const char *name=0); bool calculationNeeded() { return m_calculationNeeded; } @@ -84,7 +86,7 @@ private: ResourceDialogImpl *dia; bool m_calculationNeeded; - QMap<int, Calendar*> m_calendars; + TQMap<int, Calendar*> m_calendars; }; } //KPlato namespace |