These warnings were pretty annoying.
svn path=/branches/work/kwin_composite/; revision=558180
This commit is contained in:
parent
157372f2e7
commit
a23d4f820b
2 changed files with 2 additions and 17 deletions
|
@ -446,4 +446,6 @@ KDecorationDefines::WindowOperation KDecorationOptions::operationMaxButtonClick(
|
||||||
d->OpMaxButtonLeftClick;
|
d->OpMaxButtonLeftClick;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#warning Redo all the XYZChange() virtuals as signals.
|
||||||
|
|
||||||
#include "kdecoration.moc"
|
#include "kdecoration.moc"
|
||||||
|
|
|
@ -621,7 +621,6 @@ class KWIN_EXPORT KDecoration
|
||||||
* isShade() to get the current state.
|
* isShade() to get the current state.
|
||||||
*/
|
*/
|
||||||
virtual void shadeChange() = 0;
|
virtual void shadeChange() = 0;
|
||||||
#warning Redo all the XYZChange() virtuals as signals.
|
|
||||||
signals:
|
signals:
|
||||||
/**
|
/**
|
||||||
* This signal is emitted whenever the window's keep-above state changes.
|
* This signal is emitted whenever the window's keep-above state changes.
|
||||||
|
@ -742,23 +741,7 @@ class KWIN_EXPORT KDecoration
|
||||||
* Changes the maximize mode of the decorated window. This function should
|
* Changes the maximize mode of the decorated window. This function should
|
||||||
* be preferred to the other maximize() overload for reacting on clicks
|
* be preferred to the other maximize() overload for reacting on clicks
|
||||||
* on the maximize titlebar button.
|
* on the maximize titlebar button.
|
||||||
* NOTE: This function is new in KDE3.3. In order to support also KDE3.2,
|
|
||||||
* it is recommended to use code like this:
|
|
||||||
* \code
|
|
||||||
* MouseButtons button = ... ;
|
|
||||||
* #if KDE_IS_VERSION( 3, 3, 0 )
|
|
||||||
* maximize( button );
|
|
||||||
* #else
|
|
||||||
* if( button == MidButton )
|
|
||||||
* maximize( maximizeMode() ^ MaximizeVertical );
|
|
||||||
* else if( button == RightButton )
|
|
||||||
* maximize( maximizeMode() ^ MaximizeHorizontal );
|
|
||||||
* else
|
|
||||||
* maximize( maximizeMode() == MaximizeFull ? MaximizeRestore : MaximizeFull );
|
|
||||||
* #endif
|
|
||||||
* \endcode
|
|
||||||
*/
|
*/
|
||||||
#warning Update the docs.
|
|
||||||
void maximize( Qt::MouseButtons button );
|
void maximize( Qt::MouseButtons button );
|
||||||
/**
|
/**
|
||||||
* Set the maximize mode of the decorated window.
|
* Set the maximize mode of the decorated window.
|
||||||
|
|
Loading…
Reference in a new issue