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

« back to all changes in this revision

Viewing changes to src/KdeMainWindow.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
#ifndef MARBLE_MAINWINDOW_H
 
14
#define MARBLE_MAINWINDOW_H
 
15
 
 
16
 
 
17
#include <KXmlGuiWindow>
 
18
 
 
19
namespace Marble
 
20
{
 
21
 
 
22
class ControlView;
 
23
class MarblePart;
 
24
class MarbleWidget;
 
25
 
 
26
class MainWindow : public KXmlGuiWindow
 
27
{
 
28
  Q_OBJECT
 
29
 
 
30
 public:
 
31
    explicit MainWindow( const QString& marbleDataPath = QString(), 
 
32
                         QWidget *parent = 0 );
 
33
    ~MainWindow();
 
34
 
 
35
    ControlView* marbleControl() const;
 
36
    MarbleWidget* marbleWidget() const;
 
37
 
 
38
 public slots:
 
39
    void setMapTitle();
 
40
 
 
41
 private:
 
42
    MarblePart *m_part;
 
43
};
 
44
 
 
45
}
 
46
 
 
47
#endif