make xswallow work

svn path=/trunk/kdebase/kwin/; revision=78458
This commit is contained in:
Matthias Ettrich 2001-01-16 21:29:36 +00:00
parent 6576b45348
commit 01241073b6
2 changed files with 20 additions and 1 deletions

View file

@ -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 )
{

View file

@ -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