Unexport TabGroup property on Client for scripts
TabGroup is not (and should not be) a QObject which makes it rather useless in scripting. In order to use window tabs in KWin scripts the methods to interact with tabs from Client should be used. REVIEW: 104685
This commit is contained in:
parent
9ca81a2f79
commit
175668f2b3
2 changed files with 1 additions and 2 deletions
2
client.h
2
client.h
|
@ -229,7 +229,7 @@ class Client
|
||||||
/**
|
/**
|
||||||
* The "Window Tabs" Group this Client belongs to.
|
* The "Window Tabs" Group this Client belongs to.
|
||||||
**/
|
**/
|
||||||
Q_PROPERTY(KWin::TabGroup* tabGroup READ tabGroup NOTIFY tabGroupChanged)
|
Q_PROPERTY(KWin::TabGroup* tabGroup READ tabGroup NOTIFY tabGroupChanged SCRIPTABLE false)
|
||||||
/**
|
/**
|
||||||
* Whether this Client is the currently visible Client in its Client Group (Window Tabs).
|
* Whether this Client is the currently visible Client in its Client Group (Window Tabs).
|
||||||
* For change connect to the visibleChanged signal on the Client's Group.
|
* For change connect to the visibleChanged signal on the Client's Group.
|
||||||
|
|
|
@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "meta.h"
|
#include "meta.h"
|
||||||
#include "client.h"
|
#include "client.h"
|
||||||
#include "tabgroup.h"
|
|
||||||
|
|
||||||
#include <QtScript/QScriptEngine>
|
#include <QtScript/QScriptEngine>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue