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