diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-23 11:59:03 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-23 11:59:03 +0900 |
| commit | c2f28aadde2e2e12594c4d0b8d334254dc76a712 (patch) | |
| tree | bbf33f8184e5906621b424f3b91ab0ca7b4b2772 /kimagemapeditor/kimecommands.h | |
| parent | e5595fbfda5ebe3973b90d7d56f5ee46561f948f (diff) | |
| download | tdewebdev-master.tar.gz tdewebdev-master.zip | |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kimagemapeditor/kimecommands.h')
| -rw-r--r-- | kimagemapeditor/kimecommands.h | 54 |
1 files changed, 7 insertions, 47 deletions
diff --git a/kimagemapeditor/kimecommands.h b/kimagemapeditor/kimecommands.h index cc341bb4..3a0619f8 100644 --- a/kimagemapeditor/kimecommands.h +++ b/kimagemapeditor/kimecommands.h @@ -21,21 +21,11 @@ #include <kcommand.h> -#include <tdeversion.h> - class KImageMapEditor; class AreaSelection; - -class CutCommand : public - -#if TDE_VERSION < 300 -KCommand -#else -KNamedCommand -#endif - +class CutCommand : public KNamedCommand { public: CutCommand (KImageMapEditor * document, const AreaSelection & selection); @@ -60,12 +50,7 @@ class DeleteCommand : public CutCommand DeleteCommand (KImageMapEditor * document, const AreaSelection & selection); }; -class PasteCommand : public -#if TDE_VERSION < 300 -KCommand -#else -KNamedCommand -#endif +class PasteCommand : public KNamedCommand { public: PasteCommand (KImageMapEditor * document, const AreaSelection & selection); @@ -82,12 +67,7 @@ KNamedCommand }; -class MoveCommand : public -#if TDE_VERSION < 300 -KCommand -#else -KNamedCommand -#endif +class MoveCommand : public KNamedCommand { public: MoveCommand (KImageMapEditor *document, AreaSelection *a,const TQPoint & oldPoint); @@ -105,12 +85,7 @@ KNamedCommand //- Area *_oldArea; }; -class ResizeCommand : public -#if TDE_VERSION < 300 -KCommand -#else -KNamedCommand -#endif +class ResizeCommand : public KNamedCommand { public: ResizeCommand (KImageMapEditor *document, AreaSelection *a, Area *oldArea); @@ -127,12 +102,7 @@ KNamedCommand Area *_newArea; }; -class AddPointCommand : public -#if TDE_VERSION < 300 -KCommand -#else -KNamedCommand -#endif +class AddPointCommand : public KNamedCommand { public: AddPointCommand (KImageMapEditor *document, AreaSelection *a, const TQPoint & p); @@ -149,12 +119,7 @@ KNamedCommand int _coordpos; }; -class RemovePointCommand : public -#if TDE_VERSION < 300 -KCommand -#else -KNamedCommand -#endif +class RemovePointCommand : public KNamedCommand { public: RemovePointCommand (KImageMapEditor *document, AreaSelection *a, Area *oldArea); @@ -172,12 +137,7 @@ KNamedCommand }; -class CreateCommand : public -#if TDE_VERSION < 300 -KCommand -#else -KNamedCommand -#endif +class CreateCommand : public KNamedCommand { public: CreateCommand (KImageMapEditor *document, Area *area); |
