Diffstat (limited to 'noncore/apps/opie-gutenbrowser/LibraryDialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-gutenbrowser/LibraryDialog.h | 15 |
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 @@ -29,8 +29,9 @@ #include <qtextstream.h> #include <qlabel.h> #include <stdlib.h> #include <qtabwidget.h> +#include <qvaluelist.h> class QVBoxLayout; class QHBoxLayout; class QGridLayout; @@ -40,8 +41,16 @@ class QPushButton; //class QTabWidget; class QWidget; //class Gutenbrowser; +typedef struct { + QString title; + QString author; + QString year; + QString file; +} etext; + + class LibraryDialog : public QDialog { Q_OBJECT public: @@ -98,9 +107,9 @@ public slots: void Library(); bool getAuthor(); void select_title(QListViewItem*); void cancelIt(); - void sort(); + void sortLists(int); bool moreInfo(); // void DownloadEmAll(); bool httpDownload(); bool setTitle(); @@ -117,8 +126,10 @@ protected slots: protected: + QValueList<etext> etextLibrary; + void initDialog(); QHBoxLayout *hbox,*hbox1,*hbox2; QVBoxLayout *vbox; // void search_slot(); @@ -126,8 +137,10 @@ private: void addItems(); void clearItems(); void cleanStrings(); bool getEtext(const QStringList &); +private slots: + void authBoxClicked(); }; #endif // LIBRARYDIALOG_H |