• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • lib
  • marble
DeferredFlag.h
Go to the documentation of this file.
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 // DeferredFlag paints a flag on a pixmap, and sends a signal when its
14 // done so that you can do it asynchronously.
15 //
16 
17 #ifndef MARBLE_DEFERREDFLAG_H
18 #define MARBLE_DEFERREDFLAG_H
19 
20 
21 #include <QObject>
22 #include <QSize>
23 #include <QString>
24 #include <QPixmap>
25 
26 namespace Marble
27 {
28 
29 class DeferredFlag : public QObject
30 {
31 
32  Q_OBJECT
33 
34  public:
35  explicit DeferredFlag( QObject *parent = 0 );
36 
37  QPixmap& flag(){ return m_pixmap; }
38  void setFlag( const QString& filename, const QSize& size );
39 
40  public Q_SLOTS:
41  void slotDrawFlag();
42 
43  Q_SIGNALS:
44  void flagDone();
45 
46  private:
47  QString m_filename;
48  QSize m_size;
49  QPixmap m_pixmap;
50 };
51 
52 }
53 
54 #endif
Marble::DeferredFlag::slotDrawFlag
void slotDrawFlag()
Definition: DeferredFlag.cpp:35
QObject
Marble::DeferredFlag::flagDone
void flagDone()
Marble::DeferredFlag::flag
QPixmap & flag()
Definition: DeferredFlag.h:37
Marble::DeferredFlag::setFlag
void setFlag(const QString &filename, const QSize &size)
Definition: DeferredFlag.cpp:28
Marble::DeferredFlag::DeferredFlag
DeferredFlag(QObject *parent=0)
Definition: DeferredFlag.cpp:22
Marble::DeferredFlag
Definition: DeferredFlag.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal