Beispiel #1
0
 /// <remarks>
 ///  Removes the GUI described by the client, by unplugging all
 ///  provided actions and removing all owned containers (and storing
 ///  container state information in the given client)
 ///    </remarks>        <short>    Removes the GUI described by the client, by unplugging all  provided actions and removing all owned containers (and storing  container state information in the given client)    </short>
 public void RemoveClient(IKXMLGUIClient client)
 {
     interceptor.Invoke("removeClient#", "removeClient(KXMLGUIClient*)", typeof(void), typeof(IKXMLGUIClient), client);
 }
Beispiel #2
0
 public void UnplugActionList(IKXMLGUIClient client, string name)
 {
     interceptor.Invoke("unplugActionList#$", "unplugActionList(KXMLGUIClient*, const QString&)", typeof(void), typeof(IKXMLGUIClient), client, typeof(string), name);
 }
Beispiel #3
0
 public QWidget Container(string containerName, IKXMLGUIClient client)
 {
     return (QWidget) interceptor.Invoke("container$#", "container(const QString&, KXMLGUIClient*)", typeof(QWidget), typeof(string), containerName, typeof(IKXMLGUIClient), client);
 }
Beispiel #4
0
 public void PlugActionList(IKXMLGUIClient client, string name, List<QAction> actionList)
 {
     interceptor.Invoke("plugActionList#$?", "plugActionList(KXMLGUIClient*, const QString&, const QList<QAction*>&)", typeof(void), typeof(IKXMLGUIClient), client, typeof(string), name, typeof(List<QAction>), actionList);
 }
Beispiel #5
0
 /// <remarks>
 ///  Creates the GUI described by the QDomDocument of the client,
 ///  using the client's actions, and merges it with the previously
 ///  created GUI.
 ///  This also means that the order in which clients are added to the factory
 ///  is relevant; assuming that your application supports plugins, you should
 ///  first add your application to the factory and then the plugin, so that the
 ///  plugin's UI is merged into the UI of your application, and not the other
 ///  way round.
 ///    </remarks>        <short>    Creates the GUI described by the QDomDocument of the client,  using the client's actions, and merges it with the previously  created GUI.</short>
 public void AddClient(IKXMLGUIClient client)
 {
     interceptor.Invoke("addClient#", "addClient(KXMLGUIClient*)", typeof(void), typeof(IKXMLGUIClient), client);
 }
Beispiel #6
0
 /// <remarks>
 ///  Use this method to get access to a container widget with the name specified with <code>containerName</code>
 ///  and which is owned by the <code>client.</code> The container name is specified with a "name" attribute in the
 ///  XML document.
 ///  This function is particularly useful for getting hold of a popupmenu defined in an XMLUI file.
 ///  For instance:
 ///  <pre>
 ///  QMenu popup = (QMenu)(guiFactory().Container("my_popup",this));
 ///  </pre>
 ///  where <code></code>"my_popup" is the name of the menu in the XMLUI file, and
 ///  <code></code>"this" is XMLGUIClient which owns the popupmenu (e.g. the mainwindow, or the part, or the plugin...)
 /// <param> name="containerName" Name of the container widget
 /// </param><param> name="client" Owner of the container widget
 /// </param><param> name="useTagName" Specifies whether to compare the specified name with the name attribute or
 ///         the tag name.
 /// </param> This method may return 0 if no container with the given name exists or is not owned by the client.
 ///    </remarks>        <short>    Use this method to get access to a container widget with the name specified with <code>containerName</code>  and which is owned by the <code>client.</code></short>
 public QWidget Container(string containerName, IKXMLGUIClient client, bool useTagName)
 {
     return (QWidget) interceptor.Invoke("container$#$", "container(const QString&, KXMLGUIClient*, bool)", typeof(QWidget), typeof(string), containerName, typeof(IKXMLGUIClient), client, typeof(bool), useTagName);
 }
