summaryrefslogtreecommitdiffstats
path: root/libkdepim/ktimeedit.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /libkdepim/ktimeedit.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/ktimeedit.h')
-rw-r--r--libkdepim/ktimeedit.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/libkdepim/ktimeedit.h b/libkdepim/ktimeedit.h
index be50a40b8..609c64007 100644
--- a/libkdepim/ktimeedit.h
+++ b/libkdepim/ktimeedit.h
@@ -25,11 +25,11 @@
#ifndef _KTIMEEDIT_H
#define _KTIMEEDIT_H
-#include <qevent.h>
-#include <qkeycode.h>
-#include <qstring.h>
-#include <qdatetime.h>
-#include <qcombobox.h>
+#include <tqevent.h>
+#include <tqkeycode.h>
+#include <tqstring.h>
+#include <tqdatetime.h>
+#include <tqcombobox.h>
#include <kapplication.h>
#include <kdepimmacros.h>
@@ -46,7 +46,7 @@ class KDE_EXPORT KTimeEdit : public QComboBox
Q_OBJECT
public:
/** constructs a new time edit. */
- KTimeEdit(QWidget *parent=0, QTime qt=QTime(12,0), const char *name=0);
+ KTimeEdit(TQWidget *parent=0, TQTime qt=TQTime(12,0), const char *name=0);
virtual ~KTimeEdit();
@@ -56,10 +56,10 @@ class KDE_EXPORT KTimeEdit : public QComboBox
bool hasTime() const;
/** returns the time that is currently set in the timeLineEdit. */
- QTime getTime() const;
+ TQTime getTime() const;
/** returns the preferred size policy of the KTimeEdit */
- QSizePolicy sizePolicy() const;
+ TQSizePolicy sizePolicy() const;
/** return true if input is a valid time and false if not */
bool inputIsValid() const;
@@ -69,11 +69,11 @@ class KDE_EXPORT KTimeEdit : public QComboBox
Emitted every time the time displayed changes. "newt" is the new
time.
*/
- void timeChanged(QTime newt);
+ void timeChanged(TQTime newt);
public slots:
/** used to set the time which is displayed to a specific value. */
- void setTime(QTime qt);
+ void setTime(TQTime qt);
protected slots:
void active(int);
@@ -81,15 +81,15 @@ class KDE_EXPORT KTimeEdit : public QComboBox
void changedText();
protected:
- virtual void keyPressEvent(QKeyEvent *qke);
- void addTime(QTime qt);
- void subTime(QTime qt);
+ virtual void keyPressEvent(TQKeyEvent *qke);
+ void addTime(TQTime qt);
+ void subTime(TQTime qt);
// Update the lineedit text from mTime
void updateText();
private:
- QTime mTime; // the widget's displayed time.
- //QString mNoTimeString;
+ TQTime mTime; // the widget's displayed time.
+ //TQString mNoTimeString;
};
#endif