summaryrefslogtreecommitdiffstats
path: root/kutils/kcmultidialog.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-12-30 20:51:25 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-12-30 20:51:25 -0600
commit1ae857eec3232689de8fc52669e9bf9006f97f74 (patch)
treee1f8ee53bbb274ca4fb1ad5b90a906d7ea7d8d12 /kutils/kcmultidialog.h
parent0b26938b49885b762923cbec951ba03af04f57aa (diff)
downloadtdelibs-1ae857eec3232689de8fc52669e9bf9006f97f74.tar.gz
tdelibs-1ae857eec3232689de8fc52669e9bf9006f97f74.zip
Allow arguments to be passed to embedded kcontrol modules
Diffstat (limited to 'kutils/kcmultidialog.h')
-rw-r--r--kutils/kcmultidialog.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/kutils/kcmultidialog.h b/kutils/kcmultidialog.h
index ab57012ad..c26836e31 100644
--- a/kutils/kcmultidialog.h
+++ b/kutils/kcmultidialog.h
@@ -118,8 +118,10 @@ public:
*
* @param withfallback Try harder to load the module. Might result
* in the module appearing outside the dialog.
+ *
+ * @param args List of arguments to pass to the module.
**/
- void addModule(const TQString& module, bool withfallback=true);
+ void addModule(const TQString& module, bool withfallback=true, TQStringList args = TQStringList());
/**
* Add a module.
@@ -135,9 +137,11 @@ public:
*
* @param withfallback Try harder to load the module. Might result
* in the module appearing outside the dialog.
+ *
+ * @param args List of arguments to pass to the module.
**/
void addModule(const KCModuleInfo& moduleinfo, TQStringList
- parentmodulenames = TQStringList(), bool withfallback=false);
+ parentmodulenames = TQStringList(), bool withfallback=false, TQStringList args = TQStringList());
/**
* Remove all modules from the dialog.