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

« back to all changes in this revision

Viewing changes to akonadi/tray/restoreassistant.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi, Alessandro Ghersi, Harald Sitter
  • Date: 2009-06-27 04:40:05 UTC
  • mfrom: (1.1.39 upstream)
  • Revision ID: james.westby@ubuntu.com-20090627044005-4y2vm9xz7rvmzi4p
Tags: 4:4.2.95svn20090701-0ubuntu1
[ Alessandro Ghersi ]
* New upstream release
  - Bump build-deps
* Remove akonadi-kde and libmaildir4 packages
  - remove akonadi-kde.install and libmaildir4.install
  - remove libmaildir4 from debian/rules
  - remove akonadi-kde and libmaildir4 from depends
  - remove akonadi-kde and libmaildir4 from installgen
* Update kdepim-dev.install
* Update kpilot.install
* Add akonadi-kde and libmaildir4 transitional packages

[ Harald Sitter ]
* KAddressbook replaces Kontact << 4.2.85 (LP: #378373)

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 RESTOREASSISTANT_H
 
21
#define RESTOREASSISTANT_H
 
22
 
 
23
#include <KAssistantDialog>
 
24
class Restore;
 
25
class QLabel;
 
26
class QPushButton;
 
27
 
 
28
/**
 
29
 * Use this class to create a backup assistant.
 
30
 */
 
31
class RestoreAssistant : public KAssistantDialog
 
32
{
 
33
    Q_OBJECT
 
34
public:
 
35
    /**
 
36
     * Constructor
 
37
     */
 
38
    RestoreAssistant( QWidget* );
 
39
 
 
40
private Q_SLOTS:
 
41
    void slotSelectFile( );
 
42
    void slotPageChanged( KPageWidgetItem*, KPageWidgetItem* );
 
43
    void slotRestoreComplete( bool ok );
 
44
 
 
45
private:
 
46
    Restore *m_restore;
 
47
    KPageWidgetItem *m_page1;
 
48
    KPageWidgetItem *m_page2;
 
49
    QLabel *m_restoreProgressLabel;
 
50
    QPushButton *m_selectFileButton;
 
51
    QString m_filename;
 
52
};
 
53
 
 
54
#endif
 
55