Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
src_corelib_io_qsettings.cpp File Reference

(70cc4a7dc1620f09d2b377405c29c5ed6167b8a1)

#include <QSettings>
#include <QVariant>
#include <QColor>
#include <QIODevice>
#include <QCoreApplication>
#include <QWindow>
#include <QPoint>
Include dependency graph for src_corelib_io_qsettings.cpp:

Go to the source code of this file.

Classes

struct  login_struct::Login
 [15] More...
struct  Login
 [16] More...

Namespaces

namespace  login_struct

Functions

void examples ()
void login_struct::some_function ()
void some_function ()
void wrapInFunction ()
 [16]
bool myReadFunc (QIODevice &device, QSettings::SettingsMap &map)
 [27]
bool myWriteFunc (QIODevice &device, const QSettings::SettingsMap &map)
 [27]
bool readXmlFile (QIODevice &device, QSettings::SettingsMap &map)
 [28]
bool writeXmlFile (QIODevice &device, const QSettings::SettingsMap &map)
int main (int argc, char *argv[])
 [ctor_close]

Variables

QList< Loginlogin_struct::logins
QList< Loginlogins

Function Documentation

◆ examples()

void examples ( )

[0]

[0]

[1]

[1]

[2]

[2]

[3]

[3]

[4]

[4]

[5]

[5]

[6]

[6]

[7]

[7]

[10]

[10]

[11]

[11]

[12]

[12]

[13]

[13]

[14]

[14]

Definition at line 12 of file src_corelib_io_qsettings.cpp.

◆ main()

int main ( int argc,
char * argv[] )

[ctor_close]

[0] [1]

[main_cpp]

[main.cpp body]

The main function for the string list model example.

Create a default directory model and, using the index-based interface to the model and some QLabel widgets, populate the window's layout with the names of objects in the directory.

[0] //! [1]

[1]

[using a custom style]

[4]

[QApplication subclass]

[2]

[21]

[getter functions]

[0]

[3]

[main]

This creates and populates a model with values from a string list then displays the contents of the model using a QListView widget. [0]

[printing a custom type]

[printing a custom type] [storing a custom value]

[storing a custom value]

[retrieving a custom value]

[retrieving a custom value]

Definition at line 315 of file src_corelib_io_qsettings.cpp.

◆ myReadFunc()

bool myReadFunc ( QIODevice & device,
QSettings::SettingsMap & map )

[27]

◆ myWriteFunc()

bool myWriteFunc ( QIODevice & device,
const QSettings::SettingsMap & map )

[27]

[28]

◆ readXmlFile()

bool readXmlFile ( QIODevice & device,
QSettings::SettingsMap & map )

[28]

[29]

◆ some_function()

void some_function ( )

Definition at line 170 of file src_corelib_io_qsettings.cpp.

◆ wrapInFunction()

void wrapInFunction ( )

[16]

[17]

[17]

[18]

[18]

[19]

[19]

[20]

[20]

[21]

[21]

[22]

[22]

[23]

[23]

[24]

[24]

[25]

[25]

[26]

[26]

Definition at line 186 of file src_corelib_io_qsettings.cpp.

◆ writeXmlFile()

bool writeXmlFile ( QIODevice & device,
const QSettings::SettingsMap & map )

Variable Documentation

◆ logins

QList< Login > logins

Definition at line 168 of file src_corelib_io_qsettings.cpp.