projects
/
dorian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix loading book and restoring reading position on Maemo.
[dorian]
/
settingswindow.h
diff --git
a/settingswindow.h
b/settingswindow.h
index
fee2f2b
..
d89a028
100644
(file)
--- a/
settingswindow.h
+++ b/
settingswindow.h
@@
-1,16
+1,21
@@
#ifndef SETTINGSWINDOW_H
#define SETTINGSWINDOW_H
#ifndef SETTINGSWINDOW_H
#define SETTINGSWINDOW_H
-#include <QMainWindow>
+#include <QLabel>
+#include <QSlider>
+
+#include "adopterwindow.h"
class QPushButton;
class QFontComboBox;
class QFont;
class QSlider;
class QFontComboBox;
class QPushButton;
class QFontComboBox;
class QFont;
class QSlider;
class QFontComboBox;
+class QLabel;
class ToolButtonBox;
class ToolButtonBox;
-class SettingsWindow: public QMainWindow
+/** Display settings. */
+class SettingsWindow: public AdopterWindow
{
Q_OBJECT
{
Q_OBJECT
@@
-30,14
+35,12
@@
public slots:
void onGrabVolumeToggled(bool enable);
protected:
void onGrabVolumeToggled(bool enable);
protected:
-#ifdef Q_WS_MAEMO_5
void closeEvent(QCloseEvent *e);
void closeEvent(QCloseEvent *e);
-#endif
private:
QSlider *zoomSlider;
private:
QSlider *zoomSlider;
+ QLabel *zoomLabel;
QFontComboBox *fontButton;
QFontComboBox *fontButton;
- ToolButtonBox *orientationBox;
};
#endif // SETTINGSWINDOW_H
};
#endif // SETTINGSWINDOW_H