Logo Search packages:      
Sourcecode: unity-2d version File versions  Download package

Public Slots | Signals | Public Member Functions | Protected Attributes | Properties | Private Slots | Private Member Functions | Static Private Member Functions | Private Attributes

Trash Class Reference

Inheritance diagram for Trash:
Inheritance graph
[legend]
Collaboration diagram for Trash:
Collaboration graph
[legend]

List of all members.

Public Slots

void onDragEnter (DeclarativeDragDropEvent *)
void onDrop (DeclarativeDragDropEvent *)

Signals

void activeChanged (bool)
void counterChanged (int)
void counterVisibleChanged (bool)
void emblemChanged (QString)
void emblemVisibleChanged (bool)
void iconChanged (QString)
void launchingChanged (bool)
void menuChanged (QObject *)
void nameChanged (QString)
void progressBarVisibleChanged (bool)
void progressChanged (float)
void runningChanged (bool)
void shortcutKeyChanged (Qt::Key)
void urgentChanged (bool)
void windowCountChanged (int)

Public Member Functions

virtual Q_INVOKABLE void activate ()
virtual bool active () const
virtual int counter () const
virtual bool counterVisible () const
virtual Q_INVOKABLE void createMenuActions ()
virtual QString emblem () const
virtual bool emblemVisible () const
virtual QString icon () const
virtual bool launching () const
virtual Q_INVOKABLE void launchNewInstance ()
QObject * menu () const
virtual QString name () const
virtual float progress () const
virtual bool progressBarVisible () const
virtual bool running () const
void setShortcutKey (Qt::Key)
Qt::Key shortcutKey () const
 Trash (const Trash &other)
virtual bool urgent () const
virtual int windowCount () const

Protected Attributes

LauncherContextualMenum_menu

Properties

bool active
int counter
bool counterVisible
QString emblem
bool emblemVisible
QString icon
bool launching
QObject menu
QString name
float progress
bool progressBarVisible
bool running
Qt::Key shortcutKey
bool urgent
int windowCount

Private Slots

void fileChanged ()
static void fileChangedProxy (GFileMonitor *file_monitor, GFile *child, GFile *other_file, GFileMonitorEvent event_type, gpointer user_data)
void onEmptyTriggered ()

Private Member Functions

int count () const
void empty () const
bool isTrashWindow (WnckWindow *window) const
void open () const
void show ()
void startMonitoringTrash ()
QList< WnckWindow * > trashWindows () const
void updateTrashIcon ()

Static Private Member Functions

static void recursiveDelete (GFile *dir)

Private Attributes

QString m_iconName
GFileMonitor * m_monitor
GFile * m_trash

Detailed Description

Definition at line 36 of file trash.h.


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

Generated by  Doxygen 1.6.0   Back to index