summaryrefslogtreecommitdiffstats
path: root/libkdepim/kdateedit.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/kdateedit.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/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 962e2a8a8..6fc04bd58 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