Inheritance: Qt, IDisposable
Ejemplo n.º 1
1
        public TrayIcon(QObject parent)
            : base(parent)
        {
            m_ShowMainWindowAction = new QAction("Show Synapse", this);
            m_ShowMainWindowAction.Checkable = true;
            QObject.Connect(m_ShowMainWindowAction, Qt.SIGNAL("triggered()"), HandleShowMainWindowActionTriggered);

            m_ShowDebugWindowAction = new QAction("Debug Window", this);
            m_ShowDebugWindowAction.Checkable = true;
            QObject.Connect(m_ShowDebugWindowAction, Qt.SIGNAL("triggered()"), HandleShowDebugWindowActionTriggered);

            m_Menu = new QMenu();
            m_Menu.AddAction(m_ShowMainWindowAction);
            m_Menu.AddAction(m_ShowDebugWindowAction);
            m_Menu.AddSeparator();
            m_Menu.AddAction(Gui.GlobalActions.NewMessageAction);
            m_Menu.AddAction(Gui.GlobalActions.JoinConferenceAction);
            m_Menu.AddAction(Gui.GlobalActions.ShowBrowserAction);
            m_Menu.AddAction(Gui.GlobalActions.EditProfileAction);
            m_Menu.AddAction(Gui.GlobalActions.ChangeStatusAction);
            m_Menu.AddSeparator();
            m_Menu.AddAction(Gui.GlobalActions.ShowPreferencesAction);
            m_Menu.AddSeparator();
            m_Menu.AddAction(Gui.GlobalActions.AboutAction);
            m_Menu.AddAction(Gui.GlobalActions.SendFeedbackAction);
            m_Menu.AddSeparator();
            m_Menu.AddAction(Gui.GlobalActions.QuitAction);
            QObject.Connect(m_Menu, Qt.SIGNAL("aboutToShow()"), HandleMenuAboutToShow);

            QPixmap pixmap = new QPixmap("resource:/octy-22.png");
            QIcon icon = new QIcon(pixmap);
            m_Icon = new QSystemTrayIcon(icon);
            m_Icon.SetContextMenu(m_Menu);

            QObject.Connect<QSystemTrayIcon.ActivationReason>(m_Icon, Qt.SIGNAL("activated(QSystemTrayIcon::ActivationReason)"), HandleTrayActivated);
        }
Ejemplo n.º 2
0
 public static bool Connect(QObject sender, int signal_index, QObject receiver, int method_index, int type, ref int types)
 {
     StackItem[] stack = new StackItem[7];
     #if DEBUG
     stack[1].s_class = (IntPtr) DebugGCHandle.Alloc(sender);
     #else
     stack[1].s_class = (IntPtr) GCHandle.Alloc(sender);
     #endif
     stack[2].s_int = signal_index;
     #if DEBUG
     stack[3].s_class = (IntPtr) DebugGCHandle.Alloc(receiver);
     #else
     stack[3].s_class = (IntPtr) GCHandle.Alloc(receiver);
     #endif
     stack[4].s_int = method_index;
     stack[5].s_int = type;
     stack[6].s_int = types;
     staticInterceptor.Invoke("connect#$#$$$", "connect(const QObject*, int, const QObject*, int, int, int*)", stack);
     #if DEBUG
     DebugGCHandle.Free((GCHandle) stack[1].s_class);
     #else
     ((GCHandle) stack[1].s_class).Free();
     #endif
     #if DEBUG
     DebugGCHandle.Free((GCHandle) stack[3].s_class);
     #else
     ((GCHandle) stack[3].s_class).Free();
     #endif
     types = stack[6].s_int;
     return stack[0].s_bool;
 }
Ejemplo n.º 3
0
        public new bool EventFilter(QObject obj, QEvent evnt)
        {
            var type = evnt.type();

            if (type == QEvent.TypeOf.MouseButtonPress) {
                var mouseEvent = (QMouseEvent)evnt;
                if (mouseEvent.Button() == Qt.MouseButton.LeftButton) {
                    m_Moving = true;
                    m_OrigX = mouseEvent.X();
                    m_OrigY = mouseEvent.Y();
                    m_ParentWidget.Cursor = new QCursor(Qt.CursorShape.SizeAllCursor);
                }

            } else if (type == QEvent.TypeOf.MouseMove) {
                var mouseEvent = (QMouseEvent)evnt;
                if (m_Moving) {
                    var pos = mouseEvent.GlobalPos();
                    m_ParentWidget.Move(pos.X() - m_OrigX, pos.Y() - m_OrigY);
                }

            } else if (type == QEvent.TypeOf.MouseButtonRelease) {
                var mouseEvent = (QMouseEvent)evnt;
                if (m_Moving && mouseEvent.Button() == Qt.MouseButton.LeftButton) {
                    m_Moving = false;
                    m_ParentWidget.Cursor = new QCursor(Qt.CursorShape.ArrowCursor);
                }
            }

            return obj.EventFilter(obj, evnt);
        }
