~ubuntu-branches/ubuntu/karmic/kdepim/karmic-backports

« back to all changes in this revision

Viewing changes to akonadi/tray/backupassistant.h

  • Committer: Bazaar Package Importer
  • Author(s): Christian Mangold
  • Date: 2009-07-10 06:34:50 UTC
  • mfrom: (1.1.40 upstream)
  • Revision ID: james.westby@ubuntu.com-20090710063450-neojgew2fh0n3y0u
Tags: 4:4.2.96-0ubuntu1
* New upstream release
* Bump kde build-deps to 4.2.96

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* This file is part of the KDE project
2
 
 
3
 
   Copyright (C) 2008 Omat Holding B.V. <info@omat.nl>
4
 
 
5
 
   This program is free software; you can redistribute it and/or
6
 
   modify it under the terms of the GNU General Public
7
 
   License as published by the Free Software Foundation; either
8
 
   version 2 of the License, or (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 GNU
13
 
   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; if not, write to the Free Software
17
 
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
 
*/
19
 
 
20
 
#ifndef BACKUPASSISTANT_H
21
 
#define BACKUPASSISTANT_H
22
 
 
23
 
#include <KAssistantDialog>
24
 
class Backup;
25
 
class QLabel;
26
 
class QPushButton;
27
 
 
28
 
/**
29
 
 * Use this class to create a backup assistant.
30
 
 */
31
 
class BackupAssistant : public KAssistantDialog
32
 
{
33
 
    Q_OBJECT
34
 
public:
35
 
    /**
36
 
     * Constructor
37
 
     */
38
 
    BackupAssistant( QWidget* );
39
 
 
40
 
private Q_SLOTS:
41
 
    void slotSelectFile( );
42
 
    void slotPageChanged( KPageWidgetItem*, KPageWidgetItem* );
43
 
    void slotBackupComplete( bool ok );
44
 
 
45
 
private:
46
 
    Backup *m_backup;
47
 
    KPageWidgetItem *m_page1;
48
 
    KPageWidgetItem *m_page2;
49
 
    QLabel *m_backupProgressLabel;
50
 
    QPushButton *m_selectFileButton;
51
 
    QString m_filename;
52
 
};
53
 
 
54
 
#endif
55