lib

KoZoomMode Class Reference

#include <KoZoomMode.h>

List of all members.


Detailed Description

The ZoomMode container.

Definition at line 29 of file KoZoomMode.h.


Public Types

enum  Mode { ZOOM_WIDTH = 0, ZOOM_PAGE = 1, ZOOM_CONSTANT = 2 }

Static Public Member Functions

static Mode toMode (const QString &mode)
static QString toString (Mode mode)
static bool isConstant (const QString &mode)

Member Enumeration Documentation

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

KoZoomMode::Mode KoZoomMode::toMode ( const QString &  mode  )  [static]

Parameters:
mode the mode name
Returns:
the to Mode converted QString mode

Definition at line 35 of file KoZoomMode.cpp.

QString KoZoomMode::toString ( Mode  mode  )  [static]

Returns:
the to QString converted and translated Mode mode

Definition at line 30 of file KoZoomMode.cpp.

static bool KoZoomMode::isConstant ( const QString &  mode  )  [inline, static]

Parameters:
mode the mode name
Returns:
true if mode isn't dependent on windowsize

Definition at line 48 of file KoZoomMode.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys