diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 |
commit | 495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch) | |
tree | daabcb652c07b9a17cad88ca50b63a2d91ead4a3 /kwin/lib/kdecoration.h | |
parent | 50001f1757f97510e80cb1990e2f2d5b00144c2a (diff) | |
download | tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/lib/kdecoration.h')
-rw-r--r-- | kwin/lib/kdecoration.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kwin/lib/kdecoration.h b/kwin/lib/kdecoration.h index f41f19041..89cdf95a5 100644 --- a/kwin/lib/kdecoration.h +++ b/kwin/lib/kdecoration.h @@ -127,7 +127,7 @@ public: SettingDecoration = 1 << 0, ///< The decoration was changed SettingColors = 1 << 1, ///< The color palette was changed SettingFont = 1 << 2, ///< The titlebar font was changed - SettingButtons = 1 << 3, ///< The button layout was changed + SettingButtons = 1 << 3, ///< The button tqlayout was changed SettingTooltips = 1 << 4, ///< The tooltip setting was changed SettingBorder = 1 << 5 ///< The border size setting was changed }; @@ -205,7 +205,7 @@ public: * @param type The requested color type. * @param active Whether to return the color for active or inactive windows. */ - const TQColorGroup& colorGroup(ColorType type, bool active=true) const; + const TQColorGroup& tqcolorGroup(ColorType type, bool active=true) const; /** * Returns the active or inactive decoration font. * The changed flags for this setting is SettingFont. @@ -291,7 +291,7 @@ public: /** * @internal */ - virtual unsigned long updateSettings() = 0; // returns SettingXYZ mask + virtual unsigned long updateSettings() = 0; // returns SettingXYZ tqmask protected: /** @@ -412,7 +412,7 @@ class KWIN_EXPORT KDecoration bool isResizable() const; /** * This function returns the window type of the decorated window. - * The argument to this function is a mask of all window types + * The argument to this function is a tqmask of all window types * the decoration knows about (as the list of valid window types * is extended over time, and fallback types are specified in order * to support older code). For a description of all window types, @@ -451,7 +451,7 @@ class KWIN_EXPORT KDecoration * * \note Decorations that enable a double-click operation for the menu * button must ensure to call \a showWindowMenu() with the \a pos - * rectangle set to the menu button geometry. + * rectangle set to the menu button tqgeometry. * IMPORTANT: As a result of this function, the decoration object that * called it may be destroyed after the function returns. This means * that the decoration object must either return immediately after @@ -481,15 +481,15 @@ class KWIN_EXPORT KDecoration void performWindowOperation( WindowOperation op ); /** * If the decoration is non-rectangular, this function needs to be called - * to set the shape of the decoration. + * to set the tqshape of the decoration. * - * @param reg The shape of the decoration. + * @param reg The tqshape of the decoration. * @param mode The X11 values Unsorted, YSorted, YXSorted and YXBanded that specify * the sorting of the rectangles, default value is Unsorted. */ void setMask( const TQRegion& reg, int mode = 0 ); /** - * This convenience function resets the shape mask. + * This convenience function resets the tqshape tqmask. */ void clearMask(); // convenience /** @@ -499,13 +499,13 @@ class KWIN_EXPORT KDecoration */ bool isPreview() const; /** - * Returns the geometry of the decoration. + * Returns the tqgeometry of the decoration. */ - TQRect geometry() const; + TQRect tqgeometry() const; /** - * Returns the icon geometry for the window, i.e. the geometry of the taskbar + * Returns the icon tqgeometry for the window, i.e. the tqgeometry of the taskbar * entry. This is used mainly for window minimize animations. Note that - * the geometry may be null. + * the tqgeometry may be null. */ TQRect iconGeometry() const; /** @@ -573,13 +573,13 @@ class KWIN_EXPORT KDecoration * whether it's shaded. Decorations often turn off their bottom border when the * window is shaded, and turn off their left/right/bottom borders when * the window is maximized and moving and resizing of maximized windows is disabled. - * This function mustn't do any repaints or resizes. Also, if the sizes returned + * This function mustn't do any tqrepaints or resizes. Also, if the sizes returned * by this function don't match the real values, this may result in drawing errors * or other problems. * * @see KDecorationOptions::moveResizeMaximizedWindows() */ - // mustn't do any repaints, resizes or anything like that + // mustn't do any tqrepaints, resizes or anything like that virtual void borders( int& left, int& right, int& top, int& bottom ) const = 0; /** * This method is called by kwin when the style should resize the decoration window. @@ -594,7 +594,7 @@ class KWIN_EXPORT KDecoration * Note that the returned size shouldn't be too large, because it will be * used to keep the decorated window at least as large. */ - virtual TQSize minimumSize() const = 0; + virtual TQSize tqminimumSize() const = 0; /** * This function is called whenever the window either becomes or stops being active. * Use isActive() to find out the current state. @@ -647,10 +647,10 @@ class KWIN_EXPORT KDecoration * you should compensate for the 2 pixels that would make the window * look larger. * - * @param geom The geometry at this the bound should be drawn + * @param geom The tqgeometry at this the bound should be drawn * @param clear @a true if the bound should be cleared * - * @see workspaceWidget() and geometry(). + * @see workspaceWidget() and tqgeometry(). */ virtual bool drawbound( const TQRect& geom, bool clear ); /** @@ -661,7 +661,7 @@ class KWIN_EXPORT KDecoration * @a False should be returned if the default implementation should be used. * Note that you should not use this function to force disabling of the animation. * - * @see workspaceWidget(), geometry() and helperShowHide(). + * @see workspaceWidget(), tqgeometry() and helperShowHide(). */ virtual bool animateMinimize( bool minimize ); /** @@ -673,7 +673,7 @@ class KWIN_EXPORT KDecoration * This function is called to reset the decoration on settings changes. * It is usually invoked by calling KDecorationFactory::resetDecorations(). * - * @param changed Specifies which settings were changed, given by the SettingXXX masks + * @param changed Specifies which settings were changed, given by the SettingXXX tqmasks */ virtual void reset( unsigned long changed ); @@ -877,12 +877,12 @@ inline bool KDecoration::isOnAllDesktops() const inline int KDecoration::width() const { - return geometry().width(); + return tqgeometry().width(); } inline int KDecoration::height() const { - return geometry().height(); + return tqgeometry().height(); } #endif |