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

Этот коммит содержится в:
2019-04-22 21:07:41 +02:00
родитель c928c94eb1
Коммит 95a650dd30
17 изменённых файлов: 471 добавлений и 98 удалений

Просмотреть файл

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

Просмотреть файл

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

Просмотреть файл

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

Просмотреть файл

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

Просмотреть файл

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