summaryrefslogtreecommitdiffstats
path: root/kfind/kdatecombo.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kfind/kdatecombo.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfind/kdatecombo.h')
-rw-r--r--kfind/kdatecombo.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kfind/kdatecombo.h b/kfind/kdatecombo.h
index 12f66174a..ab714a3ba 100644
--- a/kfind/kdatecombo.h
+++ b/kfind/kdatecombo.h
@@ -7,9 +7,9 @@
#ifndef KDATECOMBO_H
#define KDATECOMBO_H
-#include <qwidget.h>
-#include <qcombobox.h>
-#include <qdatetime.h>
+#include <tqwidget.h>
+#include <tqcombobox.h>
+#include <tqdatetime.h>
/**
*@author Beppe Grimaldi
@@ -18,32 +18,32 @@
class KDatePicker;
class KPopupFrame;
-class KDateCombo : public QComboBox {
+class KDateCombo : public TQComboBox {
Q_OBJECT
public:
- KDateCombo(QWidget *parent=0, const char *name=0);
- KDateCombo(const QDate & date, QWidget *parent=0, const char *name=0);
+ KDateCombo(TQWidget *parent=0, const char *name=0);
+ KDateCombo(const TQDate & date, TQWidget *parent=0, const char *name=0);
~KDateCombo();
- QDate & getDate(QDate *currentDate);
- bool setDate(const QDate & newDate);
+ TQDate & getDate(TQDate *currentDate);
+ bool setDate(const TQDate & newDate);
private:
KPopupFrame * popupFrame;
KDatePicker * datePicker;
- void initObject(const QDate & date, QWidget *parent, const char *name);
+ void initObject(const TQDate & date, TQWidget *parent, const char *name);
- QString date2String(const QDate &);
- QDate & string2Date(const QString &, QDate * );
+ TQString date2String(const TQDate &);
+ TQDate & string2Date(const TQString &, TQDate * );
protected:
- bool eventFilter (QObject*, QEvent*);
- virtual void mousePressEvent (QMouseEvent * e);
+ bool eventFilter (TQObject*, TQEvent*);
+ virtual void mousePressEvent (TQMouseEvent * e);
protected slots:
- void dateEnteredEvent(QDate d=QDate());
+ void dateEnteredEvent(TQDate d=TQDate());
};
#endif