diff --git a/killer/killer.cpp b/killer/killer.cpp
index 7ecae651a2..eebe3bba85 100644
--- a/killer/killer.cpp
+++ b/killer/killer.cpp
@@ -64,9 +64,9 @@ int main( int argc, char* argv[] )
return 1;
}
QString question = i18n(
- " "
- "Do you wish to terminate this application? (All unsaved data in this application will be lost.)
Window with title \"%2\" is not responding. " + "This window belongs to application %1 (PID=%3, hostname=%4).
" + "Do you wish to terminate this application? (All unsaved data in this application will be lost.)
" , appname, caption, pid, QString( hostname ) ); app.updateUserTimestamp( timestamp ); if( KMessageBox::warningYesNoWId( id, question, QString(), KGuiItem(i18n("Terminate")), KGuiItem(i18n("Keep Running")) ) == KMessageBox::Yes ) diff --git a/lib/kdecoration.cpp b/lib/kdecoration.cpp index c791db4645..e8bf7d6a62 100644 --- a/lib/kdecoration.cpp +++ b/lib/kdecoration.cpp @@ -297,6 +297,16 @@ void KDecoration::setKeepBelow( bool set ) bridge_->setKeepBelow( set ); } +void KDecoration::emitKeepAboveChanged( bool above ) + { + keepAboveChanged( above ); + } + +void KDecoration::emitKeepBelowChanged( bool below ) + { + keepBelowChanged( below ); + } + bool KDecoration::drawbound( const QRect&, bool ) { return false; diff --git a/lib/kdecoration.h b/lib/kdecoration.h index 9120ac9939..bb412ffb33 100644 --- a/lib/kdecoration.h +++ b/lib/kdecoration.h @@ -795,11 +795,11 @@ class KWIN_EXPORT KDecoration /** * @internal */ - void emitKeepAboveChanged( bool above ) { keepAboveChanged( above ); } + void emitKeepAboveChanged( bool above ); /** * @internal */ - void emitKeepBelowChanged( bool below ) { keepBelowChanged( below ); } + void emitKeepBelowChanged( bool below ); private: KDecorationBridge* bridge_; QWidget* w_; diff --git a/lib/kdecoration_plugins_p.cpp b/lib/kdecoration_plugins_p.cpp index 50bee7e0b2..f9e18efc67 100644 --- a/lib/kdecoration_plugins_p.cpp +++ b/lib/kdecoration_plugins_p.cpp @@ -65,6 +65,11 @@ KDecorationPlugins::~KDecorationPlugins() } } +QString KDecorationPlugins::currentPlugin() + { + return pluginStr; + } + bool KDecorationPlugins::reset( unsigned long changed ) { QString oldPlugin = pluginStr; diff --git a/lib/kdecoration_plugins_p.h b/lib/kdecoration_plugins_p.h index f8f4204b7c..8fad2884b0 100644 --- a/lib/kdecoration_plugins_p.h +++ b/lib/kdecoration_plugins_p.h @@ -51,7 +51,7 @@ class KWIN_EXPORT KDecorationPlugins void destroyPreviousPlugin(); KDecorationFactory* factory(); KDecoration* createDecoration( KDecorationBridge* ); - QString currentPlugin() { return pluginStr; } + QString currentPlugin(); bool reset( unsigned long changed ); // returns true if decorations need to be recreated protected: virtual void error( const QString& error_msg ); diff --git a/lib/kwineffects.cpp b/lib/kwineffects.cpp index b022fc3e84..de6075bf6a 100644 --- a/lib/kwineffects.cpp +++ b/lib/kwineffects.cpp @@ -255,6 +255,11 @@ Window EffectsHandler::createFullScreenInputWindow( Effect* e, const QCursor& cu return createInputWindow( e, 0, 0, displayWidth(), displayHeight(), cursor ); } +CompositingType EffectsHandler::compositingType() const + { + return compositing_type; + } + void EffectsHandler::sendReloadMessage( const QString& effectname ) { QDBusMessage message = QDBusMessage::createMethodCall("org.kde.kwin", "/KWin", "org.kde.KWin", "reloadEffect"); diff --git a/lib/kwineffects.h b/lib/kwineffects.h index 9600c99cf6..e52fa2b06a 100644 --- a/lib/kwineffects.h +++ b/lib/kwineffects.h @@ -230,7 +230,7 @@ class KWIN_EXPORT EffectsHandler virtual void addRepaint( const QRect& r ) = 0; virtual void addRepaint( int x, int y, int w, int h ) = 0; - CompositingType compositingType() const { return compositing_type; } + CompositingType compositingType() const; virtual unsigned long xrenderBufferPicture() = 0; virtual void reconfigure() = 0;