You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
977 B
37 lines
977 B
3 years ago
|
/* DrewTechs
|
||
|
* Note Binder
|
||
|
* @Version 1.0
|
||
|
*/
|
||
|
|
||
|
#ifndef NOTEBOOKMANAGER_H
|
||
|
#define NOTEBOOKMANAGER_H
|
||
|
|
||
|
#include <QString>
|
||
|
#include <QIODevice>
|
||
|
#include <QList>
|
||
|
#include <QFile>
|
||
|
#include <QFileInfo>
|
||
|
#include <QDir>
|
||
|
#include <QDirIterator>
|
||
|
#include <QMessageBox>
|
||
|
#include <QTextStream>
|
||
|
#include <QComboBox>
|
||
|
#include "notebook.h"
|
||
|
#include "notebooklist.h"
|
||
|
#include "sectiongroup.h"
|
||
|
|
||
|
#define DEFAULT_SG_COLOR "None"
|
||
|
|
||
|
Notebook* NewNotebook(QVector<Notebook*> nbList); // Create New Notebook
|
||
|
Notebook openNotebook(QString notebookFilePath);
|
||
|
SectionGroup openSectionGroup(QString parentFilePath, QString sectionGroupFilePath);
|
||
|
QString getFileSize(qint64 size);
|
||
|
qint64 getDirRecursiveSize(QString directory);
|
||
|
QString getDirectorySize(QString directory);
|
||
|
|
||
|
QStringList addItemsToDirectorySelection(QVector<Notebook*> NotebookList);
|
||
|
QStringList addSubItemsToDirectorySection(SectionGroup* sectionGroup, int tabCount);
|
||
|
|
||
|
|
||
|
#endif // NOTEBOOKMANAGER_H
|