Ejemplo n.º 4
0
 public new bool EventFilter(QObject obj, QEvent evnt)
 {
     if (evnt.type() == QEvent.TypeOf.KeyPress) {
         if (KeyEvent != null) {
             if (KeyEvent((QKeyEvent)evnt)) {
                 return true;
             }
         }
     }
     return obj.EventFilter(obj, evnt);
 }
Ejemplo n.º 5
0
 public new bool EventFilter(Qyoto.QObject arg1, Qyoto.QEvent arg2)
 {
     if (arg2.type() == QEvent.TypeOf.HoverMove)
     {
         if (MouseMoved != null)
         {
             MouseMoved(this, EventArgs.Empty);
         }
     }
     else if (arg2.type() == QEvent.TypeOf.ContextMenu)
     {
         var mouseEvent = (QContextMenuEvent)arg2;
         this.Hide();
         if (RightClicked != null)
         {
             RightClicked(this.MapToGlobal(mouseEvent.Pos()));
         }
     }
     return(base.EventFilter(arg1, arg2));
 }
Ejemplo n.º 6
0
 public QVariant Read(QObject arg1)
 {
     return((QVariant)interceptor.Invoke("read#", "read(const QObject*) const", typeof(QVariant), typeof(QObject), arg1));
 }
Ejemplo n.º 7
0
 /// <remarks>
 ///  Connects a source to an object for data updates. The object must
 ///  have a slot with the following signature:
 ///  dataUpdated(stringsourceName, const Plasma.DataEngine.Data &data)
 ///  The data is a QHash of QVariants keyed by string names, allowing
 ///  one data source to provide sets of related data.
 /// <param> name="source" the name of the data source
 /// </param><param> name="visualization" the object to connect the data source to
 /// </param><param> name="pollingInterval" the frequency, in milliseconds, with which to check for updates;
 ///                         a value of 0 (the default) means to update only
 ///                         when there is new data spontaneously generated
 ///                         (e.g. by the engine); any other value results in
 ///                         periodic updates from this source. This value is
 ///                         per-visualization and can be handy for items that require
 ///                         constant updates such as scrolling graphs or clocks.
 ///                         If the data has not changed, no update will be sent.
 /// </param><param> name="intervalAlignment" the number of ms to align the interval to
 /// </param></remarks>        <short>    Connects a source to an object for data updates.</short>
 public void ConnectSource(string source, QObject visualization, uint pollingInterval, Plasma.IntervalAlignment intervalAlignment)
 {
     interceptor.Invoke("connectSource$#$$", "connectSource(const QString&, QObject*, uint, Plasma::IntervalAlignment) const", typeof(void), typeof(string), source, typeof(QObject), visualization, typeof(uint), pollingInterval, typeof(Plasma.IntervalAlignment), intervalAlignment);
 }
Ejemplo n.º 8
0
 /// <remarks>
 /// </remarks>        <return> true if the visualization is currently connected
 ///          </return>
 ///         <short>   </short>
 public bool VisualizationIsConnected(QObject visualization)
 {
     return (bool) interceptor.Invoke("visualizationIsConnected#", "visualizationIsConnected(QObject*) const", typeof(bool), typeof(QObject), visualization);
 }
