Jump to content

Plasma/libplasma2/API Review/Theme: Difference between revisions

From KDE Community Wiki
Notmart (talk | contribs)
Notmart (talk | contribs)
Line 5: Line 5:
{| cellspacing="0" cellpadding="5" border="1" style="border: 1px solid gray; border-collapse: collapse; text-align: left; width: 100%;" class="sortable"
{| cellspacing="0" cellpadding="5" border="1" style="border: 1px solid gray; border-collapse: collapse; text-align: left; width: 100%;" class="sortable"
|- style="background: rgb(236, 236, 236) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; white-space: nowrap;"
|- style="background: rgb(236, 236, 236) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; white-space: nowrap;"
as
 
! Status  
! Status  
! Action  
! Action  
Line 16: Line 16:
|}
|}


=Enums=
{| cellspacing="0" cellpadding="5" border="1" style="border: 1px solid gray; border-collapse: collapse; text-align: left; width: 100%;" class="sortable"
|- style="background: rgb(236, 236, 236) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; white-space: nowrap;"
! Status
! Action
! Method
{{FeatureDone|Keep| ColorRole}}
{{FeatureTodo|Remove| FontRole}}
|}
=Fonts=
{| cellspacing="0" cellpadding="5" border="1" style="border: 1px solid gray; border-collapse: collapse; text-align: left; width: 100%;" class="sortable"
{| cellspacing="0" cellpadding="5" border="1" style="border: 1px solid gray; border-collapse: collapse; text-align: left; width: 100%;" class="sortable"
|- style="background: rgb(236, 236, 236) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; white-space: nowrap;"
|- style="background: rgb(236, 236, 236) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; white-space: nowrap;"
as
 
! Status
! Action
! Method
 
{{FeatureTodo|Remove| void setFont(const QFont &font, FontRole role = DefaultFont);}}
{{FeatureTodo|Remove| QFont font(FontRole role) const;}}
{{FeatureTodo|Remove| QFontMetrics fontMetrics() const;}}
 
|}
 
=Other methods=
{| cellspacing="0" cellpadding="5" border="1" style="border: 1px solid gray; border-collapse: collapse; text-align: left; width: 100%;" class="sortable"
|- style="background: rgb(236, 236, 236) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; white-space: nowrap;"
 
! Status  
! Status  
! Action  
! Action  

Revision as of 14:32, 11 March 2013

Properties and invokables

All removed, only declared in the subclass in the QML bindings

Constructors

Status Action Method
DONE Keep explicit Theme(QObject *parent )
DONE Keep explicit Theme(const QString &themeName, QObject *parent );
DONE Keep ~Theme();


Enums

Status Action Method
DONE Keep ColorRole
TO DO Remove FontRole <{{{3}}}>



Fonts

Status Action Method
TO DO Remove {{{2}}} <{{{3}}}>
TO DO Remove QFont font(FontRole role) const; <{{{3}}}>
TO DO Remove QFontMetrics fontMetrics() const; <{{{3}}}>


Other methods

Status Action Method
DONE Keep
DONE Keep
DONE Keep
DONE Keep
DONE Keep
DONE Keep
DONE Keep
DONE Keep
DONE Keep
DONE Keep
DONE Keep
DONE Keep
DONE Keep
DONE Keep