~ubuntu-branches/ubuntu/saucy/clementine/saucy

« back to all changes in this revision

Viewing changes to src/scripting/python/uiinterface.sip

  • Committer: Package Import Robot
  • Author(s): Thomas PIERSON
  • Date: 2012-01-01 20:43:39 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120101204339-lsb6nndwhfy05sde
Tags: 1.0.1+dfsg-1
New upstream release. (Closes: #653926, #651611, #657391)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
class UIInterface : QObject {
2
 
 
3
 
%TypeHeaderCode
4
 
#include "scripting/uiinterface.h"
5
 
#include "scripting/python/pythonengine.h"
6
 
%End
7
 
 
8
 
public:
9
 
  void AddAction(const QString& id, QAction* action /Transfer/);
10
 
%MethodCode
11
 
  sipCpp->AddAction(*a0,a1);
12
 
  PythonEngine::instance()->RegisterNativeObject(a1);
13
 
%End
14
 
 
15
 
private:
16
 
  UIInterface();
17
 
};