summaryrefslogtreecommitdiffabout
authorulf69 <ulf69>2004-09-22 22:01:20 (UTC)
committer ulf69 <ulf69>2004-09-22 22:01:20 (UTC)
commit79ac19a2cbc793ea2afa699c558b1d0e84df7068 (patch) (unidiff)
tree51a37df9086d6b0990572cbf4eb54bb0125d6f69
parentec186283db0fda47513d16c78de5c4e2e6c49242 (diff)
downloadkdepimpi-79ac19a2cbc793ea2afa699c558b1d0e84df7068.zip
kdepimpi-79ac19a2cbc793ea2afa699c558b1d0e84df7068.tar.gz
kdepimpi-79ac19a2cbc793ea2afa699c558b1d0e84df7068.tar.bz2
removed debugoutput
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kutils/kcmultidialog.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/microkde/kutils/kcmultidialog.cpp b/microkde/kutils/kcmultidialog.cpp
index c4ccede..248476f 100644
--- a/microkde/kutils/kcmultidialog.cpp
+++ b/microkde/kutils/kcmultidialog.cpp
@@ -58,66 +58,64 @@ KCMultiDialog::KCMultiDialog(const QString& baseGroup, QWidget *parent, const ch
58#endif 58#endif
59 59
60} 60}
61 61
62KCMultiDialog::~KCMultiDialog() 62KCMultiDialog::~KCMultiDialog()
63{ 63{
64//US moduleDict.setAutoDelete(true); 64//US moduleDict.setAutoDelete(true);
65} 65}
66 66
67void KCMultiDialog::slotDefault() 67void KCMultiDialog::slotDefault()
68{ 68{
69 69
70 int curPageIndex = activePageIndex(); 70 int curPageIndex = activePageIndex();
71 71
72 QPtrListIterator<KCModule> it(modules); 72 QPtrListIterator<KCModule> it(modules);
73 for (; it.current(); ++it) 73 for (; it.current(); ++it)
74 { 74 {
75 if (pageIndex((QWidget *)(*it)->parent()) == curPageIndex) 75 if (pageIndex((QWidget *)(*it)->parent()) == curPageIndex)
76 { 76 {
77 (*it)->defaults(); 77 (*it)->defaults();
78 clientChanged(true); 78 clientChanged(true);
79 return; 79 return;
80 } 80 }
81 } 81 }
82 82
83} 83}
84void KCMultiDialog::accept() 84void KCMultiDialog::accept()
85{ 85{
86 slotOk(); 86 slotOk();
87} 87}
88void KCMultiDialog::slotApply() 88void KCMultiDialog::slotApply()
89{ 89{
90qDebug("KCMultiDialog::slotApply clicked");
91
92 QPtrListIterator<KCModule> it(modules); 90 QPtrListIterator<KCModule> it(modules);
93 for (; it.current(); ++it) 91 for (; it.current(); ++it)
94 (*it)->save(); 92 (*it)->save();
95 clientChanged(false); 93 clientChanged(false);
96 94
97 emit applyClicked(); 95 emit applyClicked();
98 96
99} 97}
100 98
101 99
102void KCMultiDialog::slotOk() 100void KCMultiDialog::slotOk()
103{ 101{
104qDebug("KCMultiDialog::slotOk clicked"); 102qDebug("KCMultiDialog::slotOk clicked");
105 103
106 QPtrListIterator<KCModule> it(modules); 104 QPtrListIterator<KCModule> it(modules);
107 for (; it.current(); ++it) 105 for (; it.current(); ++it)
108 (*it)->save(); 106 (*it)->save();
109 QDialog::accept(); 107 QDialog::accept();
110 108
111 emit okClicked(); 109 emit okClicked();
112} 110}
113 111
114void KCMultiDialog::slotHelp() 112void KCMultiDialog::slotHelp()
115{ 113{
116/*US 114/*US
117 KURL url( KURL("help:/"), _docPath ); 115 KURL url( KURL("help:/"), _docPath );
118 116
119 if (url.protocol() == "help" || url.protocol() == "man" || url.protocol() == "info") { 117 if (url.protocol() == "help" || url.protocol() == "man" || url.protocol() == "info") {
120 KProcess process; 118 KProcess process;
121 process << "khelpcenter" 119 process << "khelpcenter"
122 << url.url(); 120 << url.url();
123 process.start(KProcess::DontCare); 121 process.start(KProcess::DontCare);