Ejemplo n.º 9
0
 /// <remarks>
 ///  Register a slot to be called when the configuration for the componentData
 ///  has changed. <code>componentData</code> is the KComponentData object
 ///  that is passed to KGenericFactory (if it is used). You can query
 ///  it with KGenericFactory<YourClassName>.ComponentData().
 ///  componentData.componentName() is also the same name that is put into the
 ///  .desktop file of the KCMs for the X-KDE-ParentComponents.
 /// <param> name="componentData" The KComponentData object
 /// </param><param> name="recv" The object that should receive the signal
 /// </param><param> name="slot" The slot to be called: "slotName"
 ///      </param></remarks>        <short>    Register a slot to be called when the configuration for the componentData  has changed.</short>
 public static void RegisterComponent(KComponentData componentData, QObject recv, string slot)
 {
     staticInterceptor.Invoke("registerComponent##$", "registerComponent(const KComponentData&, QObject*, const char*)", typeof(void), typeof(KComponentData), componentData, typeof(QObject), recv, typeof(string), slot);
 }
Ejemplo n.º 10
0
 /// <remarks>
 ///  Constructor for plugin loading
 ///      </remarks>        <short>    Constructor for plugin loading      </short>
 public Service(QObject parent, List<QVariant> args)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Service#?", "Service(QObject*, const QList<QVariant>&)", typeof(void), typeof(QObject), parent, typeof(List<QVariant>), args);
 }
Ejemplo n.º 11
0
 /// <remarks>
 ///  Default constructor
 ///  @arg parent the parent object for this service
 ///      </remarks>        <short>    Default constructor </short>
 public Service(QObject parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Service#", "Service(QObject*)", typeof(void), typeof(QObject), parent);
 }
Ejemplo n.º 12
0
 public QSettings(QObject parent) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QSettings#", "QSettings(QObject*)", typeof(void), typeof(QObject), parent);
 }
Ejemplo n.º 13
0
 protected override bool EventFilter(QObject arg1, QEvent arg2)
 {
     return (bool) interceptor.Invoke("eventFilter##", "eventFilter(QObject*, QEvent*)", typeof(bool), typeof(QObject), arg1, typeof(QEvent), arg2);
 }
Ejemplo n.º 14
0
 public QSvgRenderer(QByteArray contents, QObject parent) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QSvgRenderer##", "QSvgRenderer(const QByteArray&, QObject*)", typeof(void), typeof(QByteArray), contents, typeof(QObject), parent);
 }
Ejemplo n.º 15
0
 public QSettings(string fileName, QSettings.Format format, QObject parent) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QSettings$$#", "QSettings(const QString&, QSettings::Format, QObject*)", typeof(void), typeof(string), fileName, typeof(QSettings.Format), format, typeof(QObject), parent);
 }
Ejemplo n.º 16
0
 public QSvgRenderer(string filename, QObject parent) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QSvgRenderer$#", "QSvgRenderer(const QString&, QObject*)", typeof(void), typeof(string), filename, typeof(QObject), parent);
 }
Ejemplo n.º 17
0
 protected new virtual bool EventFilter(QObject watched, QEvent arg2)
 {
     return((bool)interceptor.Invoke("eventFilter##", "eventFilter(QObject*, QEvent*)", typeof(bool), typeof(QObject), watched, typeof(QEvent), arg2));
 }
Ejemplo n.º 18
0
 public bool IsUser(QObject arg1)
 {
     return((bool)interceptor.Invoke("isUser#", "isUser(const QObject*) const", typeof(bool), typeof(QObject), arg1));
 }
Ejemplo n.º 19
0
 /// <remarks>
 ///  Disconnects a source to an object that was receiving data updates.
 /// <param> name="source" the name of the data source
 /// </param><param> name="visualization" the object to connect the data source to
 /// </param></remarks>        <short>    Disconnects a source to an object that was receiving data updates.</short>
 public void DisconnectSource(string source, QObject visualization)
 {
     interceptor.Invoke("disconnectSource$#", "disconnectSource(const QString&, QObject*) const", typeof(void), typeof(string), source, typeof(QObject), visualization);
 }
Ejemplo n.º 20
0
 // QSettings::Format registerFormat(const QString& arg1,ReadFunc arg2,WriteFunc arg3,Qt::CaseSensitivity arg4); >>>> NOT CONVERTED
 // QSettings::Format registerFormat(const QString& arg1,ReadFunc arg2,WriteFunc arg3); >>>> NOT CONVERTED
 public QSettings(string organization, string application, QObject parent) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QSettings$$#", "QSettings(const QString&, const QString&, QObject*)", typeof(void), typeof(string), organization, typeof(string), application, typeof(QObject), parent);
 }
