mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 22:00:35 +01:00
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2142 bfdf4180-ca20-0410-9c96-a3a8aa849046
23 lines
352 B
C++
23 lines
352 B
C++
#ifndef AUTONUMEROTATION_H
|
|
#define AUTONUMEROTATION_H
|
|
|
|
#include "diagram.h"
|
|
|
|
class AutoNumerotation: public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
AutoNumerotation(Diagram *);
|
|
virtual void numerate() = 0;
|
|
|
|
public slots:
|
|
virtual void applyText(QString) = 0;
|
|
|
|
protected:
|
|
Diagram *diagram_;
|
|
NumerotationContext num_context;
|
|
};
|
|
|
|
#endif // AUTONUMEROTATION_H
|