author | llornkcor <llornkcor> | 2003-04-22 14:11:34 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-04-22 14:11:34 (UTC) |
commit | 91bef5f1e3c76d32d15be55a020fa1df3d525a50 (patch) (unidiff) | |
tree | e0b3070ce281e641d1a71273516b8d386e69a090 /noncore/multimedia/opierec/helpwindow.h | |
parent | 84be228e70b7d36627a8610386f44b6928d35d6a (diff) | |
download | opie-91bef5f1e3c76d32d15be55a020fa1df3d525a50.zip opie-91bef5f1e3c76d32d15be55a020fa1df3d525a50.tar.gz opie-91bef5f1e3c76d32d15be55a020fa1df3d525a50.tar.bz2 |
blah. must remember to think before committing.
Diffstat (limited to 'noncore/multimedia/opierec/helpwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opierec/helpwindow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opierec/helpwindow.h b/noncore/multimedia/opierec/helpwindow.h index bd8fbdf..bfe2341 100644 --- a/noncore/multimedia/opierec/helpwindow.h +++ b/noncore/multimedia/opierec/helpwindow.h | |||
@@ -4,49 +4,49 @@ | |||
4 | ** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. | 4 | ** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. |
5 | ** | 5 | ** |
6 | ** This file is part of an example program for Qt. This example | 6 | ** This file is part of an example program for Qt. This example |
7 | ** program may be used, distributed and modified without limitation. | 7 | ** program may be used, distributed and modified without limitation. |
8 | ** | 8 | ** |
9 | *****************************************************************************/ | 9 | *****************************************************************************/ |
10 | 10 | ||
11 | #ifndef HELPWINDOW_H | 11 | #ifndef HELPWINDOW_H |
12 | #define HELPWINDOW_H | 12 | #define HELPWINDOW_H |
13 | 13 | ||
14 | #include <qmainwindow.h> | 14 | #include <qmainwindow.h> |
15 | #include <qtextbrowser.h> | 15 | #include <qtextbrowser.h> |
16 | #include <qstringlist.h> | 16 | #include <qstringlist.h> |
17 | #include <qmap.h> | 17 | #include <qmap.h> |
18 | #include <qdir.h> | 18 | #include <qdir.h> |
19 | #include <qevent.h> | 19 | #include <qevent.h> |
20 | 20 | ||
21 | class QComboBox; | 21 | class QComboBox; |
22 | class QPopupMenu; | 22 | class QPopupMenu; |
23 | 23 | ||
24 | class HelpWindow : public QMainWindow | 24 | class HelpWindow : public QMainWindow |
25 | { | 25 | { |
26 | Q_OBJECT | 26 | Q_OBJECT |
27 | public: | 27 | public: |
28 | HelpWindow( const QString& home_, const QString& path, QWidget* parent, const char *name ); | 28 | HelpWindow( const QString& home_=0, const QString& path=0, QWidget* parent=0, const char *name=0 ); |
29 | ~HelpWindow(); | 29 | ~HelpWindow(); |
30 | 30 | ||
31 | private slots: | 31 | private slots: |
32 | 32 | ||
33 | void addBookmark(); | 33 | void addBookmark(); |
34 | void bookmChosen( int ); | 34 | void bookmChosen( int ); |
35 | void histChosen( int ); | 35 | void histChosen( int ); |
36 | void newWindow(); | 36 | void newWindow(); |
37 | void openFile(); | 37 | void openFile(); |
38 | void pathSelected( const QString & ); | 38 | void pathSelected( const QString & ); |
39 | void print(); | 39 | void print(); |
40 | void setBackwardAvailable( bool ); | 40 | void setBackwardAvailable( bool ); |
41 | void setForwardAvailable( bool ); | 41 | void setForwardAvailable( bool ); |
42 | void textChanged(); | 42 | void textChanged(); |
43 | private: | 43 | private: |
44 | QTextBrowser* browser; | 44 | QTextBrowser* browser; |
45 | QComboBox *pathCombo; | 45 | QComboBox *pathCombo; |
46 | int backwardId, forwardId; | 46 | int backwardId, forwardId; |
47 | QString selectedURL; | 47 | QString selectedURL; |
48 | QStringList history, bookmarks; | 48 | QStringList history, bookmarks; |
49 | QMap<int, QString> mHistory, mBookmarks; | 49 | QMap<int, QString> mHistory, mBookmarks; |
50 | QPopupMenu *hist, *bookm; | 50 | QPopupMenu *hist, *bookm; |
51 | 51 | ||
52 | void readHistory(); | 52 | void readHistory(); |