~dantti/apper/master

« back to all changes in this revision

Viewing changes to KPackageKit/MainUi.h

  • Committer: Daniel Nicoletti
  • Date: 2011-01-05 15:13:18 UTC
  • Revision ID: git-v1:c8cace8f335ae3326195756765bdc3b3f842b693
Biggest Apper changes done

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
 *   Copyright (C) 2009 by Daniel Nicoletti                                *
3
 
 *   dantti85-pk@yahoo.com.br                                              *
4
 
 *                                                                         *
5
 
 *   This program is free software; you can redistribute it and/or modify  *
6
 
 *   it under the terms of the GNU General Public License as published by  *
7
 
 *   the Free Software Foundation; either version 2 of the License, or     *
8
 
 *   (at your option) any later version.                                   *
9
 
 *                                                                         *
10
 
 *   This program is distributed in the hope that it will be useful,       *
11
 
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
12
 
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
13
 
 *   GNU General Public License for more details.                          *
14
 
 *                                                                         *
15
 
 *   You should have received a copy of the GNU General Public License     *
16
 
 *   along with this program; see the file COPYING. If not, write to       *
17
 
 *   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,  *
18
 
 *   Boston, MA 02110-1301, USA.                                           *
19
 
 ***************************************************************************/
20
 
 
21
 
#ifndef MAIN_UI_H
22
 
#define MAIN_UI_H
23
 
 
24
 
#include <QPackageKit>
25
 
 
26
 
#include <KCMultiDialog>
27
 
 
28
 
using namespace PackageKit;
29
 
 
30
 
class MainUi : public KCMultiDialog
31
 
{
32
 
Q_OBJECT
33
 
 
34
 
public:
35
 
    MainUi(QWidget *parent = 0);
36
 
    ~MainUi();
37
 
 
38
 
    void showAll();
39
 
    void showUpdates(bool selected, bool forceCurrentPage = true);
40
 
    void showSettings(bool forceCurrentPage = true);
41
 
 
42
 
private:
43
 
    KPageWidgetItem *m_addrmPWI;
44
 
    KPageWidgetItem *m_updatePWI;
45
 
    KPageWidgetItem *m_settingsPWI;
46
 
};
47
 
 
48
 
#endif