summaryrefslogtreecommitdiffstats
path: root/src/gui/datewidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/datewidget.h')
-rw-r--r--src/gui/datewidget.h32
1 files changed, 17 insertions, 15 deletions
diff --git a/src/gui/datewidget.h b/src/gui/datewidget.h
index 93d7bcb..9575af9 100644
--- a/src/gui/datewidget.h
+++ b/src/gui/datewidget.h
@@ -14,40 +14,42 @@
#ifndef TELLICODATEWIDGET_H
#define TELLICODATEWIDGET_H
-#include <qspinbox.h>
-#include <qdatetime.h>
+#include <tqspinbox.h>
+#include <tqdatetime.h>
class KComboBox;
class KPushButton;
class KDatePicker;
-class QVBox;
-class QString;
+class TQVBox;
+class TQString;
namespace Tellico {
namespace GUI {
-class SpinBox : public QSpinBox {
+class SpinBox : public TQSpinBox {
Q_OBJECT
+ TQ_OBJECT
public:
- SpinBox(int min, int max, QWidget *parent);
+ SpinBox(int min, int max, TQWidget *tqparent);
};
/**
* @author Robby Stephenson
*/
-class DateWidget : public QWidget {
+class DateWidget : public TQWidget {
Q_OBJECT
+ TQ_OBJECT
public:
- DateWidget(QWidget* parent, const char* name = 0);
+ DateWidget(TQWidget* tqparent, const char* name = 0);
~DateWidget() {}
- QDate date() const;
- QString text() const;
- void setDate(const QDate& date);
- void setDate(const QString& date);
+ TQDate date() const;
+ TQString text() const;
+ void setDate(const TQDate& date);
+ void setDate(const TQString& date);
void clear();
signals:
@@ -56,8 +58,8 @@ signals:
private slots:
void slotDateChanged();
void slotShowPicker();
- void slotDateSelected(QDate newDate);
- void slotDateEntered(QDate newDate);
+ void slotDateSelected(TQDate newDate);
+ void slotDateEntered(TQDate newDate);
private:
SpinBox* m_daySpin;
@@ -65,7 +67,7 @@ private:
SpinBox* m_yearSpin;
KPushButton* m_dateButton;
- QVBox* m_frame;
+ TQVBox* m_frame;
KDatePicker* m_picker;
};