-rw-r--r-- | noncore/unsupported/mail2/bend/bend.cpp | 15 | ||||
-rw-r--r-- | noncore/unsupported/mail2/bend/bend.h | 2 | ||||
-rw-r--r-- | noncore/unsupported/mail2/configdiagbase.ui | 2 |
3 files changed, 15 insertions, 4 deletions
diff --git a/noncore/unsupported/mail2/bend/bend.cpp b/noncore/unsupported/mail2/bend/bend.cpp index b4da3ac..fe3b736 100644 --- a/noncore/unsupported/mail2/bend/bend.cpp +++ b/noncore/unsupported/mail2/bend/bend.cpp | |||
@@ -1,116 +1,127 @@ | |||
1 | #include <qlayout.h> | 1 | #include <qlayout.h> |
2 | #include <qpixmap.h> | 2 | #include <qpixmap.h> |
3 | #include <qlabel.h> | 3 | #include <qlabel.h> |
4 | #include <qsound.h> | ||
4 | #include <qtimer.h> | 5 | #include <qtimer.h> |
5 | #include <qdir.h> | 6 | #include <qdir.h> |
6 | 7 | ||
7 | #include <qpe/qcopenvelope_qws.h> | 8 | #include <qpe/qcopenvelope_qws.h> |
8 | #include <qpe/resource.h> | 9 | #include <qpe/resource.h> |
9 | #include <qpe/config.h> | 10 | #include <qpe/config.h> |
10 | 11 | ||
11 | #include <stdlib.h> | 12 | #include <stdlib.h> |
12 | 13 | ||
13 | #include "configfile.h" | 14 | #include "configfile.h" |
14 | #include "imapresponse.h" | 15 | #include "imapresponse.h" |
15 | #include "imaphandler.h" | 16 | #include "imaphandler.h" |
16 | #include "zaurusstuff.h" | 17 | #include "zaurusstuff.h" |
17 | #include "bend.h" | 18 | #include "bend.h" |
18 | 19 | ||
19 | BenD::BenD(QWidget *parent, const char *name, WFlags fl) | 20 | BenD::BenD(QWidget *parent, const char *name, WFlags fl) |
20 | : QButton(parent, name, fl) | 21 | : QButton(parent, name, fl) |
21 | { | 22 | { |
23 | _zaurus = false; | ||
24 | if (QFile("/dev/sharp_buz").exists()) _zaurus = true; | ||
25 | |||
22 | _config = new Config("mail"); | 26 | _config = new Config("mail"); |
23 | _config->setGroup("Settings"); | 27 | _config->setGroup("Settings"); |
24 | 28 | ||
25 | QVBoxLayout *layout = new QVBoxLayout(this); | 29 | QVBoxLayout *layout = new QVBoxLayout(this); |
26 | layout->addItem(new QSpacerItem(0,0)); | 30 | layout->addItem(new QSpacerItem(0,0)); |
27 | 31 | ||
28 | QLabel *pixmap = new QLabel(this); | 32 | QLabel *pixmap = new QLabel(this); |
29 | pixmap->setPixmap(Resource::loadPixmap("mail/mailchecker")); | 33 | pixmap->setPixmap(Resource::loadPixmap("mail/mailchecker")); |
30 | layout->addWidget(pixmap); | 34 | layout->addWidget(pixmap); |
31 | 35 | ||
32 | layout->addItem(new QSpacerItem(0,0)); | 36 | layout->addItem(new QSpacerItem(0,0)); |
33 | 37 | ||
34 | hide(); | 38 | hide(); |
35 | 39 | ||
36 | connect(this, SIGNAL(clicked()), SLOT(slotClicked())); | 40 | connect(this, SIGNAL(clicked()), SLOT(slotClicked())); |
37 | 41 | ||
38 | if (!_config->readBoolEntry("Disabled", false)) { | 42 | if (!_config->readBoolEntry("Disabled", false)) { |
39 | _intervalMs = _config->readNumEntry("CheckEvery", 5) * 60000; | 43 | _intervalMs = _config->readNumEntry("CheckEvery", 5) * 60000; |
40 | _intervalTimer = new QTimer(); | 44 | _intervalTimer = new QTimer(); |
41 | _intervalTimer->start(_intervalMs); | 45 | _intervalTimer->start(_intervalMs); |
42 | connect(_intervalTimer, SIGNAL(timeout()), SLOT(slotCheck())); | 46 | connect(_intervalTimer, SIGNAL(timeout()), SLOT(slotCheck())); |
43 | 47 | ||
44 | QTimer::singleShot(0, this, SLOT(slotCheck())); | 48 | QTimer::singleShot(0, this, SLOT(slotCheck())); |
45 | } | 49 | } |
46 | } | 50 | } |
47 | 51 | ||
48 | void BenD::drawButton(QPainter *) { } | 52 | void BenD::drawButton(QPainter *) { } |
49 | void BenD::drawButtonText(QPainter *) { } | 53 | void BenD::drawButtonText(QPainter *) { } |
50 | 54 | ||
51 | void BenD::slotClicked() | 55 | void BenD::slotClicked() |
52 | { | 56 | { |
53 | QCopEnvelope e("QPE/System", "execute(QString)"); | 57 | QCopEnvelope e("QPE/System", "execute(QString)"); |
54 | e << QString("mail"); | 58 | e << QString("mail"); |
55 | 59 | ||
56 | if (_ledOn) { | 60 | if (_ledOn) { |
57 | ZaurusStuff::blinkLedOff(); | 61 | ZaurusStuff::blinkLedOff(); |
58 | _ledOn = false; | 62 | _ledOn = false; |
59 | } | 63 | } |
60 | } | 64 | } |
61 | 65 | ||
62 | void BenD::slotCheck() | 66 | void BenD::slotCheck() |
63 | { | 67 | { |
64 | // Check wether the check interval has been changed. | 68 | // Check wether the check interval has been changed. |
65 | int newIntervalMs = _config->readNumEntry("CheckEvery", 5) * 60000; | 69 | int newIntervalMs = _config->readNumEntry("CheckEvery", 5) * 60000; |
66 | if (newIntervalMs != _intervalMs) { | 70 | if (newIntervalMs != _intervalMs) { |
67 | _intervalTimer->changeInterval(newIntervalMs); | 71 | _intervalTimer->changeInterval(newIntervalMs); |
68 | _intervalMs = newIntervalMs; | 72 | _intervalMs = newIntervalMs; |
73 | #ifndef QT_NO_DEBUG | ||
74 | qWarning("BenD: Detected interval change"); | ||
75 | #endif | ||
69 | } | 76 | } |
70 | 77 | ||
71 | QValueList<Account> acList = ConfigFile::getAccounts(); | 78 | QValueList<Account> acList = ConfigFile::getAccounts(); |
72 | QValueList<Account>::Iterator ot; | 79 | QValueList<Account>::Iterator ot; |
73 | for (ot = acList.begin(); ot != acList.end(); ot++) { | 80 | for (ot = acList.begin(); ot != acList.end(); ot++) { |
74 | if (!((*ot).imapServer().isEmpty() || | 81 | if (!((*ot).imapServer().isEmpty() || |
75 | (*ot).imapPort().isEmpty() || | 82 | (*ot).imapPort().isEmpty() || |
76 | (*ot).user().isEmpty() || | 83 | (*ot).user().isEmpty() || |
77 | (*ot).pass().isEmpty())) { | 84 | (*ot).pass().isEmpty())) { |
78 | if (!((*ot).imapSsl() && | 85 | if (!((*ot).imapSsl() && |
79 | (*ot).imapSslPort().isEmpty())) { | 86 | (*ot).imapSslPort().isEmpty())) { |
80 | IMAPHandler *handler = new IMAPHandler(*ot); | 87 | IMAPHandler *handler = new IMAPHandler(*ot); |
81 | handler->iStatus("INBOX", "RECENT"); | 88 | handler->iStatus("INBOX", "RECENT"); |
82 | connect(handler, SIGNAL(gotResponse(IMAPResponse &)), SLOT(slotIMAPStatus(IMAPResponse &))); | 89 | connect(handler, SIGNAL(gotResponse(IMAPResponse &)), SLOT(slotIMAPStatus(IMAPResponse &))); |
83 | } | 90 | } |
84 | } | 91 | } |
85 | } | 92 | } |
86 | } | 93 | } |
87 | 94 | ||
88 | void BenD::slotIMAPStatus(IMAPResponse &response) | 95 | void BenD::slotIMAPStatus(IMAPResponse &response) |
89 | { | 96 | { |
90 | disconnect(response.imapHandler(), SIGNAL(gotResponse(IMAPResponse &)), this, SLOT(slotIMAPStatus(IMAPResponse &))); | 97 | disconnect(response.imapHandler(), SIGNAL(gotResponse(IMAPResponse &)), this, SLOT(slotIMAPStatus(IMAPResponse &))); |
91 | 98 | ||
92 | if (response.statusResponse().status() == IMAPResponseEnums::OK) { | 99 | if (response.statusResponse().status() == IMAPResponseEnums::OK) { |
93 | if (response.STATUS()[0].recent().toInt() > 0) { | 100 | if (response.STATUS()[0].recent().toInt() > 0) { |
94 | if (isHidden()) show(); | 101 | if (isHidden()) show(); |
95 | if (_config->readBoolEntry("BlinkLed", true)) | 102 | if (_config->readBoolEntry("BlinkLed", true)) |
96 | ZaurusStuff::blinkLedOn(); | 103 | ZaurusStuff::blinkLedOn(); |
97 | if (_config->readBoolEntry("PlaySound", false)) { | 104 | if (_config->readBoolEntry("PlaySound", false)) { |
98 | ZaurusStuff::buzzerOn(); | 105 | if (_zaurus) { |
99 | QTimer::singleShot(3000, this, SLOT(slotSoundOff())); | 106 | ZaurusStuff::buzzerOn(); |
107 | QTimer::singleShot(3000, this, SLOT(slotSoundOff())); | ||
108 | } else { | ||
109 | QSound::play(Resource::findSound("mail/newmail")); | ||
110 | } | ||
100 | } | 111 | } |
101 | } else { | 112 | } else { |
102 | if (!isHidden()) hide(); | 113 | if (!isHidden()) hide(); |
103 | if (!_ledOn) { | 114 | if (!_ledOn) { |
104 | ZaurusStuff::blinkLedOff(); | 115 | ZaurusStuff::blinkLedOff(); |
105 | _ledOn = false; | 116 | _ledOn = false; |
106 | } | 117 | } |
107 | } | 118 | } |
108 | response.imapHandler()->iLogout(); | 119 | response.imapHandler()->iLogout(); |
109 | } else qWarning("BenD: WARNING: Couldn't retrieve INBOX status."); | 120 | } else qWarning("BenD: WARNING: Couldn't retrieve INBOX status."); |
110 | } | 121 | } |
111 | 122 | ||
112 | void BenD::slotSoundOff() | 123 | void BenD::slotSoundOff() |
113 | { | 124 | { |
114 | ZaurusStuff::buzzerOff(); | 125 | ZaurusStuff::buzzerOff(); |
115 | } | 126 | } |
116 | 127 | ||
diff --git a/noncore/unsupported/mail2/bend/bend.h b/noncore/unsupported/mail2/bend/bend.h index cf50bc5..7972929 100644 --- a/noncore/unsupported/mail2/bend/bend.h +++ b/noncore/unsupported/mail2/bend/bend.h | |||
@@ -1,38 +1,38 @@ | |||
1 | #ifndef BEND_H | 1 | #ifndef BEND_H |
2 | #define BEND_H | 2 | #define BEND_H |
3 | 3 | ||
4 | #include <qbutton.h> | 4 | #include <qbutton.h> |
5 | 5 | ||
6 | class Config; | 6 | class Config; |
7 | class QTimer; | 7 | class QTimer; |
8 | class IMAPResponse; | 8 | class IMAPResponse; |
9 | 9 | ||
10 | class BenD : public QButton | 10 | class BenD : public QButton |
11 | { | 11 | { |
12 | Q_OBJECT | 12 | Q_OBJECT |
13 | 13 | ||
14 | public: | 14 | public: |
15 | BenD(QWidget *parent = 0, const char *name = 0, WFlags fl = 0); | 15 | BenD(QWidget *parent = 0, const char *name = 0, WFlags fl = 0); |
16 | 16 | ||
17 | protected: | 17 | protected: |
18 | void drawButton(QPainter *); | 18 | void drawButton(QPainter *); |
19 | void drawButtonText(QPainter *); | 19 | void drawButtonText(QPainter *); |
20 | void gotNewMail(); | 20 | void gotNewMail(); |
21 | QString rot13(const QString &input); | 21 | QString rot13(const QString &input); |
22 | 22 | ||
23 | protected slots: | 23 | protected slots: |
24 | void slotCheck(); | 24 | void slotCheck(); |
25 | void slotClicked(); | 25 | void slotClicked(); |
26 | void slotSoundOff(); | 26 | void slotSoundOff(); |
27 | void slotIMAPStatus(IMAPResponse &response); | 27 | void slotIMAPStatus(IMAPResponse &response); |
28 | 28 | ||
29 | private: | 29 | private: |
30 | Config *_config; | 30 | Config *_config; |
31 | QTimer *_intervalTimer; | 31 | QTimer *_intervalTimer; |
32 | int _intervalMs; | 32 | int _intervalMs; |
33 | bool _ledOn; | 33 | bool _zaurus, _ledOn; |
34 | 34 | ||
35 | }; | 35 | }; |
36 | 36 | ||
37 | #endif | 37 | #endif |
38 | 38 | ||
diff --git a/noncore/unsupported/mail2/configdiagbase.ui b/noncore/unsupported/mail2/configdiagbase.ui index 754458a..dfe0db8 100644 --- a/noncore/unsupported/mail2/configdiagbase.ui +++ b/noncore/unsupported/mail2/configdiagbase.ui | |||
@@ -1,352 +1,352 @@ | |||
1 | <!DOCTYPE UI><UI> | 1 | <!DOCTYPE UI><UI> |
2 | <class>ConfigDiagBase</class> | 2 | <class>ConfigDiagBase</class> |
3 | <widget> | 3 | <widget> |
4 | <class>QDialog</class> | 4 | <class>QDialog</class> |
5 | <property stdset="1"> | 5 | <property stdset="1"> |
6 | <name>name</name> | 6 | <name>name</name> |
7 | <cstring>ConfigDiagBase</cstring> | 7 | <cstring>ConfigDiagBase</cstring> |
8 | </property> | 8 | </property> |
9 | <property stdset="1"> | 9 | <property stdset="1"> |
10 | <name>geometry</name> | 10 | <name>geometry</name> |
11 | <rect> | 11 | <rect> |
12 | <x>0</x> | 12 | <x>0</x> |
13 | <y>0</y> | 13 | <y>0</y> |
14 | <width>260</width> | 14 | <width>260</width> |
15 | <height>344</height> | 15 | <height>344</height> |
16 | </rect> | 16 | </rect> |
17 | </property> | 17 | </property> |
18 | <property stdset="1"> | 18 | <property stdset="1"> |
19 | <name>caption</name> | 19 | <name>caption</name> |
20 | <string>Configuration</string> | 20 | <string>Configuration</string> |
21 | </property> | 21 | </property> |
22 | <property> | 22 | <property> |
23 | <name>layoutMargin</name> | 23 | <name>layoutMargin</name> |
24 | </property> | 24 | </property> |
25 | <property> | 25 | <property> |
26 | <name>layoutSpacing</name> | 26 | <name>layoutSpacing</name> |
27 | </property> | 27 | </property> |
28 | <grid> | 28 | <grid> |
29 | <property stdset="1"> | 29 | <property stdset="1"> |
30 | <name>margin</name> | 30 | <name>margin</name> |
31 | <number>0</number> | 31 | <number>0</number> |
32 | </property> | 32 | </property> |
33 | <property stdset="1"> | 33 | <property stdset="1"> |
34 | <name>spacing</name> | 34 | <name>spacing</name> |
35 | <number>0</number> | 35 | <number>0</number> |
36 | </property> | 36 | </property> |
37 | <widget row="0" column="0" > | 37 | <widget row="0" column="0" > |
38 | <class>QTabWidget</class> | 38 | <class>QTabWidget</class> |
39 | <property stdset="1"> | 39 | <property stdset="1"> |
40 | <name>name</name> | 40 | <name>name</name> |
41 | <cstring>TabWidget2</cstring> | 41 | <cstring>TabWidget2</cstring> |
42 | </property> | 42 | </property> |
43 | <property> | 43 | <property> |
44 | <name>layoutMargin</name> | 44 | <name>layoutMargin</name> |
45 | </property> | 45 | </property> |
46 | <property> | 46 | <property> |
47 | <name>layoutSpacing</name> | 47 | <name>layoutSpacing</name> |
48 | </property> | 48 | </property> |
49 | <widget> | 49 | <widget> |
50 | <class>QWidget</class> | 50 | <class>QWidget</class> |
51 | <property stdset="1"> | 51 | <property stdset="1"> |
52 | <name>name</name> | 52 | <name>name</name> |
53 | <cstring>tab</cstring> | 53 | <cstring>tab</cstring> |
54 | </property> | 54 | </property> |
55 | <attribute> | 55 | <attribute> |
56 | <name>title</name> | 56 | <name>title</name> |
57 | <string>Accounts</string> | 57 | <string>Accounts</string> |
58 | </attribute> | 58 | </attribute> |
59 | <grid> | 59 | <grid> |
60 | <property stdset="1"> | 60 | <property stdset="1"> |
61 | <name>margin</name> | 61 | <name>margin</name> |
62 | <number>4</number> | 62 | <number>4</number> |
63 | </property> | 63 | </property> |
64 | <property stdset="1"> | 64 | <property stdset="1"> |
65 | <name>spacing</name> | 65 | <name>spacing</name> |
66 | <number>3</number> | 66 | <number>3</number> |
67 | </property> | 67 | </property> |
68 | <widget row="1" column="1" > | 68 | <widget row="1" column="1" > |
69 | <class>QPushButton</class> | 69 | <class>QPushButton</class> |
70 | <property stdset="1"> | 70 | <property stdset="1"> |
71 | <name>name</name> | 71 | <name>name</name> |
72 | <cstring>accountEdit</cstring> | 72 | <cstring>accountEdit</cstring> |
73 | </property> | 73 | </property> |
74 | <property stdset="1"> | 74 | <property stdset="1"> |
75 | <name>text</name> | 75 | <name>text</name> |
76 | <string>Edit</string> | 76 | <string>Edit</string> |
77 | </property> | 77 | </property> |
78 | </widget> | 78 | </widget> |
79 | <widget row="1" column="2" > | 79 | <widget row="1" column="2" > |
80 | <class>QPushButton</class> | 80 | <class>QPushButton</class> |
81 | <property stdset="1"> | 81 | <property stdset="1"> |
82 | <name>name</name> | 82 | <name>name</name> |
83 | <cstring>accountDelete</cstring> | 83 | <cstring>accountDelete</cstring> |
84 | </property> | 84 | </property> |
85 | <property stdset="1"> | 85 | <property stdset="1"> |
86 | <name>text</name> | 86 | <name>text</name> |
87 | <string>Delete</string> | 87 | <string>Delete</string> |
88 | </property> | 88 | </property> |
89 | </widget> | 89 | </widget> |
90 | <widget row="0" column="0" rowspan="1" colspan="3" > | 90 | <widget row="0" column="0" rowspan="1" colspan="3" > |
91 | <class>QListView</class> | 91 | <class>QListView</class> |
92 | <column> | 92 | <column> |
93 | <property> | 93 | <property> |
94 | <name>text</name> | 94 | <name>text</name> |
95 | <string>[Hidden]</string> | 95 | <string>[Hidden]</string> |
96 | </property> | 96 | </property> |
97 | <property> | 97 | <property> |
98 | <name>clickable</name> | 98 | <name>clickable</name> |
99 | <bool>true</bool> | 99 | <bool>true</bool> |
100 | </property> | 100 | </property> |
101 | <property> | 101 | <property> |
102 | <name>resizeable</name> | 102 | <name>resizeable</name> |
103 | <bool>true</bool> | 103 | <bool>true</bool> |
104 | </property> | 104 | </property> |
105 | </column> | 105 | </column> |
106 | <property stdset="1"> | 106 | <property stdset="1"> |
107 | <name>name</name> | 107 | <name>name</name> |
108 | <cstring>accountList</cstring> | 108 | <cstring>accountList</cstring> |
109 | </property> | 109 | </property> |
110 | </widget> | 110 | </widget> |
111 | <widget row="1" column="0" > | 111 | <widget row="1" column="0" > |
112 | <class>QPushButton</class> | 112 | <class>QPushButton</class> |
113 | <property stdset="1"> | 113 | <property stdset="1"> |
114 | <name>name</name> | 114 | <name>name</name> |
115 | <cstring>accountNew</cstring> | 115 | <cstring>accountNew</cstring> |
116 | </property> | 116 | </property> |
117 | <property stdset="1"> | 117 | <property stdset="1"> |
118 | <name>text</name> | 118 | <name>text</name> |
119 | <string>New</string> | 119 | <string>New</string> |
120 | </property> | 120 | </property> |
121 | </widget> | 121 | </widget> |
122 | </grid> | 122 | </grid> |
123 | </widget> | 123 | </widget> |
124 | <widget> | 124 | <widget> |
125 | <class>QWidget</class> | 125 | <class>QWidget</class> |
126 | <property stdset="1"> | 126 | <property stdset="1"> |
127 | <name>name</name> | 127 | <name>name</name> |
128 | <cstring>tab</cstring> | 128 | <cstring>tab</cstring> |
129 | </property> | 129 | </property> |
130 | <attribute> | 130 | <attribute> |
131 | <name>title</name> | 131 | <name>title</name> |
132 | <string>General</string> | 132 | <string>General</string> |
133 | </attribute> | 133 | </attribute> |
134 | <grid> | 134 | <grid> |
135 | <property stdset="1"> | 135 | <property stdset="1"> |
136 | <name>margin</name> | 136 | <name>margin</name> |
137 | <number>4</number> | 137 | <number>4</number> |
138 | </property> | 138 | </property> |
139 | <property stdset="1"> | 139 | <property stdset="1"> |
140 | <name>spacing</name> | 140 | <name>spacing</name> |
141 | <number>3</number> | 141 | <number>3</number> |
142 | </property> | 142 | </property> |
143 | <spacer row="1" column="0" > | 143 | <spacer row="1" column="0" > |
144 | <property> | 144 | <property> |
145 | <name>name</name> | 145 | <name>name</name> |
146 | <cstring>Spacer5</cstring> | 146 | <cstring>Spacer5</cstring> |
147 | </property> | 147 | </property> |
148 | <property stdset="1"> | 148 | <property stdset="1"> |
149 | <name>orientation</name> | 149 | <name>orientation</name> |
150 | <enum>Vertical</enum> | 150 | <enum>Vertical</enum> |
151 | </property> | 151 | </property> |
152 | <property stdset="1"> | 152 | <property stdset="1"> |
153 | <name>sizeType</name> | 153 | <name>sizeType</name> |
154 | <enum>Expanding</enum> | 154 | <enum>Expanding</enum> |
155 | </property> | 155 | </property> |
156 | <property> | 156 | <property> |
157 | <name>sizeHint</name> | 157 | <name>sizeHint</name> |
158 | <size> | 158 | <size> |
159 | <width>20</width> | 159 | <width>20</width> |
160 | <height>20</height> | 160 | <height>20</height> |
161 | </size> | 161 | </size> |
162 | </property> | 162 | </property> |
163 | </spacer> | 163 | </spacer> |
164 | <widget row="0" column="0" > | 164 | <widget row="0" column="0" > |
165 | <class>QGroupBox</class> | 165 | <class>QGroupBox</class> |
166 | <property stdset="1"> | 166 | <property stdset="1"> |
167 | <name>name</name> | 167 | <name>name</name> |
168 | <cstring>notificationGroup</cstring> | 168 | <cstring>notificationGroup</cstring> |
169 | </property> | 169 | </property> |
170 | <property stdset="1"> | 170 | <property stdset="1"> |
171 | <name>title</name> | 171 | <name>title</name> |
172 | <string>Mail notification</string> | 172 | <string>Mail notification</string> |
173 | </property> | 173 | </property> |
174 | <property> | 174 | <property> |
175 | <name>layoutMargin</name> | 175 | <name>layoutMargin</name> |
176 | </property> | 176 | </property> |
177 | <property> | 177 | <property> |
178 | <name>layoutSpacing</name> | 178 | <name>layoutSpacing</name> |
179 | </property> | 179 | </property> |
180 | <grid> | 180 | <grid> |
181 | <property stdset="1"> | 181 | <property stdset="1"> |
182 | <name>margin</name> | 182 | <name>margin</name> |
183 | <number>4</number> | 183 | <number>4</number> |
184 | </property> | 184 | </property> |
185 | <property stdset="1"> | 185 | <property stdset="1"> |
186 | <name>spacing</name> | 186 | <name>spacing</name> |
187 | <number>3</number> | 187 | <number>3</number> |
188 | </property> | 188 | </property> |
189 | <widget row="1" column="0" > | 189 | <widget row="1" column="0" > |
190 | <class>QFrame</class> | 190 | <class>QFrame</class> |
191 | <property stdset="1"> | 191 | <property stdset="1"> |
192 | <name>name</name> | 192 | <name>name</name> |
193 | <cstring>Frame3</cstring> | 193 | <cstring>Frame3</cstring> |
194 | </property> | 194 | </property> |
195 | <property stdset="1"> | 195 | <property stdset="1"> |
196 | <name>frameShape</name> | 196 | <name>frameShape</name> |
197 | <enum>NoFrame</enum> | 197 | <enum>NoFrame</enum> |
198 | </property> | 198 | </property> |
199 | <property stdset="1"> | 199 | <property stdset="1"> |
200 | <name>frameShadow</name> | 200 | <name>frameShadow</name> |
201 | <enum>Raised</enum> | 201 | <enum>Raised</enum> |
202 | </property> | 202 | </property> |
203 | <property> | 203 | <property> |
204 | <name>layoutMargin</name> | 204 | <name>layoutMargin</name> |
205 | </property> | 205 | </property> |
206 | <property> | 206 | <property> |
207 | <name>layoutSpacing</name> | 207 | <name>layoutSpacing</name> |
208 | </property> | 208 | </property> |
209 | <grid> | 209 | <grid> |
210 | <property stdset="1"> | 210 | <property stdset="1"> |
211 | <name>margin</name> | 211 | <name>margin</name> |
212 | <number>0</number> | 212 | <number>0</number> |
213 | </property> | 213 | </property> |
214 | <property stdset="1"> | 214 | <property stdset="1"> |
215 | <name>spacing</name> | 215 | <name>spacing</name> |
216 | <number>3</number> | 216 | <number>3</number> |
217 | </property> | 217 | </property> |
218 | <widget row="1" column="0" rowspan="1" colspan="3" > | 218 | <widget row="1" column="0" rowspan="1" colspan="3" > |
219 | <class>QCheckBox</class> | 219 | <class>QCheckBox</class> |
220 | <property stdset="1"> | 220 | <property stdset="1"> |
221 | <name>name</name> | 221 | <name>name</name> |
222 | <cstring>blinkLed</cstring> | 222 | <cstring>blinkLed</cstring> |
223 | </property> | 223 | </property> |
224 | <property stdset="1"> | 224 | <property stdset="1"> |
225 | <name>sizePolicy</name> | 225 | <name>sizePolicy</name> |
226 | <sizepolicy> | 226 | <sizepolicy> |
227 | <hsizetype>3</hsizetype> | 227 | <hsizetype>3</hsizetype> |
228 | <vsizetype>0</vsizetype> | 228 | <vsizetype>0</vsizetype> |
229 | </sizepolicy> | 229 | </sizepolicy> |
230 | </property> | 230 | </property> |
231 | <property stdset="1"> | 231 | <property stdset="1"> |
232 | <name>text</name> | 232 | <name>text</name> |
233 | <string>Blink LED (Zaurus only)</string> | 233 | <string>Blink LED (Zaurus only)</string> |
234 | </property> | 234 | </property> |
235 | </widget> | 235 | </widget> |
236 | <widget row="2" column="2" > | 236 | <widget row="2" column="2" > |
237 | <class>QToolButton</class> | 237 | <class>QToolButton</class> |
238 | <property stdset="1"> | 238 | <property stdset="1"> |
239 | <name>name</name> | 239 | <name>name</name> |
240 | <cstring>testbutton</cstring> | 240 | <cstring>testbutton</cstring> |
241 | </property> | 241 | </property> |
242 | <property stdset="1"> | 242 | <property stdset="1"> |
243 | <name>text</name> | 243 | <name>text</name> |
244 | <string> Test </string> | 244 | <string> Test </string> |
245 | </property> | 245 | </property> |
246 | </widget> | 246 | </widget> |
247 | <widget row="0" column="0" rowspan="1" colspan="3" > | 247 | <widget row="0" column="0" rowspan="1" colspan="3" > |
248 | <class>QCheckBox</class> | 248 | <class>QCheckBox</class> |
249 | <property stdset="1"> | 249 | <property stdset="1"> |
250 | <name>name</name> | 250 | <name>name</name> |
251 | <cstring>playSound</cstring> | 251 | <cstring>playSound</cstring> |
252 | </property> | 252 | </property> |
253 | <property stdset="1"> | 253 | <property stdset="1"> |
254 | <name>text</name> | 254 | <name>text</name> |
255 | <string>Play sound (Zaurus only)</string> | 255 | <string>Play sound</string> |
256 | </property> | 256 | </property> |
257 | </widget> | 257 | </widget> |
258 | <widget row="2" column="0" > | 258 | <widget row="2" column="0" > |
259 | <class>QLabel</class> | 259 | <class>QLabel</class> |
260 | <property stdset="1"> | 260 | <property stdset="1"> |
261 | <name>name</name> | 261 | <name>name</name> |
262 | <cstring>TextLabel1</cstring> | 262 | <cstring>TextLabel1</cstring> |
263 | </property> | 263 | </property> |
264 | <property stdset="1"> | 264 | <property stdset="1"> |
265 | <name>text</name> | 265 | <name>text</name> |
266 | <string><b>Check&nbsp;every</string> | 266 | <string><b>Check&nbsp;every</string> |
267 | </property> | 267 | </property> |
268 | </widget> | 268 | </widget> |
269 | <widget row="2" column="1" > | 269 | <widget row="2" column="1" > |
270 | <class>QSpinBox</class> | 270 | <class>QSpinBox</class> |
271 | <property stdset="1"> | 271 | <property stdset="1"> |
272 | <name>name</name> | 272 | <name>name</name> |
273 | <cstring>checkDelay</cstring> | 273 | <cstring>checkDelay</cstring> |
274 | </property> | 274 | </property> |
275 | <property stdset="1"> | 275 | <property stdset="1"> |
276 | <name>sizePolicy</name> | 276 | <name>sizePolicy</name> |
277 | <sizepolicy> | 277 | <sizepolicy> |
278 | <hsizetype>3</hsizetype> | 278 | <hsizetype>3</hsizetype> |
279 | <vsizetype>0</vsizetype> | 279 | <vsizetype>0</vsizetype> |
280 | </sizepolicy> | 280 | </sizepolicy> |
281 | </property> | 281 | </property> |
282 | <property stdset="1"> | 282 | <property stdset="1"> |
283 | <name>suffix</name> | 283 | <name>suffix</name> |
284 | <string> min</string> | 284 | <string> min</string> |
285 | </property> | 285 | </property> |
286 | <property stdset="1"> | 286 | <property stdset="1"> |
287 | <name>maxValue</name> | 287 | <name>maxValue</name> |
288 | <number>30</number> | 288 | <number>30</number> |
289 | </property> | 289 | </property> |
290 | <property stdset="1"> | 290 | <property stdset="1"> |
291 | <name>minValue</name> | 291 | <name>minValue</name> |
292 | <number>1</number> | 292 | <number>1</number> |
293 | </property> | 293 | </property> |
294 | <property stdset="1"> | 294 | <property stdset="1"> |
295 | <name>value</name> | 295 | <name>value</name> |
296 | <number>1</number> | 296 | <number>1</number> |
297 | </property> | 297 | </property> |
298 | </widget> | 298 | </widget> |
299 | </grid> | 299 | </grid> |
300 | </widget> | 300 | </widget> |
301 | <widget row="0" column="0" > | 301 | <widget row="0" column="0" > |
302 | <class>QCheckBox</class> | 302 | <class>QCheckBox</class> |
303 | <property stdset="1"> | 303 | <property stdset="1"> |
304 | <name>name</name> | 304 | <name>name</name> |
305 | <cstring>disabled</cstring> | 305 | <cstring>disabled</cstring> |
306 | </property> | 306 | </property> |
307 | <property stdset="1"> | 307 | <property stdset="1"> |
308 | <name>text</name> | 308 | <name>text</name> |
309 | <string>Disable mail notification</string> | 309 | <string>Disable mail notification</string> |
310 | </property> | 310 | </property> |
311 | </widget> | 311 | </widget> |
312 | </grid> | 312 | </grid> |
313 | </widget> | 313 | </widget> |
314 | <widget row="2" column="0" > | 314 | <widget row="2" column="0" > |
315 | <class>QLabel</class> | 315 | <class>QLabel</class> |
316 | <property stdset="1"> | 316 | <property stdset="1"> |
317 | <name>name</name> | 317 | <name>name</name> |
318 | <cstring>disclaimer</cstring> | 318 | <cstring>disclaimer</cstring> |
319 | </property> | 319 | </property> |
320 | <property stdset="1"> | 320 | <property stdset="1"> |
321 | <name>text</name> | 321 | <name>text</name> |
322 | <string><p><b>Mail version %1</b><hr> | 322 | <string><p><b>Mail version %1</b><hr> |
323 | Sponsored and Programmed by LISAsystems<br> | 323 | Sponsored and Programmed by LISAsystems<br> |
324 | Visit http://www.lisa.de/ for Information. | 324 | Visit http://www.lisa.de/ for Information. |
325 | </string> | 325 | </string> |
326 | </property> | 326 | </property> |
327 | </widget> | 327 | </widget> |
328 | </grid> | 328 | </grid> |
329 | </widget> | 329 | </widget> |
330 | </widget> | 330 | </widget> |
331 | </grid> | 331 | </grid> |
332 | </widget> | 332 | </widget> |
333 | <connections> | 333 | <connections> |
334 | <connection> | 334 | <connection> |
335 | <sender>disabled</sender> | 335 | <sender>disabled</sender> |
336 | <signal>toggled(bool)</signal> | 336 | <signal>toggled(bool)</signal> |
337 | <receiver>Frame3</receiver> | 337 | <receiver>Frame3</receiver> |
338 | <slot>setDisabled(bool)</slot> | 338 | <slot>setDisabled(bool)</slot> |
339 | </connection> | 339 | </connection> |
340 | </connections> | 340 | </connections> |
341 | <tabstops> | 341 | <tabstops> |
342 | <tabstop>TabWidget2</tabstop> | 342 | <tabstop>TabWidget2</tabstop> |
343 | <tabstop>accountList</tabstop> | 343 | <tabstop>accountList</tabstop> |
344 | <tabstop>accountNew</tabstop> | 344 | <tabstop>accountNew</tabstop> |
345 | <tabstop>accountEdit</tabstop> | 345 | <tabstop>accountEdit</tabstop> |
346 | <tabstop>accountDelete</tabstop> | 346 | <tabstop>accountDelete</tabstop> |
347 | <tabstop>disabled</tabstop> | 347 | <tabstop>disabled</tabstop> |
348 | <tabstop>playSound</tabstop> | 348 | <tabstop>playSound</tabstop> |
349 | <tabstop>blinkLed</tabstop> | 349 | <tabstop>blinkLed</tabstop> |
350 | <tabstop>checkDelay</tabstop> | 350 | <tabstop>checkDelay</tabstop> |
351 | </tabstops> | 351 | </tabstops> |
352 | </UI> | 352 | </UI> |