Diffstat (limited to 'noncore/apps/opie-reader/ToolbarPrefs.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/ToolbarPrefs.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/noncore/apps/opie-reader/ToolbarPrefs.h b/noncore/apps/opie-reader/ToolbarPrefs.h index 9571c28..a2686e5 100644 --- a/noncore/apps/opie-reader/ToolbarPrefs.h +++ b/noncore/apps/opie-reader/ToolbarPrefs.h | |||
@@ -117,5 +117,5 @@ class CViewBarPrefs : public QWidget | |||
117 | Q_OBJECT | 117 | Q_OBJECT |
118 | Config& config; | 118 | Config& config; |
119 | QCheckBox *fullscreen, *zoomin, *zoomout, *setfont, *encoding, *ideogram; | 119 | QCheckBox *fullscreen, *rotate, *zoomin, *zoomout, *setfont, *encoding, *ideogram, *invert; |
120 | 120 | ||
121 | bool m_isChanged; | 121 | bool m_isChanged; |
@@ -172,5 +172,5 @@ class CIndBarPrefs : public QWidget | |||
172 | class CMiscBarPrefs : public QWidget | 172 | class CMiscBarPrefs : public QWidget |
173 | { | 173 | { |
174 | Q_OBJECT | 174 | |
175 | public: | 175 | public: |
176 | 176 | ||
@@ -179,7 +179,7 @@ public: | |||
179 | 179 | ||
180 | #ifdef USECOMBO | 180 | #ifdef USECOMBO |
181 | QComboBox *tbpolicy, *tbposition; | 181 | QComboBox *tbpolicy, *tbposition, *qtscroll, *localscroll; |
182 | #else | 182 | #else |
183 | MenuButton *tbpolicy, *tbposition; | 183 | MenuButton *tbpolicy, *tbposition, *qtscroll, *localscroll; |
184 | #endif | 184 | #endif |
185 | QCheckBox *tbmovable, *floating; | 185 | QCheckBox *tbmovable, *floating; |
@@ -246,8 +246,14 @@ class CBarPrefs : public QDialog | |||
246 | void floating(bool v) { misc->floating->setChecked(v); } | 246 | void floating(bool v) { misc->floating->setChecked(v); } |
247 | int tbpolicy() { return misc->tbpolicy->currentItem(); } | 247 | int tbpolicy() { return misc->tbpolicy->currentItem(); } |
248 | int qtscroll() { return misc->qtscroll->currentItem(); } | ||
249 | int localscroll() { return misc->localscroll->currentItem(); } | ||
248 | #ifdef USECOMBO | 250 | #ifdef USECOMBO |
249 | void tbpolicy(int v) { misc->tbpolicy->setCurrentItem(v); } | 251 | void tbpolicy(int v) { misc->tbpolicy->setCurrentItem(v); } |
252 | void qtscroll(int v) { misc->qtscroll->setCurrentItem(v); } | ||
253 | void localscroll(int v) { misc->localscroll->setCurrentItem(v); } | ||
250 | #else | 254 | #else |
251 | void tbpolicy(int v) { misc->tbpolicy->select(v); } | 255 | void tbpolicy(int v) { misc->tbpolicy->select(v); } |
256 | void qtscroll(int v) { misc->qtscroll->select(v); } | ||
257 | void localscroll(int v) { misc->localscroll->select(v); } | ||
252 | #endif | 258 | #endif |
253 | bool tbmovable() { return misc->tbmovable->isChecked(); } | 259 | bool tbmovable() { return misc->tbmovable->isChecked(); } |