~ubuntu-branches/ubuntu/quantal/marble/quantal

« back to all changes in this revision

Viewing changes to src/lib/TileCreatorDialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Philip Muškovac
  • Date: 2011-07-11 15:43:02 UTC
  • Revision ID: james.westby@ubuntu.com-20110711154302-lq69ftcx125g1jx5
Tags: upstream-4.6.90+repack
Import upstream version 4.6.90+repack

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// This file is part of the Marble Virtual Globe.
 
3
//
 
4
// This program is free software licensed under the GNU LGPL. You can
 
5
// find a copy of this license in LICENSE.txt in the top directory of
 
6
// the source code.
 
7
//
 
8
// Copyright 2006-2007 Torsten Rahn <tackat@kde.org>
 
9
// Copyright 2007      Inge Wallin  <ingwa@kde.org>
 
10
//
 
11
 
 
12
//
 
13
// The TileCreatorDialog displays the progress of the tile creation.
 
14
//
 
15
 
 
16
#ifndef MARBLE_TILECREATORDIALOG_H
 
17
#define MARBLE_TILECREATORDIALOG_H
 
18
 
 
19
#include <QtGui/QDialog>
 
20
 
 
21
#include "marble_export.h"
 
22
 
 
23
class QString;
 
24
 
 
25
namespace Marble
 
26
{
 
27
 
 
28
class TileCreator;
 
29
class TileCreatorDialogPrivate;
 
30
 
 
31
class MARBLE_EXPORT TileCreatorDialog : public QDialog
 
32
{
 
33
 
 
34
    Q_OBJECT
 
35
 
 
36
 public:
 
37
    explicit TileCreatorDialog( TileCreator *creator, QWidget *parent = 0 );
 
38
    ~TileCreatorDialog();
 
39
 
 
40
 public Q_SLOTS:
 
41
    void setProgress( int progress );
 
42
    void setSummary( const QString& name, const QString& description );
 
43
 
 
44
private Q_SLOTS:
 
45
    void cancelTileCreation();
 
46
 
 
47
 private:
 
48
    Q_DISABLE_COPY( TileCreatorDialog )
 
49
    TileCreatorDialogPrivate  * const d;
 
50
};
 
51
 
 
52
}
 
53
 
 
54
#endif