Les editions du cartouche sont desormais annulables

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@141 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2007-09-28 17:39:30 +00:00
parent 2c184a46da
commit 9bdbf3aea5
6 changed files with 129 additions and 14 deletions

30
insetproperties.h Normal file
View File

@@ -0,0 +1,30 @@
#ifndef INSET_PROPERTIES_H
#define INSET_PROPERTIES_H
#include <QDate>
#include <QString>
class InsetProperties {
public:
InsetProperties() {
}
virtual ~InsetProperties() {
}
bool operator==(const InsetProperties &ip) {
return(
ip.title == title &&\
ip.author == author &&\
ip.date == date &&\
ip.filename == filename &&\
ip.folio == folio
);
}
bool operator!=(const InsetProperties &ip) {
return(!(*this == ip));
}
// attributs
QString title;
QString author;
QDate date;
QString filename;
QString folio;
};
#endif