summaryrefslogtreecommitdiffstats
path: root/src/gvcore/clicklineedit.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 21:04:57 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 21:04:57 +0000
commitbf7f88413be3831a9372d323d02fc0335b9f9188 (patch)
tree516fdef9206245b40a14f99b4e3d9ef9289196e0 /src/gvcore/clicklineedit.h
parente238aa77b1fb3c2f55aef2ef2c91ce52166d2cc8 (diff)
downloadgwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.tar.gz
gwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.zip
TQt4 port Gwenview
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1233720 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gvcore/clicklineedit.h')
-rw-r--r--src/gvcore/clicklineedit.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/gvcore/clicklineedit.h b/src/gvcore/clicklineedit.h
index 05624eb..84259e8 100644
--- a/src/gvcore/clicklineedit.h
+++ b/src/gvcore/clicklineedit.h
@@ -35,23 +35,24 @@ namespace Gwenview {
class ClickLineEdit : public KLineEdit
{
Q_OBJECT
- Q_PROPERTY( QString clickMessage READ clickMessage WRITE setClickMessage )
+ TQ_OBJECT
+ TQ_PROPERTY( TQString clickMessage READ clickMessage WRITE setClickMessage )
public:
- ClickLineEdit(QWidget *parent, const char* name = 0 );
+ ClickLineEdit(TQWidget *tqparent, const char* name = 0 );
- void setClickMessage( const QString &msg );
- QString clickMessage() const { return mClickMessage; }
+ void setClickMessage( const TQString &msg );
+ TQString clickMessage() const { return mClickMessage; }
- virtual void setText( const QString& txt );
+ virtual void setText( const TQString& txt );
protected:
- virtual void drawContents( QPainter *p );
- virtual void dropEvent( QDropEvent *ev );
- virtual void focusInEvent( QFocusEvent *ev );
- virtual void focusOutEvent( QFocusEvent *ev );
+ virtual void drawContents( TQPainter *p );
+ virtual void dropEvent( TQDropEvent *ev );
+ virtual void focusInEvent( TQFocusEvent *ev );
+ virtual void focusOutEvent( TQFocusEvent *ev );
private:
- QString mClickMessage;
+ TQString mClickMessage;
bool mDrawClickMsg;
};