🚧 Started on doxygen documentation

main
Isabell Pflug 1 year ago
parent 8e1c1caab7
commit a0ae564ada

@ -7,6 +7,10 @@
std::unique_ptr<QSettings> settings; std::unique_ptr<QSettings> settings;
/**
* @file main.cpp
*/
void initialise_settings() { void initialise_settings() {
QString config_filename = "ThinkPink.ini"; QString config_filename = "ThinkPink.ini";
QString config_path = ""; QString config_path = "";

@ -0,0 +1,16 @@
/*! @mainpage ThinkPink | SameGame in PINK by Isifluff
*
* @section intro_sec Introduction
*
* This application is an implementation of the [SameGame](https://de.wikipedia.org/wiki/SameGame)
*
* @section install_sec Installation
*
* @subsection install_linux On Linux/Unix
*
* ```
* git clone https://git.floating-in.space/isabell/ThinkPink.git && cd ThinkPink/ThinkPink
* qmake
* make -j
* ```
*/

@ -29,7 +29,7 @@ class MainWindow : public QMainWindow
public: public:
MainWindow(QWidget *parent = nullptr); MainWindow(QWidget *parent = nullptr);
~MainWindow(); ~MainWindow();
// initialisation functions
void initialiseGame(); void initialiseGame();
void initialiseGameGrid(); void initialiseGameGrid();
void initialiseWindow(); void initialiseWindow();
@ -45,7 +45,6 @@ public:
void setPalettes(); void setPalettes();
void gameOver(); void gameOver();
// highscore functions
void processHighscore(); void processHighscore();
void readHighscore(); void readHighscore();
QMap<QPair<QString, QDateTime>, int> newEntry(); QMap<QPair<QString, QDateTime>, int> newEntry();
@ -66,4 +65,5 @@ private:
std::vector<std::vector<QPushButton *>> buttonGrid; std::vector<std::vector<QPushButton *>> buttonGrid;
QMap<QPair<QString, QDateTime>, int> highscore; QMap<QPair<QString, QDateTime>, int> highscore;
}; };
#endif // MAINWINDOW_H #endif // MAINWINDOW_H

Loading…
Cancel
Save