Diffstat (limited to 'noncore/settings/packagemanager/packageinfodlg.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/packagemanager/packageinfodlg.h | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/noncore/settings/packagemanager/packageinfodlg.h b/noncore/settings/packagemanager/packageinfodlg.h index 2962f9a..e4c6bba 100644 --- a/noncore/settings/packagemanager/packageinfodlg.h +++ b/noncore/settings/packagemanager/packageinfodlg.h | |||
@@ -1,66 +1,67 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | This file is part of the Opie Project |
3 | 3 | ||
4 | =. Copyright (c) 2003 Dan Williams <drw@handhelds.org> | 4 | Copyright (C)2004, 2005 Dan Williams <drw@handhelds.org> |
5 | .=l. | 5 | =. |
6 | .>+-= | 6 | .=l. |
7 | _;:, .> :=|. This file is free software; you can | 7 | .>+-= |
8 | .> <`_, > . <= redistribute it and/or modify it under | 8 | _;:, .> :=|. This program is free software; you can |
9 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 9 | .> <`_, > . <= redistribute it and/or modify it under |
10 | .="- .-=="i, .._ License as published by the Free Software | 10 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public |
11 | - . .-<_> .<> Foundation; either version 2 of the License, | 11 | .="- .-=="i, .._ License as published by the Free Software |
12 | ._= =} : or (at your option) any later version. | 12 | - . .-<_> .<> Foundation; either version 2 of the License, |
13 | .%`+i> _;_. | 13 | ._= =} : or (at your option) any later version. |
14 | .i_,=:_. -<s. This file is distributed in the hope that | 14 | .%`+i> _;_. |
15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 15 | .i_,=:_. -<s. This program is distributed in the hope that |
16 | : .. .:, . . . without even the implied warranty of | 16 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 17 | : .. .:, . . . without even the implied warranty of |
18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 18 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
19 | ..}^=.= = ; Public License for more details. | 19 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
20 | ++= -. .` .: | 20 | ..}^=.= = ; Library General Public License for more |
21 | : = ...= . :.=- You should have received a copy of the GNU | 21 | ++= -. .` .: details. |
22 | -. .:....=;==+<; General Public License along with this file; | 22 | : = ...= . :.=- |
23 | -_. . . )=. = see the file COPYING. If not, write to the | 23 | -. .:....=;==+<; You should have received a copy of the GNU |
24 | -- :-=` Free Software Foundation, Inc., | 24 | -_. . . )=. = Library General Public License along with |
25 | 59 Temple Place - Suite 330, | 25 | -- :-=` this library; see the file COPYING.LIB. |
26 | If not, write to the Free Software Foundation, | ||
27 | Inc., 59 Temple Place - Suite 330, | ||
26 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
27 | |||
28 | */ | 29 | */ |
29 | 30 | ||
30 | #ifndef PACKAGEINFODLG_H | 31 | #ifndef PACKAGEINFODLG_H |
31 | #define PACKAGEINFODLG_H | 32 | #define PACKAGEINFODLG_H |
32 | 33 | ||
33 | #include "opackage.h" | 34 | #include "opackage.h" |
34 | 35 | ||
35 | #include <qmultilineedit.h> | 36 | #include <qmultilineedit.h> |
36 | #include <qwidget.h> | 37 | #include <qwidget.h> |
37 | 38 | ||
38 | class QPushButton; | 39 | class QPushButton; |
39 | 40 | ||
40 | class OPackage; | 41 | class OPackage; |
41 | class OPackageManager; | 42 | class OPackageManager; |
42 | 43 | ||
43 | class PackageInfoDlg : public QWidget | 44 | class PackageInfoDlg : public QWidget |
44 | { | 45 | { |
45 | Q_OBJECT | 46 | Q_OBJECT |
46 | 47 | ||
47 | public: | 48 | public: |
48 | PackageInfoDlg( QWidget *parent = 0l, OPackageManager *pm = 0l, const QString &package = QString::null ); | 49 | PackageInfoDlg( QWidget *parent = 0l, OPackageManager *pm = 0l, const QString &package = QString::null ); |
49 | ~PackageInfoDlg(); | 50 | ~PackageInfoDlg(); |
50 | 51 | ||
51 | private: | 52 | private: |
52 | OPackageManager *m_packman; // Pointer to application instance of package manager | 53 | OPackageManager *m_packman; // Pointer to application instance of package manager |
53 | OPackage *m_package; // Pointer to package to display information for | 54 | OPackage *m_package; // Pointer to package to display information for |
54 | 55 | ||
55 | // UI controls | 56 | // UI controls |
56 | QMultiLineEdit m_information; // Multi-line edit to display package information | 57 | QMultiLineEdit m_information; // Multi-line edit to display package information |
57 | QMultiLineEdit m_files; // Multi-line edit to display package file list | 58 | QMultiLineEdit m_files; // Multi-line edit to display package file list |
58 | QPushButton *m_retrieveFiles; // Push button to retrieve file list | 59 | QPushButton *m_retrieveFiles; // Push button to retrieve file list |
59 | 60 | ||
60 | private slots: | 61 | private slots: |
61 | void slotBtnFileScan(); | 62 | void slotBtnFileScan(); |
62 | void slotInfo( const QString &info ); | 63 | void slotInfo( const QString &info ); |
63 | void slotFiles( const QString &filelist ); | 64 | void slotFiles( const QString &filelist ); |
64 | }; | 65 | }; |
65 | 66 | ||
66 | #endif | 67 | #endif |