summaryrefslogtreecommitdiffstats
path: root/kexi/widget/tableview/kexidatetimetableedit.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/widget/tableview/kexidatetimetableedit.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/widget/tableview/kexidatetimetableedit.h')
-rw-r--r--kexi/widget/tableview/kexidatetimetableedit.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/kexi/widget/tableview/kexidatetimetableedit.h b/kexi/widget/tableview/kexidatetimetableedit.h
index c2f9eba8..6fb88a67 100644
--- a/kexi/widget/tableview/kexidatetimetableedit.h
+++ b/kexi/widget/tableview/kexidatetimetableedit.h
@@ -26,7 +26,7 @@
#include "kexitimetableedit.h"
/*! @short Editor class for Date/Time type.
- It is a replacement QDateTimeEdit due to usability problems:
+ It is a replacement TQDateTimeEdit due to usability problems:
people are accustomed to use single-character cursor.
Date and Time format is retrieved from the KDE global settings
and input/output is performed using KLineEdit (from KexiInputTableEdit).
@@ -34,27 +34,28 @@
class KexiDateTimeTableEdit : public KexiInputTableEdit
{
Q_OBJECT
+ TQ_OBJECT
public:
- KexiDateTimeTableEdit(KexiTableViewColumn &column, QWidget *parent=0);
+ KexiDateTimeTableEdit(KexiTableViewColumn &column, TQWidget *tqparent=0);
virtual ~KexiDateTimeTableEdit();
- virtual void setupContents( QPainter *p, bool focused, const QVariant& val,
- QString &txt, int &align, int &x, int &y_offset, int &w, int &h );
- virtual QVariant value();
+ virtual void setupContents( TQPainter *p, bool focused, const TQVariant& val,
+ TQString &txt, int &align, int &x, int &y_offset, int &w, int &h );
+ virtual TQVariant value();
virtual bool valueIsNull();
virtual bool valueIsEmpty();
virtual bool valueIsValid();
/*! Reimplemented after KexiInputTableEdit. */
- virtual void handleAction(const QString& actionName);
+ virtual void handleAction(const TQString& actionName);
/*! Reimplemented after KexiInputTableEdit. */
- virtual void handleCopyAction(const QVariant& value, const QVariant& visibleValue);
+ virtual void handleCopyAction(const TQVariant& value, const TQVariant& visibleValue);
protected:
//! helper
- void setValueInInternalEditor(const QVariant &value);
- virtual void setValueInternal(const QVariant& add, bool removeOld);
+ void setValueInInternalEditor(const TQVariant &value);
+ virtual void setValueInternal(const TQVariant& add, bool removeOld);
bool textIsEmpty() const;
//! Used to format and convert date values