~ubuntu-branches/debian/stretch/apper/stretch

« back to all changes in this revision

Viewing changes to Sentinel/IntroDialog.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klumpp
  • Date: 2013-06-24 14:32:36 UTC
  • mfrom: (8.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130624143236-8259lpdjgnrjxiik
Tags: 0.8.0-2
* Upload to unstable (Closes: #696585, #697996, #708090)
* Add patch to compile against new QPK API

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
 *   Copyright (C) 2008-2011 by Daniel Nicoletti                           *
3
 
 *   dantti12@gmail.com                                                    *
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 INTRO_DIALOG_H
22
 
#define INTRO_DIALOG_H
23
 
 
24
 
#include <QWidget>
25
 
#include <QAbstractItemModel>
26
 
 
27
 
namespace Ui {
28
 
    class IntroDialog;
29
 
}
30
 
 
31
 
class FilesModel;
32
 
class IntroDialog : public QWidget
33
 
{
34
 
    Q_OBJECT
35
 
public:
36
 
    IntroDialog(QWidget *parent = 0);
37
 
    ~IntroDialog();
38
 
 
39
 
    void setDescription(const QString &description);
40
 
    void setModel(QAbstractItemModel *model);
41
 
    void acceptDrops(const QString &toolTip);
42
 
    bool canContinue() const;
43
 
 
44
 
signals:
45
 
    void continueChanged(bool enable);
46
 
 
47
 
private slots:
48
 
    void selectionChanged();
49
 
 
50
 
private:
51
 
    Ui::IntroDialog *ui;
52
 
};
53
 
 
54
 
#endif