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 76b672a..bd8fbdf 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 = 0, const char *name=0 ); | 28 | HelpWindow( const QString& home_, const QString& path, QWidget* parent, const char *name ); |
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(); |