summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/composerbase.cpp8
-rw-r--r--noncore/unsupported/mail2/configdiag.cpp20
-rw-r--r--noncore/unsupported/mail2/configdiag.h2
-rw-r--r--noncore/unsupported/mail2/configdiagbase.ui11
-rw-r--r--noncore/unsupported/mail2/mainwindowbase.cpp8
5 files changed, 8 insertions, 41 deletions
diff --git a/noncore/unsupported/mail2/composerbase.cpp b/noncore/unsupported/mail2/composerbase.cpp
index ff00a73..c456ae5 100644
--- a/noncore/unsupported/mail2/composerbase.cpp
+++ b/noncore/unsupported/mail2/composerbase.cpp
@@ -29,2 +29,6 @@ ComposerBase::ComposerBase(QWidget *parent, const char *name, WFlags fl)
29 29
30 QLabel *spacer = new QLabel(toolbar);
31 spacer->setBackgroundMode(QWidget::PaletteButton);
32 toolbar->setStretchableWidget(spacer);
33
30 sendmail = new QAction(tr("Send the mail"), QIconSet(Resource::loadPixmap("mail/sendmail")), 0, 0, this); 34 sendmail = new QAction(tr("Send the mail"), QIconSet(Resource::loadPixmap("mail/sendmail")), 0, 0, this);
@@ -46,6 +50,2 @@ ComposerBase::ComposerBase(QWidget *parent, const char *name, WFlags fl)
46 50
47 QLabel *spacer = new QLabel(toolbar);
48 spacer->setBackgroundMode(QWidget::PaletteButton);
49 toolbar->setStretchableWidget(spacer);
50
51 abort = new QAction(tr("Abort sending"), QIconSet(Resource::loadPixmap("mail/abort")), 0, 0, this); 51 abort = new QAction(tr("Abort sending"), QIconSet(Resource::loadPixmap("mail/abort")), 0, 0, this);
diff --git a/noncore/unsupported/mail2/configdiag.cpp b/noncore/unsupported/mail2/configdiag.cpp
index b89b937..e2b2f13 100644
--- a/noncore/unsupported/mail2/configdiag.cpp
+++ b/noncore/unsupported/mail2/configdiag.cpp
@@ -14,3 +14,2 @@
14#include "accounteditor.h" 14#include "accounteditor.h"
15#include "zaurusstuff.h"
16#include "configdiag.h" 15#include "configdiag.h"
@@ -51,4 +50,2 @@ ConfigDiag::ConfigDiag(QWidget *parent, const char *name, bool modal, WFlags fl)
51 50
52 connect(testbutton, SIGNAL(clicked()), SLOT(slotTestSettings()));
53
54 slotFillLists(); 51 slotFillLists();
@@ -128,18 +125 @@ void ConfigDiag::slotDelAccount()
128
129void ConfigDiag::slotTestSettings()
130{
131 testbutton->setEnabled(false);
132
133 if (blinkLed->isChecked()) ZaurusStuff::blinkLedOn();
134 if (playSound->isChecked()) ZaurusStuff::buzzerOn();
135 QTimer::singleShot(3000, this, SLOT(slotEndTest()));
136}
137
138void ConfigDiag::slotEndTest()
139{
140 if (playSound->isChecked()) ZaurusStuff::buzzerOff();
141 if (blinkLed->isChecked()) ZaurusStuff::blinkLedOff();
142
143 testbutton->setEnabled(true);
144}
145
diff --git a/noncore/unsupported/mail2/configdiag.h b/noncore/unsupported/mail2/configdiag.h
index f70ba7f..cbc9b22 100644
--- a/noncore/unsupported/mail2/configdiag.h
+++ b/noncore/unsupported/mail2/configdiag.h
@@ -39,4 +39,2 @@ protected slots:
39 void slotDelAccount(); 39 void slotDelAccount();
40 void slotTestSettings();
41 void slotEndTest();
42 40
diff --git a/noncore/unsupported/mail2/configdiagbase.ui b/noncore/unsupported/mail2/configdiagbase.ui
index 182fedc..8b225fe 100644
--- a/noncore/unsupported/mail2/configdiagbase.ui
+++ b/noncore/unsupported/mail2/configdiagbase.ui
@@ -235,13 +235,2 @@
235 </widget> 235 </widget>
236 <widget row="2" column="2" >
237 <class>QToolButton</class>
238 <property stdset="1">
239 <name>name</name>
240 <cstring>testbutton</cstring>
241 </property>
242 <property stdset="1">
243 <name>text</name>
244 <string> Test </string>
245 </property>
246 </widget>
247 <widget row="0" column="0" rowspan="1" colspan="3" > 236 <widget row="0" column="0" rowspan="1" colspan="3" >
diff --git a/noncore/unsupported/mail2/mainwindowbase.cpp b/noncore/unsupported/mail2/mainwindowbase.cpp
index 9ffe6f0..d61899b 100644
--- a/noncore/unsupported/mail2/mainwindowbase.cpp
+++ b/noncore/unsupported/mail2/mainwindowbase.cpp
@@ -32,2 +32,6 @@ MainWindowBase::MainWindowBase(QWidget *parent, const char *name, WFlags fl)
32 32
33 QLabel *spacer = new QLabel(toolbar);
34 spacer->setBackgroundMode(QWidget::PaletteButton);
35 toolbar->setStretchableWidget(spacer);
36
33 compose = new QAction(tr("Compose new mail"), QIconSet(Resource::loadPixmap("mail/newmail")), 0, 0, this); 37 compose = new QAction(tr("Compose new mail"), QIconSet(Resource::loadPixmap("mail/newmail")), 0, 0, this);
@@ -53,6 +57,2 @@ MainWindowBase::MainWindowBase(QWidget *parent, const char *name, WFlags fl)
53 57
54 QLabel *spacer = new QLabel(toolbar);
55 spacer->setBackgroundMode(QWidget::PaletteButton);
56 toolbar->setStretchableWidget(spacer);
57
58 stop = new QAction(tr("Abort"), QIconSet(Resource::loadPixmap("mail/abort")), 0, 0, this); 58 stop = new QAction(tr("Abort"), QIconSet(Resource::loadPixmap("mail/abort")), 0, 0, this);