Logo Search packages:      
Sourcecode: tastymenu version File versions  Download package

Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends

TastyListViewItem Class Reference

#include <tastylistview.h>

List of all members.

Public Types

enum  ActionType {
  AddBookMark, RemoveBookMark, OpenGroup, Expand,
  Collapse, NoAction
enum  Type { Service, ServiceGroup, DesktopFile, Empty }

Public Member Functions

ActionType getActionType ()
QString getCellText (int column) const
QString getDeskopEntryPath ()
QString getMenuId ()
QString getPath ()
QString getSubText ()
Type getType ()
bool hasEllipsis ()
bool isHighLight ()
QString key (int column, bool ascending) const
void loadPixmap ()
void paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int align)
void setActionType (ActionType newActionType)
void setDeskopEntryPath (QString newPath)
void setDisplaySubText (bool display)
void setHighLight (bool newHighLight)
void setMenuId (QString newMenuId)
void setPath (QString newPath)
void setSubText (QString text)
void setText (int column, const QString &text)
void setType (Type newItemType)
 TastyListViewItem (TastyListView *parent, TastyListViewItem *after, QString label1)
 TastyListViewItem (TastyListViewItem *parent, TastyListViewItem *after, QString label1)
 TastyListViewItem (TastyListViewItem *parent, QString label1)
 TastyListViewItem (TastyListViewItem *parent)
 TastyListViewItem (TastyListView *parent, TastyListViewItem *after)
 TastyListViewItem (TastyListViewItem *parent, TastyListViewItem *after)
 TastyListViewItem (TastyListView *parent, QString label1)
 TastyListViewItem (TastyListView *parent)
int width (const QFontMetrics &fm, const QListView *lv, int c)
bool xOnDecoration (int x)

Protected Member Functions

virtual void setup ()

Private Member Functions

void commonConstructor ()
int max (int a, int b)

Private Attributes

QPixmap actionPix
ActionType actionType
QString cellText
QString desktopEntryPath
bool displaySubText
bool ellipsis
bool highLight
KIconLoader * iconLoader
Type itemType
QString menuId
QString path
QString subText


class TastyListView

Detailed Description

Marco Martin <notmart@gmail.com>

Definition at line 115 of file tastylistview.h.

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

Generated by  Doxygen 1.6.0   Back to index