SVN_SILENT: --trailing whitespace (so no fighting with kate, or gunk in my next commits)

svn path=/trunk/KDE/kdebase/workspace/; revision=743010
This commit is contained in:
Matthew Woehlke 2007-11-29 17:00:27 +00:00
parent fc23037d3a
commit e3c96063ca

View file

@ -71,7 +71,7 @@ public:
MaximizeVertical = 1, ///< The window is maximized vertically. MaximizeVertical = 1, ///< The window is maximized vertically.
MaximizeHorizontal = 2, ///< The window is maximized horizontally. MaximizeHorizontal = 2, ///< The window is maximized horizontally.
/// Equal to @p MaximizeVertical | @p MaximizeHorizontal /// Equal to @p MaximizeVertical | @p MaximizeHorizontal
MaximizeFull = MaximizeVertical | MaximizeHorizontal MaximizeFull = MaximizeVertical | MaximizeHorizontal
}; };
enum WindowOperation enum WindowOperation
@ -115,7 +115,7 @@ public:
ColorHandle, ///< The color for the resize handle ColorHandle, ///< The color for the resize handle
NUM_COLORS NUM_COLORS
}; };
/** /**
* These flags specify which settings changed when rereading settings. * These flags specify which settings changed when rereading settings.
* Each setting in class KDecorationOptions specifies its matching flag. * Each setting in class KDecorationOptions specifies its matching flag.
@ -129,7 +129,7 @@ public:
SettingTooltips = 1 << 4, ///< The tooltip setting was changed SettingTooltips = 1 << 4, ///< The tooltip setting was changed
SettingBorder = 1 << 5 ///< The border size setting was changed SettingBorder = 1 << 5 ///< The border size setting was changed
}; };
/** /**
* Border size. KDecorationOptions::preferredBorderSize() returns * Border size. KDecorationOptions::preferredBorderSize() returns
* one of these values. * one of these values.
@ -168,7 +168,7 @@ public:
}; };
enum Requirement { REQUIREMENT_DUMMY = 1000000 }; enum Requirement { REQUIREMENT_DUMMY = 1000000 };
}; };
class KDecorationProvides class KDecorationProvides
: public KDecorationDefines : public KDecorationDefines
@ -267,7 +267,7 @@ public:
* The changed flags for this setting is SettingTooltips. * The changed flags for this setting is SettingTooltips.
*/ */
bool showTooltips() const; bool showTooltips() const;
/** /**
* The preferred border size selected by the user, e.g. for accessibility * The preferred border size selected by the user, e.g. for accessibility
* reasons, or when using high resolution displays. It's up to the decoration * reasons, or when using high resolution displays. It's up to the decoration
@ -327,9 +327,9 @@ class KWIN_EXPORT KDecoration
* Destroys the KDecoration. * Destroys the KDecoration.
*/ */
virtual ~KDecoration(); virtual ~KDecoration();
// requests from decoration // requests from decoration
/** /**
* Returns the KDecorationOptions object, which is used to access * Returns the KDecorationOptions object, which is used to access
* configuration settings for the decoration. * configuration settings for the decoration.
@ -422,7 +422,7 @@ class KWIN_EXPORT KDecoration
* to support older code). For a description of all window types, * to support older code). For a description of all window types,
* see the definition of the NET::WindowType type. Note that * see the definition of the NET::WindowType type. Note that
* some window types never have decorated windows. * some window types never have decorated windows.
* *
* An example of usage: * An example of usage:
* @code * @code
* const unsigned long supported_types = NET::NormalMask | NET::DesktopMask * const unsigned long supported_types = NET::NormalMask | NET::DesktopMask
@ -447,12 +447,12 @@ class KWIN_EXPORT KDecoration
*/ */
QString caption() const; QString caption() const;
/** /**
* This function invokes the window operations menu. * This function invokes the window operations menu.
* \param pos specifies the place on the screen where the menu should * \param pos specifies the place on the screen where the menu should
* show up. The menu pops up at the bottom-left corner of the specified * show up. The menu pops up at the bottom-left corner of the specified
* rectangle, unless there is no space, in which case the menu is * rectangle, unless there is no space, in which case the menu is
* displayed above the rectangle. * displayed above the rectangle.
* *
* \note Decorations that enable a double-click operation for the menu * \note Decorations that enable a double-click operation for the menu
* button must ensure to call \a showWindowMenu() with the \a pos * button must ensure to call \a showWindowMenu() with the \a pos
* rectangle set to the menu button geometry. * rectangle set to the menu button geometry.
@ -475,7 +475,7 @@ class KWIN_EXPORT KDecoration
void showWindowMenu( const QRect &pos ); void showWindowMenu( const QRect &pos );
/** /**
* Overloaded version of the above. * Overloaded version of the above.
*/ */
void showWindowMenu( QPoint pos ); void showWindowMenu( QPoint pos );
/** /**
@ -557,7 +557,7 @@ class KWIN_EXPORT KDecoration
* instead of in the constructor. * instead of in the constructor.
*/ */
virtual void init() = 0; // called once right after created virtual void init() = 0; // called once right after created
/** /**
* This function should return mouse cursor position in the decoration. * This function should return mouse cursor position in the decoration.
* Positions at the edge will result in window resizing with mouse button * Positions at the edge will result in window resizing with mouse button
@ -669,7 +669,7 @@ class KWIN_EXPORT KDecoration
/** /**
* This function is called to reset the decoration on settings changes. * This function is called to reset the decoration on settings changes.
* It is usually invoked by calling KDecorationFactory::resetDecorations(). * 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 masks
*/ */
virtual void reset( unsigned long changed ); virtual void reset( unsigned long changed );
@ -681,7 +681,7 @@ class KWIN_EXPORT KDecoration
* the main widget of the decoration. The widget should be created * the main widget of the decoration. The widget should be created
* with parent specified by initialParentWidget() and flags * with parent specified by initialParentWidget() and flags
* specified by initialWFlags(). * specified by initialWFlags().
*/ */
void setMainWidget( QWidget* ); void setMainWidget( QWidget* );
/** /**
* Convenience functions that creates and sets a main widget as necessary. * Convenience functions that creates and sets a main widget as necessary.
@ -728,7 +728,7 @@ class KWIN_EXPORT KDecoration
// requests from decoration // requests from decoration
/** /**
* This function can be called by the decoration to request * This function can be called by the decoration to request
* closing of the decorated window. Note that closing the window * closing of the decorated window. Note that closing the window
* also involves destroying the decoration. * also involves destroying the decoration.
* IMPORTANT: This function may destroy the current decoration object, * IMPORTANT: This function may destroy the current decoration object,
@ -849,10 +849,10 @@ inline int KDecoration::width() const
{ {
return geometry().width(); return geometry().width();
} }
inline int KDecoration::height() const inline int KDecoration::height() const
{ {
return geometry().height(); return geometry().height();
} }
#endif #endif