From a23d4f820b198794ffb4f3b4f059aff97fb7ee64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 4 Jul 2006 20:23:29 +0000 Subject: [PATCH] These warnings were pretty annoying. svn path=/branches/work/kwin_composite/; revision=558180 --- lib/kdecoration.cpp | 2 ++ lib/kdecoration.h | 17 ----------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/lib/kdecoration.cpp b/lib/kdecoration.cpp index ed7307348c..00a4d45ee4 100644 --- a/lib/kdecoration.cpp +++ b/lib/kdecoration.cpp @@ -446,4 +446,6 @@ KDecorationDefines::WindowOperation KDecorationOptions::operationMaxButtonClick( d->OpMaxButtonLeftClick; } +#warning Redo all the XYZChange() virtuals as signals. + #include "kdecoration.moc" diff --git a/lib/kdecoration.h b/lib/kdecoration.h index 1f92350a76..05f40645be 100644 --- a/lib/kdecoration.h +++ b/lib/kdecoration.h @@ -621,7 +621,6 @@ class KWIN_EXPORT KDecoration * isShade() to get the current state. */ virtual void shadeChange() = 0; -#warning Redo all the XYZChange() virtuals as signals. signals: /** * 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 * be preferred to the other maximize() overload for reacting on clicks * 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 ); /** * Set the maximize mode of the decorated window.