mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-06 13:40:52 +01:00
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:
30
insetproperties.h
Normal file
30
insetproperties.h
Normal 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
|
||||
Reference in New Issue
Block a user