summaryrefslogtreecommitdiffstats
path: root/kplato/kptintervaledit.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kplato/kptintervaledit.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-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/kptintervaledit.h')
-rw-r--r--kplato/kptintervaledit.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/kplato/kptintervaledit.h b/kplato/kptintervaledit.h
index 981b4349..0d889241 100644
--- a/kplato/kptintervaledit.h
+++ b/kplato/kptintervaledit.h
@@ -24,26 +24,27 @@
#include <kdialogbase.h>
-#include <qstring.h>
-#include <qptrlist.h>
-#include <qpair.h>
-#include <qwidget.h>
+#include <tqstring.h>
+#include <tqptrlist.h>
+#include <tqpair.h>
+#include <tqwidget.h>
namespace KPlato
{
class IntervalEditImpl : public IntervalEditBase {
Q_OBJECT
+ TQ_OBJECT
public:
- IntervalEditImpl(QWidget *parent);
+ IntervalEditImpl(TQWidget *tqparent);
- QPtrList<QPair<QTime, QTime> > intervals() const;
- void setIntervals(const QPtrList<QPair<QTime, QTime> > &intervals) const;
+ TQPtrList<TQPair<TQTime, TQTime> > intervals() const;
+ void setIntervals(const TQPtrList<TQPair<TQTime, TQTime> > &intervals) const;
private slots:
void slotClearClicked();
void slotAddIntervalClicked();
- void slotIntervalSelectionChanged(QListViewItem *item);
+ void slotIntervalSelectionChanged(TQListViewItem *item);
signals:
void changed();
@@ -51,8 +52,9 @@ signals:
class IntervalEdit : public IntervalEditImpl {
Q_OBJECT
+ TQ_OBJECT
public:
- IntervalEdit(QWidget *parent=0, const char *name=0);
+ IntervalEdit(TQWidget *tqparent=0, const char *name=0);
};