move more files to shared project ; searchresultt.h: use filedata.h

This commit is contained in:
2019-04-22 21:07:41 +02:00
bovenliggende c928c94eb1
commit 95a650dd30
17 gewijzigde bestanden met toevoegingen van 471 en 98 verwijderingen

Bestand weergeven

@ -26,7 +26,6 @@ SOURCES += \
odtprocessor.cpp \
utils.cpp \
odsprocessor.cpp \
qssgeneralexception.cpp \
commanddelete.cpp \
commandupdate.cpp \
filesaver.cpp \
@ -48,7 +47,6 @@ HEADERS += \
odtprocessor.h \
utils.h \
odsprocessor.h \
qssgeneralexception.h \
commanddelete.h \
commandupdate.h \
filesaver.h \

Bestand weergeven

@ -5,8 +5,6 @@
class CommandSearch : public Command
{
private:
SqliteSearch searcher;
public:
using Command::Command;

Bestand weergeven

@ -1,13 +0,0 @@
#ifndef FILEDATA_H
#define FILEDATA_H
#include <QString>
class FileData
{
public:
QString absPath;
uint mtime;
uint size;
QChar filetype;
};
#endif // FILEDATA_H

Bestand weergeven

@ -1,2 +0,0 @@
#include "qssgeneralexception.h"

Bestand weergeven

@ -1,15 +0,0 @@
#ifndef QSSGENERALEXCEPTION_H
#define QSSGENERALEXCEPTION_H
#include <QException>
class QSSGeneralException : public QException
{
public:
QString message;
QSSGeneralException(QString message) { this->message = message; };
void raise() const override { throw *this; }
QSSGeneralException *clone() const override { return new QSSGeneralException(*this); }
};
#endif // QSSGENERALEXCEPTION_H