projects
/
dorian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Struggle with tool bar and heap size on Symbian.
[dorian]
/
mainwindow.h
diff --git
a/mainwindow.h
b/mainwindow.h
index
416865f
..
5de2120
100755
(executable)
--- a/
mainwindow.h
+++ b/
mainwindow.h
@@
-1,7
+1,8
@@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
-#include <QtGui>
+#include <QModelIndex>
+#include <QEvent>
#include "adopterwindow.h"
#include "adopterwindow.h"
@@
-12,6
+13,7
@@
class BookView;
class Book;
class FullScreenWindow;
class Progress;
class Book;
class FullScreenWindow;
class Progress;
+class ProgressDialog;
class TranslucentButton;
class MainWindow: public AdopterWindow
class TranslucentButton;
class MainWindow: public AdopterWindow
@@
-20,7
+22,7
@@
class MainWindow: public AdopterWindow
public:
MainWindow(QWidget *parent = 0);
public:
MainWindow(QWidget *parent = 0);
- ~MainWindow();
+ void initialize();
public slots:
void showLibrary();
public slots:
void showLibrary();
@@
-34,7
+36,7
@@
public slots:
void onSettingsChanged(const QString &key);
void onPartLoadStart();
void onPartLoadEnd(int index);
void onSettingsChanged(const QString &key);
void onPartLoadStart();
void onPartLoadEnd(int index);
- void onAddBookmark();
+ void onAddBookmark(const QString ¬e);
void onGoToBookmark(int index);
void showChapters();
void onGoToChapter(int index);
void onGoToBookmark(int index);
void showChapters();
void onGoToChapter(int index);
@@
-73,7
+75,7
@@
private:
Progress *progress;
TranslucentButton *previousButton;
TranslucentButton *nextButton;
Progress *progress;
TranslucentButton *previousButton;
TranslucentButton *nextButton;
- QProgressDialog *libraryProgress;
+ ProgressDialog *libraryProgress;
};
#endif // MAINWINDOW_H
};
#endif // MAINWINDOW_H