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

This commit is contained in:
2019-04-22 21:07:41 +02:00
parent 6b94b8f619
commit 326c12ca80
17 changed files with 467 additions and 94 deletions

View File

@ -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 \

View File

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

View File

@ -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

View File

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

View File

@ -1,24 +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