-rw-r--r-- | microkde/kutils/kcmultidialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/microkde/kutils/kcmultidialog.cpp b/microkde/kutils/kcmultidialog.cpp index bb41b18..9c87682 100644 --- a/microkde/kutils/kcmultidialog.cpp +++ b/microkde/kutils/kcmultidialog.cpp | |||
@@ -13,65 +13,65 @@ | |||
13 | Library General Public License for more details. | 13 | Library General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Library General Public License | 15 | You should have received a copy of the GNU Library General Public License |
16 | along with this library; see the file COPYING.LIB. If not, write to | 16 | along with this library; see the file COPYING.LIB. If not, write to |
17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
18 | Boston, MA 02111-1307, USA. | 18 | Boston, MA 02111-1307, USA. |
19 | 19 | ||
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <qhbox.h> | 22 | #include <qhbox.h> |
23 | #include <qvbox.h> | 23 | #include <qvbox.h> |
24 | #include <qcursor.h> | 24 | #include <qcursor.h> |
25 | #include <qlayout.h> | 25 | #include <qlayout.h> |
26 | 26 | ||
27 | #include <klocale.h> | 27 | #include <klocale.h> |
28 | #include <kglobal.h> | 28 | #include <kglobal.h> |
29 | #include <kdebug.h> | 29 | #include <kdebug.h> |
30 | #include <kiconloader.h> | 30 | #include <kiconloader.h> |
31 | #include <kmessagebox.h> | 31 | #include <kmessagebox.h> |
32 | //US #include <klibloader.h> | 32 | //US #include <klibloader.h> |
33 | #include <krun.h> | 33 | #include <krun.h> |
34 | #include <kprocess.h> | 34 | #include <kprocess.h> |
35 | #include <kglobalsettings.h> | 35 | #include <kglobalsettings.h> |
36 | 36 | ||
37 | #include "kcmultidialog.h" | 37 | #include "kcmultidialog.h" |
38 | //US #include "kcmultidialog.moc" | 38 | //US #include "kcmultidialog.moc" |
39 | //US #include "kcmoduleloader.h" | 39 | //US #include "kcmoduleloader.h" |
40 | 40 | ||
41 | KCMultiDialog::KCMultiDialog(const QString& baseGroup, QWidget *parent, const char *name, bool modal) | 41 | KCMultiDialog::KCMultiDialog(const QString& baseGroup, QWidget *parent, const char *name, bool modal) |
42 | : KDialogBase(IconList, i18n("Configure"), Default |Cancel | Apply | Ok, Ok, | 42 | : KDialogBase(IconList, i18n("Configure"), Default |Cancel | Apply | Ok, Ok, |
43 | parent, name, modal, true), d(0L) | 43 | parent, name, modal, true), d(0L) |
44 | { | 44 | { |
45 | setFont( KGlobalSettings::generalFont() ); | 45 | setFont( KGlobalSettings::generalMaxFont() ); |
46 | enableButton(Apply, false); | 46 | enableButton(Apply, false); |
47 | //connect(this, SIGNAL(aboutToShowPage(QWidget *)), this, SLOT(slotAboutToShow(QWidget *))); | 47 | //connect(this, SIGNAL(aboutToShowPage(QWidget *)), this, SLOT(slotAboutToShow(QWidget *))); |
48 | 48 | ||
49 | connect( this, SIGNAL( defaultClicked() ), SLOT( slotDefault() ) ); | 49 | connect( this, SIGNAL( defaultClicked() ), SLOT( slotDefault() ) ); |
50 | 50 | ||
51 | _baseGroup = baseGroup; | 51 | _baseGroup = baseGroup; |
52 | mMainWidget = new KJanusWidget( this, "JanusWidget", KJanusWidget::Tabbed ); | 52 | mMainWidget = new KJanusWidget( this, "JanusWidget", KJanusWidget::Tabbed ); |
53 | setMainWidget(mMainWidget ); | 53 | setMainWidget(mMainWidget ); |
54 | #ifdef DESKTOP_VERSION | 54 | #ifdef DESKTOP_VERSION |
55 | resize(640,480); | 55 | resize(640,480); |
56 | #else | 56 | #else |
57 | //resize(640,480); | 57 | //resize(640,480); |
58 | //setMaximumSize( KMIN(KGlobal::getDesktopWidth()-5, 640), KMIN(KGlobal::getDesktopHeight()-20, 480)); | 58 | //setMaximumSize( KMIN(KGlobal::getDesktopWidth()-5, 640), KMIN(KGlobal::getDesktopHeight()-20, 480)); |
59 | resize(800,800); | 59 | resize(800,800); |
60 | setMaximumSize( 800, 800 ); | 60 | setMaximumSize( 800, 800 ); |
61 | //showMaximized(); | 61 | //showMaximized(); |
62 | #endif | 62 | #endif |
63 | 63 | ||
64 | } | 64 | } |
65 | 65 | ||
66 | KCMultiDialog::~KCMultiDialog() | 66 | KCMultiDialog::~KCMultiDialog() |
67 | { | 67 | { |
68 | //US moduleDict.setAutoDelete(true); | 68 | //US moduleDict.setAutoDelete(true); |
69 | } | 69 | } |
70 | 70 | ||
71 | void KCMultiDialog::slotDefault() | 71 | void KCMultiDialog::slotDefault() |
72 | { | 72 | { |
73 | 73 | ||
74 | int curPageIndex = activePageIndex(); | 74 | int curPageIndex = activePageIndex(); |
75 | 75 | ||
76 | QPtrListIterator<KCModule> it(modules); | 76 | QPtrListIterator<KCModule> it(modules); |
77 | for (; it.current(); ++it) | 77 | for (; it.current(); ++it) |