From f7e71d47719ab6094cf4a9fafffa5ea351973522 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 13 Jan 2011 08:32:36 +0000 Subject: Initial conversion for TQt for Qt4 3.4.0 TP2 This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeui/ktoolbar.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'kdeui/ktoolbar.h') diff --git a/kdeui/ktoolbar.h b/kdeui/ktoolbar.h index 9c85e5fc2..aff0331e6 100644 --- a/kdeui/ktoolbar.h +++ b/kdeui/ktoolbar.h @@ -55,13 +55,14 @@ class KXMLGUIClient; class KToolBarPrivate; -class KDEUI_EXPORT KToolBarSeparator : public QFrame +class KDEUI_EXPORT KToolBarSeparator : public TQFrame { Q_OBJECT + TQ_OBJECT public: KToolBarSeparator( Orientation, bool l, TQToolBar *parent, const char* name=0 ); - TQSize sizeHint() const; + TQSize tqsizeHint() const; Orientation orientation() const { return orient; } TQSizePolicy sizePolicy() const; bool showLine() const { return line; } @@ -90,7 +91,7 @@ private: * Once you have a KToolBar object, you can insert items into it with the * insert... methods, or remove them with the removeItem() method. This * can be done at any time; the toolbar will be automatically updated. - * There are also many methods to set per-child properties like alignment + * There are also many methods to set per-child properties like tqalignment * and toggle behavior. * * KToolBar uses a global config group to load toolbar settings on @@ -100,9 +101,10 @@ private: * @author Reginald Stadlbauer , Stephan Kulow , Sven Radej . */ -class KDEUI_EXPORT KToolBar : public QToolBar +class KDEUI_EXPORT KToolBar : public TQToolBar { Q_OBJECT + TQ_OBJECT Q_ENUMS( IconText BarPosition ) Q_PROPERTY( IconText iconText READ iconText WRITE setIconText ) Q_PROPERTY( BarPosition barPos READ barPos WRITE setBarPos ) @@ -943,9 +945,9 @@ public: void setStretchableWidget( TQWidget *w ); TQSizePolicy sizePolicy() const; bool highlight() const; - TQSize sizeHint() const; - TQSize minimumSizeHint() const; - TQSize minimumSize() const; + TQSize tqsizeHint() const; + TQSize tqminimumSizeHint() const; + TQSize tqminimumSize() const; void hide(); void show(); -- cgit v1.2.1