summaryrefslogtreecommitdiffstats
path: root/kutils/kcmultidialog.cpp
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.cpp
parent0b26938b49885b762923cbec951ba03af04f57aa (diff)
downloadtdelibs-1ae857eec3232689de8fc52669e9bf9006f97f74.tar.gz
tdelibs-1ae857eec3232689de8fc52669e9bf9006f97f74.zip
Allow arguments to be passed to embedded kcontrol modules
Diffstat (limited to 'kutils/kcmultidialog.cpp')
-rw-r--r--kutils/kcmultidialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kutils/kcmultidialog.cpp b/kutils/kcmultidialog.cpp
index 53934349e..58c196abc 100644
--- a/kutils/kcmultidialog.cpp
+++ b/kutils/kcmultidialog.cpp
@@ -219,7 +219,7 @@ void KCMultiDialog::clientChanged(bool state)
enableButton( Apply, false );
}
-void KCMultiDialog::addModule(const TQString& path, bool withfallback)
+void KCMultiDialog::addModule(const TQString& path, bool withfallback, TQStringList args)
{
TQString complete = path;
@@ -228,11 +228,11 @@ void KCMultiDialog::addModule(const TQString& path, bool withfallback)
KService::Ptr service = KService::serviceByStorageId( complete );
- addModule( KCModuleInfo( service ), TQStringList(), withfallback);
+ addModule( KCModuleInfo( service ), TQStringList(), withfallback, args );
}
void KCMultiDialog::addModule(const KCModuleInfo& moduleinfo,
- TQStringList parentmodulenames, bool withfallback)
+ TQStringList parentmodulenames, bool withfallback, TQStringList args)
{
kdDebug(710) << "KCMultiDialog::addModule "
<< moduleinfo.moduleName() << endl;
@@ -294,7 +294,7 @@ void KCMultiDialog::addModule(const KCModuleInfo& moduleinfo,
}
else
{
- module = new KCModuleProxy( moduleinfo, withfallback, page );
+ module = new KCModuleProxy( moduleinfo, withfallback, page, 0, args );
TQStringList parentComponents = moduleinfo.service()->property(
"X-TDE-ParentComponents" ).toStringList();
moduleParentComponents.insert( module,