BookmarksDialog.hpp   BookmarksDialog.hpp 
skipping to change at line 38 skipping to change at line 38
#include "StelDialog.hpp" #include "StelDialog.hpp"
#include "StelCore.hpp" #include "StelCore.hpp"
class Ui_bookmarksDialogForm; class Ui_bookmarksDialogForm;
struct bookmark struct bookmark
{ {
QString name; QString name;
QString nameI18n; QString nameI18n;
QString ra;
QString dec;
bool isVisibleMarker;
QString jd; QString jd;
QString location; QString location;
}; };
Q_DECLARE_METATYPE(bookmark) Q_DECLARE_METATYPE(bookmark)
class BookmarksDialog : public StelDialog class BookmarksDialog : public StelDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
skipping to change at line 68 skipping to change at line 71
//! Initialize the dialog widgets and connect the signals/slots. //! Initialize the dialog widgets and connect the signals/slots.
virtual void createDialogContent(); virtual void createDialogContent();
Ui_bookmarksDialogForm *ui; Ui_bookmarksDialogForm *ui;
private slots: private slots:
void addBookmarkButtonPressed(); void addBookmarkButtonPressed();
void removeBookmarkButtonPressed(); void removeBookmarkButtonPressed();
void goToBookmarkButtonPressed(); void goToBookmarkButtonPressed();
void clearBookmarksButtonPressed(); void clearBookmarksButtonPressed();
void exportBookmarks();
void importBookmarks();
void selectCurrentBookmark(const QModelIndex &modelIdx); void selectCurrentBookmark(const QModelIndex &modelIdx);
private: private:
enum BookmarksColumns { enum BookmarksColumns {
ColumnUUID, //! UUID of bookmark ColumnUUID, //! UUID of bookmark
ColumnName, //! name or designation of object ColumnName, //! name or designation of object
ColumnNameI18n, //! Localized name of object ColumnNameI18n, //! Localized name of object
ColumnDate, //! date and time (optional) ColumnDate, //! date and time (optional)
ColumnLocation, //! location (optional) ColumnLocation, //! location (optional)
ColumnCount //! total number of columns ColumnCount //! total number of columns
 End of changes. 2 change blocks. 
0 lines changed or deleted 6 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/