Kstars
binarylistcomponent.h
147 BinaryListComponent<T, Component>::BinaryListComponent(Component *parent, QString basename) : BinaryListComponent<T, Component>(parent, basename, "dat", "bin") {}
150 BinaryListComponent<T, Component>::BinaryListComponent(Component *parent, QString basename, QString txtExt, QString binExt) : parent { parent }
152 filepath_bin = QDir(KSPaths::writableLocation(QStandardPaths::AppLocalDataLocation)).filePath(basename + '.' + binExt);
153 filepath_txt = QDir(KSPaths::writableLocation(QStandardPaths::AppLocalDataLocation)).filePath(basename + '.' + txtExt);
provides functionality for loading the component data from Binary
Definition binarylistcomponent.h:40
BinaryListComponent(Component *parent, QString basename)
BinaryListComponent.
Definition binarylistcomponent.h:147
virtual void loadDataFromBinary(QFile &binfile)
loadDataFromBinary
Definition binarylistcomponent.h:189
BinaryListComponent(Component *parent, QString basename, QString txtExt, QString binExt)
BinaryListComponent.
Definition binarylistcomponent.h:150
DoublePrecision
Version
bool atEnd() const const
void setFloatingPointPrecision(FloatingPointPrecision precision)
void setVersion(int v)
QString filePath(const QString &fileName) const const
bool exists(const QString &fileName)
virtual QString fileName() const const override
bool open(FILE *fh, OpenMode mode, FileHandleFlags handleFlags)
bool remove()
virtual void close() override
ReadOnly
AppLocalDataLocation
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:43 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:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.