marble
SatellitesConfigDialog.cpp
Go to the documentation of this file.
228 SatellitesConfigModel *model = dynamic_cast<SatellitesConfigModel*>( m_configWidget->treeView->model() );
virtual QVariant data(int column, int role) const
Definition: SatellitesConfigAbstractItem.cpp:59
void reloadDataSources()
Definition: SatellitesConfigDialog.cpp:249
void initialize()
Definition: SatellitesConfigDialog.cpp:161
bool contains(const Key &key) const
SatellitesConfigAbstractItem * childAt(int row) const
Definition: SatellitesConfigNodeItem.cpp:112
QString name() const
Definition: SatellitesConfigAbstractItem.cpp:30
void removeSelectedDataSource()
Definition: SatellitesConfigDialog.cpp:326
void appendChild(SatellitesConfigAbstractItem *item)
Definition: SatellitesConfigNodeItem.cpp:132
QUrl fromUserInput(const QString &userInput)
QString toString(QFlags< QUrl::FormattingOption > options) const
QString tr(const char *sourceText, const char *disambiguation, int n)
void update()
Ui::SatellitesConfigDialog * configWidget()
Definition: SatellitesConfigDialog.cpp:156
bool isNull() const
void addDataSource()
Definition: SatellitesConfigDialog.cpp:254
void setEnabled(bool)
int count(const T &value) const
void setDialogActive(bool active)
Definition: SatellitesConfigDialog.cpp:137
SatellitesConfigNodeItem * rootItem() const
Definition: SatellitesConfigModel.cpp:187
void setUserDataSources(const QStringList &sources)
Definition: SatellitesConfigDialog.cpp:59
void openDataSource()
Definition: SatellitesConfigDialog.cpp:290
StandardButton question(QWidget *parent, const QString &title, const QString &text, QFlags< QMessageBox::StandardButton > buttons, StandardButton defaultButton)
void resizeColumnToContents(int column)
void updateButtonState()
Definition: SatellitesConfigDialog.cpp:350
SatellitesConfigAbstractItem * addSatelliteItem(const QString &body, const QString &category, const QString &title, const QString &id, const QString &url=QString())
Definition: SatellitesConfigDialog.cpp:98
void setFlags(QFlags< Qt::ItemFlag > flags)
bool isEmpty() const
int removeAll(const T &value)
void expandTreeView()
Definition: SatellitesConfigDialog.cpp:356
SatellitesConfigNodeItem * getSatellitesBodyItem(const QString &body, bool create=false)
Definition: SatellitesConfigDialog.cpp:222
QString getText(QWidget *parent, const QString &title, const QString &label, QLineEdit::EchoMode mode, const QString &text, bool *ok, QFlags< Qt::WindowType > flags, QFlags< Qt::InputMethodHint > inputMethodHints)
SatellitesConfigDialog(QWidget *parent=0)
Definition: SatellitesConfigDialog.cpp:30
virtual void setData(int role, const QVariant &value)
void userDataSourcesChanged()
void expandAll()
bool setData(int column, int role, const QVariant &data)
Definition: SatellitesConfigLeafItem.cpp:64
bool isValid() const
QDateTime currentDateTime()
void setUserDataSourceLoaded(const QString &source, bool loaded)
Definition: SatellitesConfigDialog.cpp:76
void userDataSourceRemoved(const QString &source)
void dataSourcesReloadRequested()
SatellitesConfigAbstractItem * addTLESatelliteItem(const QString &category, const QString &title, const QString &url)
Definition: SatellitesConfigDialog.cpp:128
void userDataSourceAdded(const QString &source)
virtual int columnCount(const QModelIndex &parent) const =0
SatellitesConfigNodeItem * getSatellitesCategoryItem(const QString &body, const QString &category, bool create=false)
Definition: SatellitesConfigDialog.cpp:190
~SatellitesConfigDialog()
Definition: SatellitesConfigDialog.cpp:55
StandardButton critical(QWidget *parent, const QString &title, const QString &text, QFlags< QMessageBox::StandardButton > buttons, StandardButton defaultButton)
int childrenCount() const
Definition: SatellitesConfigNodeItem.cpp:127
QPushButton * button(StandardButton which) const
QStringList userDataSources() const
Definition: SatellitesConfigDialog.cpp:71
QString getOpenFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFlags< QFileDialog::Option > options)
void activatePluginClicked()
QAbstractItemModel * model() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setupDataSourcesTab()
Definition: SatellitesConfigDialog.cpp:175
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
QString text() const
QUrl fromLocalFile(const QString &localFile)
const T value(const Key &key) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.