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

OThemePixmap Class Reference

#include </home/clem/local/src/opie/noncore/styles/theme/othemebase.h>

Collaboration diagram for OThemePixmap:

Collaboration graph
[legend]
List of all members.

Public Types

enum  BorderType {
  Top = 0, Bottom, Left, Right,
  TopLeft, TopRight, BottomLeft, BottomRight
}

Public Member Functions

 OThemePixmap (bool timer=true)
 OThemePixmap (const OThemePixmap &p)
 ~OThemePixmap ()
QPixmap * border (BorderType type)
void setBorder (BorderType type, const QPixmap &p)
void updateAccessed ()
bool isOld ()

Protected Attributes

QTimet
QPixmap * b [8]

Private Attributes

OThemePixmapPrivate * d

Detailed Description

This class adds simple time management to QPixmap for use in flushing OThemeCache.

Author:
Daniel M. Duley <mosfet@kde.org>

Definition at line 44 of file othemebase.h.


Member Enumeration Documentation

enum OThemePixmap::BorderType
 

Enumeration values:
Top 
Bottom 
Left 
Right 
TopLeft 
TopRight 
BottomLeft 
BottomRight 

Definition at line 47 of file othemebase.h.


Constructor & Destructor Documentation

OThemePixmap::OThemePixmap bool  timer = true  ) 
 

Definition at line 1074 of file othemebase.cpp.

References b, i, NULL, QTime::start(), and t.

OThemePixmap::OThemePixmap const OThemePixmap p  ) 
 

Definition at line 1088 of file othemebase.cpp.

References b, i, NULL, QTime::start(), and t.

OThemePixmap::~OThemePixmap  ) 
 

Definition at line 1107 of file othemebase.cpp.

References b, i, and t.


Member Function Documentation

QPixmap * OThemePixmap::border BorderType  type  )  [inline]
 

Definition at line 66 of file othemebase.h.

References b.

bool OThemePixmap::isOld  )  [inline]
 

Definition at line 86 of file othemebase.h.

References QTime::elapsed(), false, and t.

void OThemePixmap::setBorder BorderType  type,
const QPixmap &  p
[inline]
 

Definition at line 71 of file othemebase.h.

References b, oendl, and owarn.

Referenced by OThemeBase::generateBorderPix().

void OThemePixmap::updateAccessed  )  [inline]
 

Definition at line 80 of file othemebase.h.

References QTime::start(), and t.


Member Data Documentation

QPixmap* OThemePixmap::b[8] [protected]
 

Definition at line 59 of file othemebase.h.

Referenced by border(), OThemePixmap(), setBorder(), and ~OThemePixmap().

OThemePixmapPrivate* OThemePixmap::d [private]
 

Definition at line 62 of file othemebase.h.

QTime* OThemePixmap::t [protected]
 

Definition at line 58 of file othemebase.h.

Referenced by isOld(), OThemePixmap(), updateAccessed(), and ~OThemePixmap().


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