summaryrefslogtreecommitdiffstats
path: root/kwin/lib/kcommondecoration.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
commit495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch)
treedaabcb652c07b9a17cad88ca50b63a2d91ead4a3 /kwin/lib/kcommondecoration.h
parent50001f1757f97510e80cb1990e2f2d5b00144c2a (diff)
downloadtdebase-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/kcommondecoration.h')
-rw-r--r--kwin/lib/kcommondecoration.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kwin/lib/kcommondecoration.h b/kwin/lib/kcommondecoration.h
index f515a7da7..64e852e77 100644
--- a/kwin/lib/kcommondecoration.h
+++ b/kwin/lib/kcommondecoration.h
@@ -54,7 +54,7 @@ class KCommonDecorationPrivate;
/**
* This class eases development of decorations by implementing parts of KDecoration
* which are error prone and common for most decorations.
- * It takes care of the window layout, button/action handling, and window mask creation.
+ * It takes care of the window tqlayout, button/action handling, and window tqmask creation.
*/
class KWIN_EXPORT KCommonDecoration : public KDecoration
{
@@ -65,7 +65,7 @@ class KWIN_EXPORT KCommonDecoration : public KDecoration
virtual ~KCommonDecoration();
/**
- * Used to calculate the decoration layout. The basic layout looks like this:
+ * Used to calculate the decoration tqlayout. The basic tqlayout looks like this:
*
* Window:
* _______________________________________________________________
@@ -95,7 +95,7 @@ class KWIN_EXPORT KCommonDecoration : public KDecoration
* | button | spacing | button | spacing | explicit spacer | spacing | ... | spacing | button |
* |________|_________|________|_________|_________________|_________|________|_________|________|
*
- * @see layoutMetric()
+ * @see tqlayoutMetric()
*/
enum LayoutMetric
{
@@ -119,7 +119,7 @@ class KWIN_EXPORT KCommonDecoration : public KDecoration
enum DecorationBehaviour
{
DB_MenuClose, ///< Close window on double clicking the menu
- DB_WindowMask, ///< Set a mask on the window
+ DB_WindowMask, ///< Set a tqmask on the window
DB_ButtonHide ///< Hide buttons when there is not enough space in the titlebar
};
@@ -155,13 +155,13 @@ class KWIN_EXPORT KCommonDecoration : public KDecoration
virtual bool decorationBehaviour(DecorationBehaviour behaviour) const;
/**
- * This controls the layout of the decoration in various ways. It is
- * possible to have a different layout for different window states.
- * @param lm The layout element.
+ * This controls the tqlayout of the decoration in various ways. It is
+ * possible to have a different tqlayout for different window states.
+ * @param lm The tqlayout element.
* @param respectWindowState Whether window states should be taken into account or a "default" state should be assumed.
* @param button For LM_ButtonWidth and LM_ButtonHeight, the button.
*/
- virtual int layoutMetric(LayoutMetric lm, bool respectWindowState = true, const KCommonDecorationButton *button = 0) const;
+ virtual int tqlayoutMetric(LayoutMetric lm, bool respectWindowState = true, const KCommonDecorationButton *button = 0) const;
/**
* Create a new title bar button. KCommonDecoration takes care of memory management.
@@ -170,14 +170,14 @@ class KWIN_EXPORT KCommonDecoration : public KDecoration
virtual KCommonDecorationButton *createButton(ButtonType type) = 0;
/**
- * @return the mask for the specific window corner.
+ * @return the tqmask for the specific window corner.
*/
virtual TQRegion cornerShape(WindowCorner corner);
/**
- * This updates the window mask using the information provided by
+ * This updates the window tqmask using the information provided by
* cornerShape(). Edges which are aligned to screen corners are not
- * shaped for better usability (remember to paint these areas in paintEvent(), too).
+ * tqshaped for better usability (remember to paint these areas in paintEvent(), too).
* You normally don't want/need to reimplement updateWindowShape().
* @see cornerShape()
*/
@@ -202,7 +202,7 @@ class KWIN_EXPORT KCommonDecoration : public KDecoration
*/
void updateLayout() const;
/**
- * Makes sure all buttons are repainted.
+ * Makes sure all buttons are tqrepainted.
*/
void updateButtons() const;
/**
@@ -223,7 +223,7 @@ class KWIN_EXPORT KCommonDecoration : public KDecoration
public:
/**
- * Handles widget and layout creation, call the base implementation when subclassing this member.
+ * Handles widget and tqlayout creation, call the base implementation when subclassing this member.
*/
virtual void init();
/**
@@ -233,7 +233,7 @@ class KWIN_EXPORT KCommonDecoration : public KDecoration
virtual void borders( int& left, int& right, int& top, int& bottom ) const;
virtual void show();
virtual void resize(const TQSize& s);
- virtual TQSize minimumSize() const;
+ virtual TQSize tqminimumSize() const;
virtual void maximizeChange();
virtual void desktopChange();
virtual void shadeChange();
@@ -343,7 +343,7 @@ class KWIN_EXPORT KCommonDecorationButton : public QButton
*/
ButtonState lastMousePress() const { return m_lastMouse; }
- TQSize sizeHint() const;
+ TQSize tqsizeHint() const;
protected:
void setToggleButton(bool toggle);