diff options
Diffstat (limited to 'torrentwidget.h')
-rw-r--r-- | torrentwidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/torrentwidget.h b/torrentwidget.h index 4a354ce..aa3d977 100644 --- a/torrentwidget.h +++ b/torrentwidget.h @@ -20,6 +20,10 @@ class TorrentDisplay; class TorrentWidget : public QWidget { Q_OBJECT public: + enum CustomRoles { PresentRole = Qt::UserRole + 1, FullPathRole = Qt::UserRole + 2 }; + enum { ColumnCount = 3 }; + enum Columns { IconColumn = 0, NameColumn = 1, CreatedColumn = 2 }; + enum Present { NotPresent = 0, Present = 1 }; TorrentWidget(QWidget *parent = 0); QToolBar *toolBar() { return mToolBar; } QMenuBar *menuBar() { return mMenuBar; } |