Kstars
kswizard.cpp
108 else if (im.load(QDir(QCoreApplication::applicationDirPath() + "/../Resources/kstars").absolutePath() +
113 else if (im.load(QDir(QCoreApplication::applicationDirPath() + "/../Resources/kstars").absolutePath() + "/wzgeo.png"))
117 else if (im.load(QDir(QCoreApplication::applicationDirPath() + "/../Resources/kstars").absolutePath() +
124 else if (im.load(QDir(QCoreApplication::applicationDirPath() + "/../Resources/kstars").absolutePath() +
129 QStandardPaths::locate(QStandardPaths::GenericDataLocation, QString(), QStandardPaths::LocateDirectory) +
133 connect(data->copyKStarsData, SIGNAL(clicked()), this, SLOT(slotOpenOrCopyKStarsDataDirectory()));
212 QList<QListWidgetItem*> locations = location->CityListBox->findItems(QString(data->geo()->fullName()), Qt::MatchExactly);
267 QStandardPaths::locate(QStandardPaths::GenericDataLocation, "kstars", QStandardPaths::LocateDirectory);
270 QDir dataSourceDir = QDir(QCoreApplication::applicationDirPath() + "/../Resources/kstars").absolutePath();
279 QStandardPaths::locate(QStandardPaths::GenericDataLocation, "kstars", QStandardPaths::LocateDirectory);
282 KSNotification::sorry(i18n("There was a problem creating the data directory ~/Library/Application Support/."));
292 QStandardPaths::locate(QStandardPaths::GenericDataLocation, "kstars", QStandardPaths::LocateDirectory));
306 QStandardPaths::locate(QStandardPaths::GenericDataLocation, "kstars", QStandardPaths::LocateDirectory);
412 QStandardPaths::locate(QStandardPaths::GenericDataLocation, "kstars", QStandardPaths::LocateDirectory);
445 QStandardPaths::locate(QStandardPaths::GenericDataLocation, "kstars", QStandardPaths::LocateDirectory);
452 QStandardPaths::locate(QStandardPaths::GenericDataLocation, "kstars/gsc", QStandardPaths::LocateDirectory);
466 data->foundFeedback2->setText("Your data directory was found. If you have any problems with it, you can "
474 data->foundFeedback2->setText("<html><head/><body><p>Your data directory was not found. You can click the "
483 data->GSCFeedback->setText("GSC was found on your system. To use it, just take an image in the CCD simulator. "
Contains all relevant information for specifying a location on Earth: City Name, State/Province name,...
Definition geolocation.h:28
The QProgressIndicator class lets an application display a progress indicator to show that a long tas...
Definition QProgressIndicator.h:24
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
QVariant location(const QVariant &res)
QString path(const QString &relativePath)
void clicked(bool checked)
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
char * data()
qsizetype size() const const
QString applicationDirPath()
bool openUrl(const QUrl &url)
virtual void accept()
void accepted()
void finished(int result)
virtual void reject()
void rejected()
ActionRole
QPushButton * addButton(StandardButton button)
QString absolutePath() const const
bool exists() const const
bool remove()
QByteArray readAll()
WriteOnly
void append(QList< T > &&value)
bool isEmpty() const const
QNetworkReply * get(const QNetworkRequest &request)
NoError
void downloadProgress(qint64 bytesReceived, qint64 bytesTotal)
NetworkError error() const const
void finished()
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void deleteLater()
bool load(const QString &fileName, const char *format, Qt::ImageConversionFlags flags)
void setWorkingDirectory(const QString &dir)
void start(OpenMode mode)
void setDefault(bool)
int addWidget(QWidget *widget)
currentIndex
QWidget * currentWidget() const const
void setCurrentWidget(QWidget *widget)
LocateDirectory
AppLocalDataLocation
QString locate(StandardLocation type, const QString &fileName, LocateOptions options)
bool isEmpty() const const
bool startsWith(QChar c, Qt::CaseSensitivity cs) const const
CaseInsensitive
MatchExactly
Horizontal
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
QUrl fromLocalFile(const QString &localFile)
void adjustSize()
void setEnabled(bool)
void setLayout(QLayout *layout)
void show()
virtual void setVisible(bool visible)
void setWindowTitle(const QString &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.