mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +01:00
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@141 bfdf4180-ca20-0410-9c96-a3a8aa849046
31 lines
551 B
C++
31 lines
551 B
C++
#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
|