From a2277b6bc715464e83882b90c2a058139b8a6b54 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 23 Jun 2011 01:42:07 +0000 Subject: TQt4 port kdeutils This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksim/library/label.h | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'ksim/library/label.h') diff --git a/ksim/library/label.h b/ksim/library/label.h index 7d77aa6..78136d4 100644 --- a/ksim/library/label.h +++ b/ksim/library/label.h @@ -37,11 +37,12 @@ namespace KSim class KDE_EXPORT Label : public TQWidget, public KSim::Base { Q_OBJECT + TQ_OBJECT public: /** * Constructs a KSim::Label. * - * @param parent is the parent widget + * @param tqparent is the tqparent widget * * Example usage: *
@@ -50,12 +51,12 @@ namespace KSim
        * To create a KSim::Label with the normal theme look
        * @see KSim::ThemeLoader
        */
-      Label(TQWidget *parent, const char *name = 0, WFlags fl = 0);
+      Label(TQWidget *tqparent, const char *name = 0, WFlags fl = 0);
       /**
        * Constructs a KSimLabel.
        *
        * @param type is the theme type
-       * @param parent is the parent widget
+       * @param tqparent is the tqparent widget
        *
        * Example usage:
        * 
@@ -65,13 +66,13 @@ namespace KSim
        * NOTE: this is the same as the KSim::Label(TQWidget *, const char *, WFlags) ctor
        * @see KSim::ThemeLoader
        */
-      Label(int type, TQWidget *parent, const char *name = 0, WFlags fl = 0);
+      Label(int type, TQWidget *tqparent, const char *name = 0, WFlags fl = 0);
       /**
        * Constructs a KSim::Label.
        *
        * @param type is the theme type
        * @param text is the default text to display
-       * @param parent is the parent widget
+       * @param tqparent is the tqparent widget
        *
        * Example usage:
        * 
@@ -81,7 +82,7 @@ namespace KSim
        * @see KSim::ThemeLoader
        */
       Label(int type, const TQString &text,
-           TQWidget *parent, const char *name = 0, WFlags fl = 0);
+           TQWidget *tqparent, const char *name = 0, WFlags fl = 0);
       /**
        * destructs KSim::Label.
        */
@@ -95,7 +96,7 @@ namespace KSim
       /**
        * recreates the labels look & feel
        */
-      virtual void configureObject(bool repaintWidget = true);
+      virtual void configureObject(bool tqrepaintWidget = true);
       /**
        * sets a pixmap for the label
        */
@@ -107,11 +108,11 @@ namespace KSim
       /**
        * reimplemented for internal reasons
        */
-      virtual TQSize sizeHint() const;
+      virtual TQSize tqsizeHint() const;
       /**
        * reimplemented for internal reasons
        */
-      virtual TQSize minimumSizeHint() const;
+      virtual TQSize tqminimumSizeHint() const;
 
     public slots:
       /**
@@ -195,7 +196,7 @@ namespace KSim
        * sets the background image to be painted
        */
       void setThemePixmap(const TQString &image);
-      void relayoutLabel(const TQSize &old, bool repaint = true);
+      void retqlayoutLabel(const TQSize &old, bool tqrepaint = true);
 
     private:
       /**
-- 
cgit v1.2.3