Back to index

kdeartwork  4.3.2
Public Member Functions
CDE::CdeClientFactory Class Reference

#include <cdeclient.h>

List of all members.

Public Member Functions

 CdeClientFactory ()
virtual ~CdeClientFactory ()
virtual KDecoration * createDecoration (KDecorationBridge *)
virtual bool supports (Ability ability)
virtual bool reset (unsigned long changed)
Q3ValueList
< CdeClientFactory::BorderSize > 
borderSizes () const

Detailed Description

Definition at line 111 of file cdeclient.h.


Constructor & Destructor Documentation

Definition at line 221 of file cdeclient.cpp.

{
    CDE::readConfig(this);
}

Here is the call graph for this function:

Definition at line 226 of file cdeclient.cpp.

{
}

Member Function Documentation

Q3ValueList< CdeClientFactory::BorderSize > CDE::CdeClientFactory::borderSizes ( ) const

Definition at line 262 of file cdeclient.cpp.

{
    // the list must be sorted
    return Q3ValueList< BorderSize >() << BorderTiny << BorderNormal <<
       BorderLarge << BorderVeryLarge <<  BorderHuge <<
       BorderVeryHuge << BorderOversized;
}
KDecoration * CDE::CdeClientFactory::createDecoration ( KDecorationBridge *  b) [virtual]

Definition at line 230 of file cdeclient.cpp.

{
    return new CdeClient(b, this);
}
bool CDE::CdeClientFactory::reset ( unsigned long  changed) [virtual]

Definition at line 235 of file cdeclient.cpp.

{
    // TODO Do not recreate decorations if it is not needed. Look at
    // ModernSystem for how to do that
    // For now just return true.
    CDE::readConfig(this);
    return true;
}

Here is the call graph for this function:

bool CDE::CdeClientFactory::supports ( Ability  ability) [virtual]

Definition at line 244 of file cdeclient.cpp.

{
    switch( ability )
    {
        case AbilityAnnounceButtons:
        case AbilityButtonMenu:
        case AbilityButtonOnAllDesktops:
        case AbilityButtonHelp:
        case AbilityButtonMinimize:
        case AbilityButtonMaximize:
        case AbilityButtonClose:
            return true;
        default:
            return false;
    };
}

The documentation for this class was generated from the following files: