lib

#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

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()

bool KoZoomMode::isConstant ( const TQString & mode)
inlinestatic
Parameters
modethe mode name
Returns
true if mode isn't dependent on windowsize

Definition at line 48 of file KoZoomMode.h.

◆ toMode()

KoZoomMode::Mode KoZoomMode::toMode ( const TQString & mode)
static
Parameters
modethe mode name
Returns
the to Mode converted TQString mode

Definition at line 35 of file KoZoomMode.cpp.

◆ toString()

TQString KoZoomMode::toString ( Mode mode)
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: