~ubuntu-branches/ubuntu/oneiric/muon/oneiric

« back to all changes in this revision

Viewing changes to libmuon/DetailsTabs/InstalledFilesTab.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2010-11-04 00:31:49 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20101104003149-y5aeq7cbckd3m6of
Tags: 1.0.60-0ubuntu1
* New upstream alpha release: (LP: #632457, #633235, #633295)
  - Bump build-depend version on libqapt-dev to 1.0.60 or greater
  - Add new packages muon-updater and muon-notifier

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright © 2010 Jonathan Thomas <echidnaman@kubuntu.org>             *
 
3
 *                                                                         *
 
4
 *   This program is free software; you can redistribute it and/or         *
 
5
 *   modify it under the terms of the GNU General Public License as        *
 
6
 *   published by the Free Software Foundation; either version 2 of        *
 
7
 *   the License or (at your option) version 3 or any later version        *
 
8
 *   accepted by the membership of KDE e.V. (or its successor approved     *
 
9
 *   by the membership of KDE e.V.), which shall act as a proxy            *
 
10
 *   defined in Section 14 of version 3 of the license.                    *
 
11
 *                                                                         *
 
12
 *   This program is distributed in the hope that it will be useful,       *
 
13
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 
14
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 
15
 *   GNU General Public License for more details.                          *
 
16
 *                                                                         *
 
17
 *   You should have received a copy of the GNU General Public License     *
 
18
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>. *
 
19
 ***************************************************************************/
 
20
 
 
21
#ifndef INSTALLEDFILESTAB_H
 
22
#define INSTALLEDFILESTAB_H
 
23
 
 
24
#include <KVBox>
 
25
 
 
26
class KTextBrowser;
 
27
 
 
28
namespace QApt
 
29
{
 
30
    class Package;
 
31
}
 
32
 
 
33
class InstalledFilesTab : public KVBox
 
34
{
 
35
    Q_OBJECT
 
36
public:
 
37
    explicit InstalledFilesTab(QWidget *parent = 0);
 
38
    ~InstalledFilesTab();
 
39
 
 
40
private:
 
41
    QApt::Package *m_package;
 
42
    KTextBrowser *m_filesBrowser;
 
43
 
 
44
public Q_SLOTS:
 
45
    void setPackage(QApt::Package *package);
 
46
 
 
47
private Q_SLOTS:
 
48
    void populateFilesList();
 
49
};
 
50
 
 
51
#endif