|
Krita Source Code Documentation
|
Public Types | |
| enum | Status { NO_DIFF = 0 , ONE_DIFF = 1 , ADDITION = 4 , REMOVAL = 16 , OTHER_DIFF = 1024 } |
Public Member Functions | |
| Status | diff (const QList< qreal > &first, const QList< qreal > &second) |
| Private (KisDocument *_doc, KisChangeGuidesCommand *q) | |
| bool | sameOrOnlyMovedOneGuideBetween (const KisGuidesConfig &first, const KisGuidesConfig &second) |
| void | switchTo (const KisGuidesConfig &config) |
Public Attributes | |
| KisDocument * | doc |
| bool | firstRedo |
| KisGuidesConfig | newGuides |
| KisGuidesConfig | oldGuides |
| KisChangeGuidesCommand * | q |
Definition at line 16 of file kis_change_guides_command.cpp.
| Enumerator | |
|---|---|
| NO_DIFF | |
| ONE_DIFF | |
| ADDITION | |
| REMOVAL | |
| OTHER_DIFF | |
Definition at line 21 of file kis_change_guides_command.cpp.
|
inline |
Definition at line 18 of file kis_change_guides_command.cpp.
| KisChangeGuidesCommand::Private::Status KisChangeGuidesCommand::Private::diff | ( | const QList< qreal > & | first, |
| const QList< qreal > & | second ) |
Definition at line 59 of file kis_change_guides_command.cpp.
| bool KisChangeGuidesCommand::Private::sameOrOnlyMovedOneGuideBetween | ( | const KisGuidesConfig & | first, |
| const KisGuidesConfig & | second ) |
Definition at line 41 of file kis_change_guides_command.cpp.
References ADDITION, diff(), KisGuidesConfig::horizontalGuideLines(), kundo2_i18n(), NO_DIFF, ONE_DIFF, q, REMOVAL, KUndo2Command::setText(), and KisGuidesConfig::verticalGuideLines().
| void KisChangeGuidesCommand::Private::switchTo | ( | const KisGuidesConfig & | config | ) |
Definition at line 95 of file kis_change_guides_command.cpp.
References KisGuidesConfig::horizontalGuideLines(), KisGuidesConfig::setHorizontalGuideLines(), KisGuidesConfig::setVerticalGuideLines(), and KisGuidesConfig::verticalGuideLines().
| KisDocument* KisChangeGuidesCommand::Private::doc |
Definition at line 32 of file kis_change_guides_command.cpp.
| bool KisChangeGuidesCommand::Private::firstRedo |
Definition at line 38 of file kis_change_guides_command.cpp.
| KisGuidesConfig KisChangeGuidesCommand::Private::newGuides |
Definition at line 36 of file kis_change_guides_command.cpp.
| KisGuidesConfig KisChangeGuidesCommand::Private::oldGuides |
Definition at line 35 of file kis_change_guides_command.cpp.
| KisChangeGuidesCommand* KisChangeGuidesCommand::Private::q |
Definition at line 33 of file kis_change_guides_command.cpp.