move more files to shared project ; searchresultt.h: use filedata.h
This commit is contained in:
@ -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,9 +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 +0,0 @@
|
||||
#include "qssgeneralexception.h"
|
@ -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
|
Reference in New Issue
Block a user