Diffstat (limited to 'kmicromail/koprefsdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kmicromail/koprefsdialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kmicromail/koprefsdialog.cpp b/kmicromail/koprefsdialog.cpp index 4af4a8c..40347cc 100644 --- a/kmicromail/koprefsdialog.cpp +++ b/kmicromail/koprefsdialog.cpp | |||
@@ -52,48 +52,52 @@ | |||
52 | #include <kcolordialog.h> | 52 | #include <kcolordialog.h> |
53 | #include <kiconloader.h> | 53 | #include <kiconloader.h> |
54 | #include <kemailsettings.h> | 54 | #include <kemailsettings.h> |
55 | #include <kstandarddirs.h> | 55 | #include <kstandarddirs.h> |
56 | 56 | ||
57 | #include <klineedit.h> | 57 | #include <klineedit.h> |
58 | 58 | ||
59 | 59 | ||
60 | #include "koprefs.h" | 60 | #include "koprefs.h" |
61 | 61 | ||
62 | #include "koprefsdialog.h" | 62 | #include "koprefsdialog.h" |
63 | //#include <kprefswidget.h> | 63 | //#include <kprefswidget.h> |
64 | 64 | ||
65 | 65 | ||
66 | KOPrefsDialog::KOPrefsDialog(QWidget *parent, char *name, bool modal) : | 66 | KOPrefsDialog::KOPrefsDialog(QWidget *parent, char *name, bool modal) : |
67 | KPrefsDialog(KOPrefs::instance(),parent,name,true) | 67 | KPrefsDialog(KOPrefs::instance(),parent,name,true) |
68 | { | 68 | { |
69 | 69 | ||
70 | setCaption( i18n("Settings - some need a restart (nr)")); | 70 | setCaption( i18n("Settings - some need a restart (nr)")); |
71 | setupGlobalTab(); | 71 | setupGlobalTab(); |
72 | setupMainTab(); | 72 | setupMainTab(); |
73 | setupMailTab();; | 73 | setupMailTab();; |
74 | setupFontsTab(); | 74 | setupFontsTab(); |
75 | readConfig(); | 75 | readConfig(); |
76 | #ifndef DESKTOP_VERSION | ||
77 | if ( QApplication::desktop()->height() == 480 ) | ||
78 | hideButtons(); | ||
79 | #endif | ||
76 | 80 | ||
77 | #if 0 | 81 | #if 0 |
78 | 82 | ||
79 | setupMainTab(); | 83 | setupMainTab(); |
80 | setupLocaleTab(); | 84 | setupLocaleTab(); |
81 | setupTimeZoneTab(); | 85 | setupTimeZoneTab(); |
82 | setupTimeTab(); | 86 | setupTimeTab(); |
83 | setupLocaleDateTab(); | 87 | setupLocaleDateTab(); |
84 | setupFontsTab(); | 88 | setupFontsTab(); |
85 | setupColorsTab(); | 89 | setupColorsTab(); |
86 | setupViewsTab(); | 90 | setupViewsTab(); |
87 | //setupSyncTab(); | 91 | //setupSyncTab(); |
88 | //setupSyncAlgTab(); | 92 | //setupSyncAlgTab(); |
89 | //setupPrinterTab(); | 93 | //setupPrinterTab(); |
90 | //setupGroupSchedulingTab(); | 94 | //setupGroupSchedulingTab(); |
91 | //setupGroupAutomationTab(); | 95 | //setupGroupAutomationTab(); |
92 | #endif | 96 | #endif |
93 | } | 97 | } |
94 | 98 | ||
95 | #include "kpimglobalprefs.h" | 99 | #include "kpimglobalprefs.h" |
96 | 100 | ||
97 | KOPrefsDialog::~KOPrefsDialog() | 101 | KOPrefsDialog::~KOPrefsDialog() |
98 | { | 102 | { |
99 | } | 103 | } |