summaryrefslogtreecommitdiffstats
path: root/libkdepim/ktimeedit.h
diff options
context:
space:
mode:
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