Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

AutoRotate Class Reference

#include </home/clem/local/src/opie/noncore/applets/autorotateapplet/autorotate.h>

List of all members.

Public Member Functions

 AutoRotate (QWidget *parent=0)
 ~AutoRotate ()

Static Public Member Functions

static int position ()

Protected Member Functions

void paintEvent (QPaintEvent *)
void mousePressEvent (QMouseEvent *)

Private Member Functions

bool isRotateEnabled ()
void setRotateEnabled (bool)
void iconShow ()

Private Attributes

QPixmap enabledPm
QPixmap disabledPm
QPopupMenu * popupMenu


Constructor & Destructor Documentation

AutoRotate::AutoRotate QWidget *  parent = 0  ) 
 

Definition at line 26 of file autorotate.cpp.

References disabledPm, enabledPm, Opie::Core::OResource::loadImage(), popupMenu, Opie::Core::OResource::SmallIcon, and AppLnk::smallIconSize().

AutoRotate::~AutoRotate  ) 
 

Definition at line 39 of file autorotate.cpp.

References popupMenu.


Member Function Documentation

void AutoRotate::iconShow  )  [private]
 

bool AutoRotate::isRotateEnabled  )  [private]
 

Definition at line 82 of file autorotate.cpp.

References odebug, oendl, Config::readBoolEntry(), and Config::setGroup().

Referenced by mousePressEvent(), and paintEvent().

void AutoRotate::mousePressEvent QMouseEvent *   )  [protected]
 

Definition at line 51 of file autorotate.cpp.

References isRotateEnabled(), p, s, setRotateEnabled(), and width.

void AutoRotate::paintEvent QPaintEvent *   )  [protected]
 

Definition at line 69 of file autorotate.cpp.

References disabledPm, enabledPm, isRotateEnabled(), and p.

int AutoRotate::position  )  [static]
 

Definition at line 46 of file autorotate.cpp.

void AutoRotate::setRotateEnabled bool   )  [private]
 

Definition at line 75 of file autorotate.cpp.

References Config::setGroup(), and Config::writeEntry().

Referenced by mousePressEvent().


Member Data Documentation

QPixmap AutoRotate::disabledPm [private]
 

Definition at line 34 of file autorotate.h.

Referenced by AutoRotate(), and paintEvent().

QPixmap AutoRotate::enabledPm [private]
 

Definition at line 33 of file autorotate.h.

Referenced by AutoRotate(), and paintEvent().

QPopupMenu* AutoRotate::popupMenu [private]
 

Definition at line 36 of file autorotate.h.

Referenced by AutoRotate(), and ~AutoRotate().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:26:58 2005 for OPIE by  doxygen 1.4.2