summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-gutenbrowser/LibraryDialog.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-gutenbrowser/LibraryDialog.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-gutenbrowser/LibraryDialog.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/noncore/apps/opie-gutenbrowser/LibraryDialog.h b/noncore/apps/opie-gutenbrowser/LibraryDialog.h
index 8d6352f..95226b2 100644
--- a/noncore/apps/opie-gutenbrowser/LibraryDialog.h
+++ b/noncore/apps/opie-gutenbrowser/LibraryDialog.h
@@ -31,4 +31,5 @@
31#include <stdlib.h> 31#include <stdlib.h>
32#include <qtabwidget.h> 32#include <qtabwidget.h>
33#include <qvaluelist.h>
33 34
34class QVBoxLayout; 35class QVBoxLayout;
@@ -42,4 +43,12 @@ class QWidget;
42//class Gutenbrowser; 43//class Gutenbrowser;
43 44
45typedef struct {
46 QString title;
47 QString author;
48 QString year;
49 QString file;
50} etext;
51
52
44class LibraryDialog : public QDialog { 53class LibraryDialog : public QDialog {
45 Q_OBJECT 54 Q_OBJECT
@@ -100,5 +109,5 @@ public slots:
100 void select_title(QListViewItem*); 109 void select_title(QListViewItem*);
101 void cancelIt(); 110 void cancelIt();
102 void sort(); 111 void sortLists(int);
103 bool moreInfo(); 112 bool moreInfo();
104// void DownloadEmAll(); 113// void DownloadEmAll();
@@ -119,4 +128,6 @@ protected slots:
119protected: 128protected:
120 129
130 QValueList<etext> etextLibrary;
131
121 void initDialog(); 132 void initDialog();
122 QHBoxLayout *hbox,*hbox1,*hbox2; 133 QHBoxLayout *hbox,*hbox1,*hbox2;
@@ -128,4 +139,6 @@ private:
128 void cleanStrings(); 139 void cleanStrings();
129 bool getEtext(const QStringList &); 140 bool getEtext(const QStringList &);
141private slots:
142 void authBoxClicked();
130 143
131}; 144};