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

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • lib
  • marble
BookmarkManagerDialog.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 2010 Dennis Nienhüser <earthwings@gentoo.org>
9 //
10 
11 #ifndef MARBLE_BOOKMARKMANAGERDIALOG_H
12 #define MARBLE_BOOKMARKMANAGERDIALOG_H
13 
14 #include "ui_BookmarkManagerDialog.h"
15 #include "marble_export.h"
16 
17 #include <QDialog>
18 
19 namespace Marble
20 {
21 
22 class GeoDataDocument;
23 class MarbleModel;
24 class BookmarkManagerDialogPrivate;
25 
26 class MARBLE_EXPORT BookmarkManagerDialog : public QDialog, private Ui::UiBookmarkManagerDialog
27 {
28  Q_OBJECT
29 
30  public:
32  explicit BookmarkManagerDialog( MarbleModel* model, QWidget *parent = 0 );
33 
35  ~BookmarkManagerDialog();
36 
37  void setButtonBoxVisible( bool visible );
38 
39 private Q_SLOTS:
40  void saveBookmarks();
41 
42  void exportBookmarks();
43 
44  void importBookmarks();
45 
46 private:
47  GeoDataDocument* bookmarkDocument();
48 
49  Q_PRIVATE_SLOT( d, void updateButtonState() )
50 
51  Q_PRIVATE_SLOT( d, void addNewFolder() )
52 
53  Q_PRIVATE_SLOT( d, void renameFolder() )
54 
55  Q_PRIVATE_SLOT( d, void deleteFolder() )
56 
57  Q_PRIVATE_SLOT( d, void editBookmark() )
58 
59  Q_PRIVATE_SLOT( d, void deleteBookmark() )
60 
61  Q_PRIVATE_SLOT( d, void handleFolderSelection( const QModelIndex &index ) )
62 
63  Q_PRIVATE_SLOT( d, void discardChanges() )
64 
65  Q_DISABLE_COPY( BookmarkManagerDialog )
66  BookmarkManagerDialogPrivate* const d;
67  friend class BookmarkManagerDialogPrivate;
68 };
69 
70 }
71 #endif
QModelIndex
QWidget
Marble::GeoDataDocument
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:65
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::BookmarkManagerDialog
Definition: BookmarkManagerDialog.h:26
Marble::MarbleModel
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
marble_export.h
QDialog
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:38 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
  • 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