diff options
author | Mavridis Philippe <[email protected]> | 2021-06-25 19:05:29 +0300 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2021-06-25 19:15:54 +0300 |
commit | a26e231b46ac6433f6500ddc9ed6b466cf38cc21 (patch) | |
tree | eca43ec26318abfef06040103c74ccd6f1ac02eb /src/SUSE2client.h | |
parent | d5914d4d3223d1bca7b1b845a229af9f30466189 (diff) | |
download | twin-style-suse2-a26e231b46ac6433f6500ddc9ed6b466cf38cc21.tar.gz twin-style-suse2-a26e231b46ac6433f6500ddc9ed6b466cf38cc21.zip |
Conversion Qt3→TQt
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/SUSE2client.h')
-rw-r--r-- | src/SUSE2client.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/SUSE2client.h b/src/SUSE2client.h index ad62a1c..f13311c 100644 --- a/src/SUSE2client.h +++ b/src/SUSE2client.h @@ -44,34 +44,34 @@ public: ~SUSE2Client(); // pure virtual methods from KCommonDecoration - virtual QString visibleName() const; - virtual QString defaultButtonsLeft() const; - virtual QString defaultButtonsRight() const; + virtual TQString visibleName() const; + virtual TQString defaultButtonsLeft() const; + virtual TQString defaultButtonsRight() const; virtual KCommonDecorationButton *createButton(ButtonType type); virtual bool decorationBehaviour(DecorationBehaviour behaviour) const; virtual int layoutMetric(LayoutMetric lm, bool respectWindowState = true, const KCommonDecorationButton * = 0) const; - virtual QRegion cornerShape(WindowCorner corner); + virtual TQRegion cornerShape(WindowCorner corner); virtual void updateCaption(); virtual void init(); - const QPixmap &getTitleBarTile(bool active) const + const TQPixmap &getTitleBarTile(bool active) const { return active ? *aTitleBarTile : *iTitleBarTile; } protected: - virtual void paintEvent(QPaintEvent *e); + virtual void paintEvent(TQPaintEvent *e); virtual void reset(unsigned long changed); private: - QPixmap *aCaptionBuffer, *iCaptionBuffer; + TQPixmap *aCaptionBuffer, *iCaptionBuffer; void update_captionBuffer(); - QPixmap *aTitleBarTile, *iTitleBarTile; - QImage gradient; - QColor aGradientBottom, iGradientBottom, aAntialiasBase, iAntialiasBase; + TQPixmap *aTitleBarTile, *iTitleBarTile; + TQImage gradient; + TQColor aGradientBottom, iGradientBottom, aAntialiasBase, iAntialiasBase; bool pixmaps_created; void create_pixmaps(); void delete_pixmaps(); @@ -79,7 +79,7 @@ private: bool captionBufferDirty; // settings... - QFont s_titleFont; + TQFont s_titleFont; }; } // KWinSUSE2 |