~ubuntu-branches/ubuntu/wily/kwin/wily-proposed

« back to all changes in this revision

Viewing changes to scripting/scriptingutils.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-08-10 23:16:37 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20150810231637-5zb2tstjkez93hml
Tags: 4:5.3.95-0ubuntu1
new upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include "input.h"
25
25
#include "workspace.h"
26
26
#include "screenedge.h"
 
27
#include "scripting_logging.h"
27
28
 
28
29
#include <KGlobalAccel>
29
30
#include <KLocalizedString>
30
31
#include <QAction>
31
 
#include <QDebug>
32
32
#include <QtScript/QScriptEngine>
33
33
 
34
34
namespace KWin
110
110
        return engine->undefinedValue();
111
111
    }
112
112
    if (context->argumentCount() != 4) {
113
 
        qDebug() << "Incorrect number of arguments! Expected: title, text, keySequence, callback";
 
113
        qCDebug(KWIN_SCRIPTING) << "Incorrect number of arguments! Expected: title, text, keySequence, callback";
114
114
        return engine->undefinedValue();
115
115
    }
116
116
    QAction* a = new QAction(script);