KoZoomMode Class Reference
#include <KoZoomMode.h>
Public Types | |
| enum | Mode { ZOOM_WIDTH = 0 , ZOOM_PAGE = 1 , ZOOM_CONSTANT = 2 } |
Static Public Member Functions | |
| static Mode | toMode (const TQString &mode) |
| static TQString | toString (Mode mode) |
| static bool | isConstant (const TQString &mode) |
Detailed Description
The ZoomMode container.
Definition at line 29 of file KoZoomMode.h.
Member Enumeration Documentation
◆ Mode
| enum KoZoomMode::Mode |
| Enumerator | |
|---|---|
| ZOOM_WIDTH | zoom pagewidth |
| ZOOM_PAGE | zoom to pagesize |
| ZOOM_CONSTANT | zoom x % |
Definition at line 32 of file KoZoomMode.h.
Member Function Documentation
◆ isConstant()
|
inlinestatic |
- Parameters
-
mode the mode name
- Returns
- true if
modeisn't dependent on windowsize
Definition at line 48 of file KoZoomMode.h.
◆ toMode()
|
static |
- Parameters
-
mode the mode name
- Returns
- the to Mode converted TQString
mode
Definition at line 35 of file KoZoomMode.cpp.
◆ toString()
|
static |
- Returns
- the to TQString converted and translated Mode
mode
Definition at line 30 of file KoZoomMode.cpp.
The documentation for this class was generated from the following files:
