summaryrefslogtreecommitdiffstats
path: root/libkdepim/kdateedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/kdateedit.h')
-rw-r--r--libkdepim/kdateedit.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/libkdepim/kdateedit.h b/libkdepim/kdateedit.h
index 962e2a8a..6fc04bd5 100644
--- a/libkdepim/kdateedit.h
+++ b/libkdepim/kdateedit.h
@@ -24,9 +24,9 @@
#ifndef KDATEEDIT_H
#define KDATEEDIT_H
-#include <qcombobox.h>
-#include <qdatetime.h>
-#include <qmap.h>
+#include <tqcombobox.h>
+#include <tqdatetime.h>
+#include <tqmap.h>
#include <kdepimmacros.h>
@@ -56,14 +56,14 @@ class KDE_EXPORT KDateEdit : public QComboBox
Q_OBJECT
public:
- KDateEdit( QWidget *parent = 0, const char *name = 0 );
+ KDateEdit( TQWidget *parent = 0, const char *name = 0 );
virtual ~KDateEdit();
/**
@return The date entered. This date could be invalid,
you have to check validity yourself.
*/
- QDate date() const;
+ TQDate date() const;
/**
Sets whether the widget is read-only for the user. If read-only,
@@ -87,13 +87,13 @@ class KDE_EXPORT KDateEdit : public QComboBox
the signal is not emitted until focus leaves the line edit field.
The passed date can be invalid.
*/
- void dateEntered( const QDate &date );
+ void dateEntered( const TQDate &date );
/**
This signal is emitted whenever the user modifies the date.
The passed date can be invalid.
*/
- void dateChanged( const QDate &date );
+ void dateChanged( const TQDate &date );
public slots:
/**
@@ -102,29 +102,29 @@ class KDE_EXPORT KDateEdit : public QComboBox
@param date The new date to display. This date must be valid or
it will not be set
*/
- void setDate( const QDate &date );
+ void setDate( const TQDate &date );
protected slots:
void lineEnterPressed();
- void slotTextChanged( const QString& );
- void dateSelected( QDate );
+ void slotTextChanged( const TQString& );
+ void dateSelected( TQDate );
protected:
- virtual bool eventFilter( QObject*, QEvent* );
- virtual void mousePressEvent( QMouseEvent* );
+ virtual bool eventFilter( TQObject*, TQEvent* );
+ virtual void mousePressEvent( TQMouseEvent* );
/**
Sets the date, without altering the display.
This method is used internally to set the widget's date value.
As a virtual method, it allows derived classes to perform additional validation
on the date value before it is set. Derived classes should return true if
- QDate::isValid(@p date) returns false.
+ TQDate::isValid(@p date) returns false.
@param date The new date to set.
@return True if the date was set, false if it was considered invalid and
remains unchanged.
*/
- virtual bool assignDate( const QDate &date );
+ virtual bool assignDate( const TQDate &date );
/**
Fills the keyword map. Reimplement it if you want additional
@@ -133,17 +133,17 @@ class KDE_EXPORT KDateEdit : public QComboBox
void setupKeywords();
private:
- QDate parseDate( bool* = 0 ) const;
+ TQDate parseDate( bool* = 0 ) const;
void updateView();
KDatePickerPopup *mPopup;
- QDate mDate;
+ TQDate mDate;
bool mReadOnly;
bool mTextChanged;
bool mDiscardNextMousePress;
- QMap<QString, int> mKeywordMap;
+ TQMap<TQString, int> mKeywordMap;
};
#endif