From 01241073b6d368d243c1ba1e3037123aa7c44ebc Mon Sep 17 00:00:00 2001 From: Matthias Ettrich <ettrich@troll.no> Date: Tue, 16 Jan 2001 21:29:36 +0000 Subject: [PATCH] make xswallow work svn path=/trunk/kdebase/kwin/; revision=78458 --- client.cpp | 15 +++++++++++++++ client.h | 6 +++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/client.cpp b/client.cpp index ce91644656..f411e5e0b9 100644 --- a/client.cpp +++ b/client.cpp @@ -2929,6 +2929,21 @@ void Client::verifyTransientFor() transient_for = old_transient_for; // nice try } + +/*!\reimp + */ +QString Client::caption() const +{ + return cap; +} + +/*!\reimp + */ +void Client::setCaption( const QString & c) +{ + cap = c; +} + NoBorderClient::NoBorderClient( Workspace *ws, WId w, QWidget *parent, const char *name ) : Client( ws, w, parent, name ) { diff --git a/client.h b/client.h index 06c4006ef1..b652799fb7 100644 --- a/client.h +++ b/client.h @@ -131,7 +131,7 @@ public: bool staysOnTop() const; void setStaysOnTop( bool ); - + bool storeSettings() const; void setStoreSettings( bool ); @@ -190,6 +190,9 @@ public: void maximizeRaw( bool vertically, bool horizontally ); + QString caption() const; + void setCaption( const QString &); + public slots: void iconify(); void closeWindow(); @@ -307,6 +310,7 @@ private: QCString resource_class; void verifyTransientFor(); friend class WindowWrapper; + QString cap; }; inline WId Client::window() const