Ejemplo n.º 21
0
 public QsciLexerCSS(QObject parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QsciLexerCSS#", "QsciLexerCSS(QObject*)", typeof(void), typeof(QObject), parent);
 }
Ejemplo n.º 22
0
 public QSettings(QSettings.Format format, QSettings.Scope scope, string organization, string application, QObject parent) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QSettings$$$$#", "QSettings(QSettings::Format, QSettings::Scope, const QString&, const QString&, QObject*)", typeof(void), typeof(QSettings.Format), format, typeof(QSettings.Scope), scope, typeof(string), organization, typeof(string), application, typeof(QObject), parent);
 }
Ejemplo n.º 23
0
 // QDBusPendingCall* QDBusPendingCall(QDBusPendingCallPrivate* arg1); >>>> NOT CONVERTED
 public QDBusPendingCallWatcher(IQDBusPendingCall call, QObject parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QDBusPendingCallWatcher##", "QDBusPendingCallWatcher(const QDBusPendingCall&, QObject*)", typeof(void), typeof(IQDBusPendingCall), call, typeof(QObject), parent);
 }
Ejemplo n.º 24
0
 public QDBusInterface(string service, string path, string arg3, QDBusConnection connection, QObject parent) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QDBusInterface$$$##", "QDBusInterface(const QString&, const QString&, const QString&, const QDBusConnection&, QObject*)", typeof(void), typeof(string), service, typeof(string), path, typeof(string), arg3, typeof(QDBusConnection), connection, typeof(QObject), parent);
 }
Ejemplo n.º 25
0
 /// <remarks>
 ///  Used to load a given service from a plugin.
 /// <param> name="name" the plugin name of the service to load
 /// </param><param> name="parent" the parent object, if any, for the service
 /// </param></remarks>        <return> a Service object, guaranteed to be not null.
 ///      </return>
 ///         <short>    Used to load a given service from a plugin.</short>
 public static Plasma.Service Load(string name, QObject parent)
 {
     return (Plasma.Service) staticInterceptor.Invoke("load$#", "load(const QString&, QObject*)", typeof(Plasma.Service), typeof(string), name, typeof(QObject), parent);
 }
Ejemplo n.º 26
0
 public QEventLoop(QObject parent) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QEventLoop#", "QEventLoop(QObject*)", typeof(void), typeof(QObject), parent);
 }
Ejemplo n.º 27
0
 /// <remarks>
 ///  Connects an object to this DataContainer.
 ///  May be called repeatedly for the same visualization without
 ///  side effects
 /// <param> name="visualization" the object to connect to this DataContainer
 /// </param><param> name="pollingInterval" the time in milliseconds between updates
 /// </param><param> name="alignment" the clock position to align updates to
 /// </param></remarks>        <short>    Connects an object to this DataContainer.</short>
 public void ConnectVisualization(QObject visualization, uint pollingInterval, Plasma.IntervalAlignment alignment)
 {
     interceptor.Invoke("connectVisualization#$$", "connectVisualization(QObject*, uint, Plasma::IntervalAlignment)", typeof(void), typeof(QObject), visualization, typeof(uint), pollingInterval, typeof(Plasma.IntervalAlignment), alignment);
 }
Ejemplo n.º 28
0
 public void Open(QObject receiver, string member)
 {
     interceptor.Invoke("open#$", "open(QObject*, const char*)", typeof(void), typeof(QObject), receiver, typeof(string), member);
 }