Beispiel #7
0
 public void SetBuilderClient(IKXMLGUIClient client)
 {
     interceptor.Invoke("setBuilderClient#", "setBuilderClient(KXMLGUIClient*)", typeof(void), typeof(IKXMLGUIClient), client);
 }
Beispiel #8
0
 /// <remarks>
 ///  Load the Plugins honoring the PluginLoadingMode.
 ///  If you call this method in an already constructed GUI (like when the user
 ///  has changed which plugins are enabled) you need to add the new plugins to
 ///  the KXMLGUIFactory:
 ///  <pre>
 ///  if( factory() )
 ///  {
 ///    QList<KParts.Plugin > plugins = KParts.Plugin.PluginObjects( this );
 ///    for(int i = 0; i != plugins.size(); ++i) {
 ///       factory().AddClient( plugins[i] );
 ///    }
 ///  }
 ///  </pre>
 ///    </remarks>        <short>    Load the Plugins honoring the PluginLoadingMode.</short>
 protected void LoadPlugins(QObject parent, IKXMLGUIClient parentGUIClient, KComponentData componentData)
 {
     interceptor.Invoke("loadPlugins###", "loadPlugins(QObject*, KXMLGUIClient*, const KComponentData&)", typeof(void), typeof(QObject), parent, typeof(IKXMLGUIClient), parentGUIClient, typeof(KComponentData), componentData);
 }
Beispiel #9
0
 /// <remarks>
 ///  Use this method to make a client a child client of another client.
 ///  Usually you don't need to call this method, as it is called
 ///  automatically when using the second constructor, which takes a
 ///  parent argument.
 ///    </remarks>        <short>    Use this method to make a client a child client of another client.</short>
 public void InsertChildClient(IKXMLGUIClient child)
 {
     interceptor.Invoke("insertChildClient#", "insertChildClient(KXMLGUIClient*)", typeof(void), typeof(IKXMLGUIClient), child);
 }
Beispiel #10
0
 public virtual void FinalizeGUI(IKXMLGUIClient client)
 {
     interceptor.Invoke("finalizeGUI#", "finalizeGUI(KXMLGUIClient*)", typeof(void), typeof(IKXMLGUIClient), client);
 }
Beispiel #11
0
 /// <remarks>
 ///  Constructs a KXMLGUIClient which can be used with a KXMLGUIFactory
 ///  to create a GUI from actions and an XML document,
 ///  and which can be dynamically merged with other KXMLGUIClients.
 ///  This constructor takes an additional <code>parent</code> argument, which makes
 ///  the client a child client of the parent.
 ///  Child clients are automatically added to the GUI if the parent is added.
 ///    </remarks>        <short>    Constructs a KXMLGUIClient which can be used with a KXMLGUIFactory  to create a GUI from actions and an XML document,  and which can be dynamically merged with other KXMLGUIClients.</short>
 public KXMLGUIClient(IKXMLGUIClient parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KXMLGUIClient#", "KXMLGUIClient(KXMLGUIClient*)", typeof(void), typeof(IKXMLGUIClient), parent);
 }
Beispiel #12
0
 public static void LoadPlugins(QObject parent, IKXMLGUIClient parentGUIClient, KComponentData instance)
 {
     staticInterceptor.Invoke("loadPlugins###", "loadPlugins(QObject*, KXMLGUIClient*, const KComponentData&)", typeof(void), typeof(QObject), parent, typeof(IKXMLGUIClient), parentGUIClient, typeof(KComponentData), instance);
 }
Beispiel #13
0
 public static void LoadPlugins(QObject parent, IKXMLGUIClient parentGUIClient, KComponentData instance, bool enableNewPluginsByDefault)
 {
     staticInterceptor.Invoke("loadPlugins###$", "loadPlugins(QObject*, KXMLGUIClient*, const KComponentData&, bool)", typeof(void), typeof(QObject), parent, typeof(IKXMLGUIClient), parentGUIClient, typeof(KComponentData), instance, typeof(bool), enableNewPluginsByDefault);
 }