Beispiel #1
0
 public void AddPlugins(List<KPluginInfo> pluginInfoList, KPluginSelector.PluginLoadMethod pluginLoadMethod, string categoryName)
 {
     interceptor.Invoke("addPlugins?$$", "addPlugins(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&)", typeof(void), typeof(List<KPluginInfo>), pluginInfoList, typeof(KPluginSelector.PluginLoadMethod), pluginLoadMethod, typeof(string), categoryName);
 }
Beispiel #2
0
 public void AddPlugins(List<KPluginInfo> pluginInfoList, KPluginSelector.PluginLoadMethod pluginLoadMethod)
 {
     interceptor.Invoke("addPlugins?$", "addPlugins(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod)", typeof(void), typeof(List<KPluginInfo>), pluginInfoList, typeof(KPluginSelector.PluginLoadMethod), pluginLoadMethod);
 }
Beispiel #3
0
 /// <remarks>
 ///  Add a list of non-KParts plugins
 /// <param> name="pluginInfoList" A list of KPluginInfo objects containing the
 ///                          necessary information for the plugins you want to
 ///                          add to the list
 /// </param><param> name="pluginLoadMethod" If KPluginSelector will try to load the
 ///                          state of the plugin when loading the
 ///                          dialog from the configuration file or not.
 ///                          This is useful if for some reason you
 ///                          called the setPluginEnabled() for each plugin
 ///                          individually before loading the dialog, and
 ///                          don't want KPluginSelector to override them
 ///                          when loading
 /// </param><param> name="categoryName" The translated name of the category. This is the
 ///                          name that is shown in the title. If the category
 ///                          did exist before because of another call to
 ///                          addPlugins, then they will be shown in that
 ///                          category. If <code>categoryName</code> is a new one, then
 ///                          a new category will be shown on the plugin window,
 ///                          and the list of plugins added to it
 /// </param><param> name="categoryKey" When you have different categories of KParts
 ///                          plugins you distinguish between the plugins using
 ///                          the Category key in the .desktop file. Use this
 ///                          parameter to select only those KParts plugins
 ///                          with the Category key == <code>categoryKey.</code> If
 ///                          <code>categoryKey</code> is not set the Category key is
 ///                          ignored and all plugins are shown. Not match case
 /// </param><param> name="config" The KConfig object that holds the state of the
 ///                          plugins being enabled or not. By default it will
 ///                          use KGlobal.Config(). It is recommended to
 ///                          always pass a KConfig object if you use
 ///                          KSettings.PluginPage since you never know from
 ///                          where the page will be called (think global
 ///                          config app). For example KViewCanvas passes
 ///                          KConfig("kviewcanvas")
 /// </param> @note   All plugins that were set a config group using setConfig() method
 ///          will load and save their information from there. For those that
 ///          weren't any config object, <code>config</code> will be used
 ///       </remarks>        <short>    Add a list of non-KParts plugins </short>
 public void AddPlugins(List<KPluginInfo> pluginInfoList, KPluginSelector.PluginLoadMethod pluginLoadMethod, string categoryName, string categoryKey, KSharedConfig config)
 {
     interceptor.Invoke("addPlugins?$$$?", "addPlugins(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&)", typeof(void), typeof(List<KPluginInfo>), pluginInfoList, typeof(KPluginSelector.PluginLoadMethod), pluginLoadMethod, typeof(string), categoryName, typeof(string), categoryKey, typeof(KSharedConfig), config);
 }