Ejemplo n.º 29
0
 // QDBusReply<void> autoStart(); >>>> NOT CONVERTED
 // QDBusReply<void> autoStart(int arg1); >>>> NOT CONVERTED
 // QDBusReply<void> exec_blind(const QString& arg1,const QStringList& arg2,const QStringList& arg3,const QString& arg4); >>>> NOT CONVERTED
 // QDBusReply<void> exec_blind(const QString& arg1,const QStringList& arg2); >>>> NOT CONVERTED
 // QDBusReply<int> kdeinit_exec(const QString& arg1,const QStringList& arg2,const QStringList& arg3,const QString& arg4,QString& arg5,QString& arg6,int& arg7); >>>> NOT CONVERTED
 // QDBusReply<int> kdeinit_exec_wait(const QString& arg1,const QStringList& arg2,const QStringList& arg3,const QString& arg4,QString& arg5,QString& arg6,int& arg7); >>>> NOT CONVERTED
 // QDBusReply<void> reparseConfiguration(); >>>> NOT CONVERTED
 // QDBusReply<int> requestHoldSlave(const QString& arg1,const QString& arg2); >>>> NOT CONVERTED
 // QDBusReply<int> requestSlave(const QString& arg1,const QString& arg2,const QString& arg3,QString& arg4); >>>> NOT CONVERTED
 // QDBusReply<void> setLaunchEnv(const QString& arg1,const QString& arg2); >>>> NOT CONVERTED
 // QDBusReply<int> start_service_by_desktop_name(const QString& arg1,const QStringList& arg2,const QStringList& arg3,const QString& arg4,bool arg5,QString& arg6,QString& arg7,int& arg8); >>>> NOT CONVERTED
 // QDBusReply<int> start_service_by_desktop_path(const QString& arg1,const QStringList& arg2,const QStringList& arg3,const QString& arg4,bool arg5,QString& arg6,QString& arg7,int& arg8); >>>> NOT CONVERTED
 // QDBusReply<int> start_service_by_name(const QString& arg1,const QStringList& arg2,const QStringList& arg3,const QString& arg4,bool arg5,QString& arg6,QString& arg7,int& arg8); >>>> NOT CONVERTED
 // QDBusReply<void> waitForSlave(int arg1); >>>> NOT CONVERTED
 public OrgKdeKLauncherInterface(string service, string path, QDBusConnection connection, QObject parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("OrgKdeKLauncherInterface$$##", "OrgKdeKLauncherInterface(const QString&, const QString&, const QDBusConnection&, QObject*)", typeof(void), typeof(string), service, typeof(string), path, typeof(QDBusConnection), connection, typeof(QObject), parent);
 }
Ejemplo n.º 30
0
 // bool setSocketDescriptor(QUintForType<void*>::Type arg1,QLocalSocket::LocalSocketState arg2,QIODevice::OpenMode arg3); >>>> NOT CONVERTED
 // bool setSocketDescriptor(QUintForType<void*>::Type arg1,QLocalSocket::LocalSocketState arg2); >>>> NOT CONVERTED
 // bool setSocketDescriptor(QUintForType<void*>::Type arg1); >>>> NOT CONVERTED
 // QUintForType<void*>::Type socketDescriptor(); >>>> NOT CONVERTED
 public QLocalSocket(QObject parent) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QLocalSocket#", "QLocalSocket(QObject*)", typeof(void), typeof(QObject), parent);
 }
Ejemplo n.º 31
0
 public bool IsEditable(QObject arg1)
 {
     return((bool)interceptor.Invoke("isEditable#", "isEditable(const QObject*) const", typeof(bool), typeof(QObject), arg1));
 }
Ejemplo n.º 32
0
 // QDirModel* QDirModel(QDirModelPrivate& arg1,QObject* arg2); >>>> NOT CONVERTED
 // QDirModel* QDirModel(QDirModelPrivate& arg1); >>>> NOT CONVERTED
 public QDirModel(List <string> nameFilters, uint filters, uint sort, QObject parent) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QDirModel?$$#", "QDirModel(const QStringList&, QDir::Filters, QDir::SortFlags, QObject*)", typeof(void), typeof(List <string>), nameFilters, typeof(uint), filters, typeof(uint), sort, typeof(QObject), parent);
 }
Ejemplo n.º 33
0
 public QTextDocument Clone(QObject parent)
 {
     return((QTextDocument)interceptor.Invoke("clone#", "clone(QObject*) const", typeof(QTextDocument), typeof(QObject), parent));
 }
Ejemplo n.º 34
0
 public QDirModel(QObject parent) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QDirModel#", "QDirModel(QObject*)", typeof(void), typeof(QObject), parent);
 }
Ejemplo n.º 35
0
 public void ConnectSource(string source, QObject visualization, uint pollingInterval)
 {
     interceptor.Invoke("connectSource$#$", "connectSource(const QString&, QObject*, uint) const", typeof(void), typeof(string), source, typeof(QObject), visualization, typeof(uint), pollingInterval);
 }
Ejemplo n.º 36
0
 public void SetParent(QObject arg1)
 {
     interceptor.Invoke("setParent#", "setParent(QObject*)", typeof(void), typeof(QObject), arg1);
 }
