• 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
SearchWidget.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 2012 Dennis Nienhüser <earthwings@gentoo.org>
9 //
10 
11 #ifndef MARBLE_SEARCHWIDGET_H
12 #define MARBLE_SEARCHWIDGET_H
13 
14 #include "marble_export.h"
15 
16 #include <QWidget>
17 
18 namespace Marble {
19 
20 class GeoDataPlacemark;
21 class MarbleWidget;
22 class SearchWidgetPrivate;
23 
24 class MARBLE_EXPORT SearchWidget : public QWidget
25 {
26  Q_OBJECT
27 public:
28  explicit SearchWidget( QWidget * parent = 0, Qt::WindowFlags flags = 0 );
29 
30  void setMarbleWidget( MarbleWidget* widget );
31 
32  ~SearchWidget();
33 
34 private:
35  Q_PRIVATE_SLOT( d, void setSearchResult( QVector<GeoDataPlacemark*> ) )
36  Q_PRIVATE_SLOT( d, void search( const QString &searchTerm, SearchMode searchMode ) )
37  Q_PRIVATE_SLOT( d, void centerMapOn( const QModelIndex &index ) )
38 
39  SearchWidgetPrivate* const d;
40 
41 };
42 
43 }
44 
45 #endif
Marble::SearchMode
SearchMode
Search mode: Global (worldwide) versus area (local, regional) search.
Definition: MarbleGlobal.h:179
search
Definition: google-search.qml:12
QWidget
Marble::MarbleWidget
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:102
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
marble_export.h
MarbleWidget
Wraps a Marble::MarbleWidget, providing access to important properties and methods.
Definition: MarbleDeclarativeWidget.h:50
Marble::SearchWidget
Definition: SearchWidget.h:24
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:52 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