diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2014-10-19 16:15:20 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-10-19 07:23:36 -0700 |
commit | dfec501e7a1cd26dc2ff4d675a3c8d91ac86aaa5 (patch) | |
tree | 08f86ceb31922b2a40d1a16585d421fbfddd008f /qt-ui/models.h | |
parent | 60702f104ca5f27c6399db22e4a4bdf2d4b6791f (diff) | |
download | subsurface-dfec501e7a1cd26dc2ff4d675a3c8d91ac86aaa5.tar.gz |
Resolution-independent trash icon
Also, generate the corresponding pixmap only once, and distribute it to
all models that need it.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.h')
-rw-r--r-- | qt-ui/models.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/models.h b/qt-ui/models.h index 2345d0de2..a0b256594 100644 --- a/qt-ui/models.h +++ b/qt-ui/models.h @@ -89,6 +89,9 @@ private: QString biggerEntry; }; +/* Retrieve the trash icon pixmap, common to most table models */ +const QPixmap &trashIcon(); + /* Encapsulation of the Cylinder Model, that presents the * Current cylinders that are used on a dive. */ class CylindersModel : public CleanerTableModel { |