Ejemplo n.º 37
0
 /// <remarks>
 ///  Constructor.
 /// <param> name="parent" The parent object.
 /// </param><param> name="service" pointer to the service that describes the engine
 /// </param></remarks>        <short>    Constructor.</short>
 public DataEngine(QObject parent, KService service)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("DataEngine#?", "DataEngine(QObject*, KSharedPtr<KService>)", typeof(void), typeof(QObject), parent, typeof(KService), service);
 }
Ejemplo n.º 38
0
 public void InstallEventFilter(QObject arg1)
 {
     interceptor.Invoke("installEventFilter#", "installEventFilter(QObject*)", typeof(void), typeof(QObject), arg1);
 }
Ejemplo n.º 39
0
 public QTestEventLoop(QObject aParent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QTestEventLoop#", "QTestEventLoop(QObject*)", typeof(void), typeof(QObject), aParent);
 }
Ejemplo n.º 40
0
 public void RemoveEventFilter(QObject arg1)
 {
     interceptor.Invoke("removeEventFilter#", "removeEventFilter(QObject*)", typeof(void), typeof(QObject), arg1);
 }
Ejemplo n.º 41
0
 /// <remarks>
 ///  Create a KToggleFullScreenAction
 /// <param> name="window" the window that will switch to/from full screen mode
 /// </param><param> name="parent" This action's parent object.
 ///      </param></remarks>        <short>    Create a KToggleFullScreenAction </short>
 public KToggleFullScreenAction(QWidget window, QObject parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KToggleFullScreenAction##", "KToggleFullScreenAction(QWidget*, QObject*)", typeof(void), typeof(QWidget), window, typeof(QObject), parent);
 }
Ejemplo n.º 42
0
 public bool Connect(QObject sender, string signal, string member)
 {
     return((bool)interceptor.Invoke("connect#$$", "connect(const QObject*, const char*, const char*) const", typeof(bool), typeof(QObject), sender, typeof(string), signal, typeof(string), member));
 }
Ejemplo n.º 43
0
 /// <remarks>
 ///  Creates a new session.
 /// <param> name="sessionId" The identifier for this session, will be a
 ///                   random value if empty.
 /// </param><param> name="parent" The parent object.
 /// </param></remarks>        <short>    Creates a new session.</short>
 ///         <see> defaultSession</see>
 public Session(QByteArray sessionId, QObject parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Session##", "Session(const QByteArray&, QObject*)", typeof(void), typeof(QByteArray), sessionId, typeof(QObject), parent);
 }
Ejemplo n.º 44
0
 public bool Disconnect(string signal, QObject receiver)
 {
     return((bool)interceptor.Invoke("disconnect$#", "disconnect(const char*, const QObject*)", typeof(bool), typeof(string), signal, typeof(QObject), receiver));
 }
Ejemplo n.º 45
0
 /// <remarks>
 ///  Used to access a service from an url. Always check for the signal serviceReady() that fires
 ///  when this service is actually ready for use.
 ///      </remarks>        <short>    Used to access a service from an url.</short>
 public static Plasma.Service Access(KUrl url, QObject parent)
 {
     return (Plasma.Service) staticInterceptor.Invoke("access##", "access(const KUrl&, QObject*)", typeof(Plasma.Service), typeof(KUrl), url, typeof(QObject), parent);
 }
Ejemplo n.º 46
0
 public bool Disconnect(QObject receiver, string member)
 {
     return((bool)interceptor.Invoke("disconnect#$", "disconnect(const QObject*, const char*)", typeof(bool), typeof(QObject), receiver, typeof(string), member));
 }
Ejemplo n.º 47
0
 /// <remarks>
 ///  Called to create a ServiceJob which is associated with a given
 ///  operation and parameter set.
 /// </remarks>        <return> a started ServiceJob; the consumer may connect to relevant
 ///          signals before returning to the event loop
 ///      </return>
 ///         <short>    Called to create a ServiceJob which is associated with a given  operation and parameter set.</short>
 public Plasma.ServiceJob StartOperationCall(KConfigGroup description, QObject parent)
 {
     return (Plasma.ServiceJob) interceptor.Invoke("startOperationCall##", "startOperationCall(const KConfigGroup&, QObject*)", typeof(Plasma.ServiceJob), typeof(KConfigGroup), description, typeof(QObject), parent);
 }
Ejemplo n.º 48
0
 public bool Disconnect(QObject receiver)
 {
     return((bool)interceptor.Invoke("disconnect#", "disconnect(const QObject*)", typeof(bool), typeof(QObject), receiver));
 }
Ejemplo n.º 49
0
 /// <remarks>
 ///  Creates a new transaction begin job.
 /// <param> name="parent" The parent job or Session, must not be 0.
 ///      </param></remarks>        <short>    Creates a new transaction begin job.</short>
 public TransactionBeginJob(QObject parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("TransactionBeginJob#", "TransactionBeginJob(QObject*)", typeof(void), typeof(QObject), parent);
 }
Ejemplo n.º 50
0
 public static bool Connect(QObject sender, string signal, QObject receiver, string member)
 {
     return((bool)staticInterceptor.Invoke("connect#$#$", "connect(const QObject*, const char*, const QObject*, const char*)", typeof(bool), typeof(QObject), sender, typeof(string), signal, typeof(QObject), receiver, typeof(string), member));
 }
Ejemplo n.º 51
0
 public void DisconnectVisualization(QObject visualization)
 {
     interceptor.Invoke("disconnectVisualization#", "disconnectVisualization(QObject*)", typeof(void), typeof(QObject), visualization);
 }
Ejemplo n.º 52
0
 public void Open(QObject receiver, string member)
 {
     interceptor.Invoke("open#$", "open(QObject*, const char*)", typeof(void), typeof(QObject), receiver, typeof(string), member);
 }
Ejemplo n.º 53
0
 /// <remarks>
 ///  Constructs a default DataContainer that has no name or data
 ///  associated with it
 /// </remarks>        <short>    Constructs a default DataContainer that has no name or data  associated with it </short>
 public DataContainer(QObject parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("DataContainer#", "DataContainer(QObject*)", typeof(void), typeof(QObject), parent);
 }
Ejemplo n.º 54
0
 public QTextDocument(string text, QObject parent) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QTextDocument$#", "QTextDocument(const QString&, QObject*)", typeof(void), typeof(string), text, typeof(QObject), parent);
 }
Ejemplo n.º 55
0
 // bool extension(QWebPage::Extension arg1,const QWebPage::ExtensionOption* arg2,QWebPage::ExtensionReturn* arg3); >>>> NOT CONVERTED
 // bool extension(QWebPage::Extension arg1,const QWebPage::ExtensionOption* arg2); >>>> NOT CONVERTED
 public QWebPage(QObject parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QWebPage#", "QWebPage(QObject*)", typeof(void), typeof(QObject), parent);
 }
Ejemplo n.º 56
0
 public bool Write(QObject arg1, QVariant value)
 {
     return((bool)interceptor.Invoke("write##", "write(QObject*, const QVariant&) const", typeof(bool), typeof(QObject), arg1, typeof(QVariant), value));
 }
Ejemplo n.º 57
0
 public QItemSelectionModel(QAbstractItemModel model, QObject parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QItemSelectionModel##", "QItemSelectionModel(QAbstractItemModel*, QObject*)", typeof(void), typeof(QAbstractItemModel), model, typeof(QObject), parent);
 }
Ejemplo n.º 58
0
 public bool Reset(QObject arg1)
 {
     return((bool)interceptor.Invoke("reset#", "reset(QObject*) const", typeof(bool), typeof(QObject), arg1));
 }
Ejemplo n.º 59
0
 /// <remarks>
 ///  Default constructor for an AppletScript.
 ///  Subclasses should not attempt to access the Plasma.Applet
 ///  associated with this AppletScript in the constructor. All
 ///  such set up that requires the Applet itself should be done
 ///  in the init() method.
 ///      </remarks>        <short>    Default constructor for an AppletScript.</short>
 public AppletScript(QObject parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("AppletScript#", "AppletScript(QObject*)", typeof(void), typeof(QObject), parent);
 }
Ejemplo n.º 60
0
 // QTextDocumentPrivate* docHandle(); >>>> NOT CONVERTED
 // void appendUndoItem(QAbstractUndoItem* arg1); >>>> NOT CONVERTED
 // QTextDocument* QTextDocument(QTextDocumentPrivate& arg1,QObject* arg2); >>>> NOT CONVERTED
 public QTextDocument(QObject parent) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QTextDocument#", "QTextDocument(QObject*)", typeof(void), typeof(QObject), parent);
 }