summaryrefslogtreecommitdiffstats
path: root/twin/useractions.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-08-02 19:26:42 +0300
committerMavridis Philippe <mavridisf@gmail.com>2024-08-02 19:26:42 +0300
commit66ebe21d5ef4cbeb0983d2456833f3e24fe44f0a (patch)
tree9042f1877a40169b5aaab8a263b3aafc4e08d2e3 /twin/useractions.cpp
parent4cd5817775a7e3618081bfed788f361307cfef41 (diff)
downloadtdebase-66ebe21d5ef4cbeb0983d2456833f3e24fe44f0a.tar.gz
tdebase-66ebe21d5ef4cbeb0983d2456833f3e24fe44f0a.zip
TWin, Kicker: Add icons for tiling menus
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'twin/useractions.cpp')
-rw-r--r--twin/useractions.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/twin/useractions.cpp b/twin/useractions.cpp
index 64f3199d6..821828e19 100644
--- a/twin/useractions.cpp
+++ b/twin/useractions.cpp
@@ -49,23 +49,23 @@ TQPopupMenu* Workspace::makeTileMenu()
TQPopupMenu *m = new TQPopupMenu;
// Tile to side (the menu id matched the ActiveBorder index used for tiling)
- int id = m->insertItem( i18n("&Left"), this, TQ_SLOT( tileCurrentWindowToBorder(int) ) );
+ int id = m->insertItem( SmallIconSet("tile_left"), i18n("&Left"), this, TQ_SLOT( tileCurrentWindowToBorder(int) ) );
m->setItemParameter( id, 6 );
- id = m->insertItem( i18n("&Right"), this, TQ_SLOT( tileCurrentWindowToBorder(int) ) );
+ id = m->insertItem( SmallIconSet("tile_right"), i18n("&Right"), this, TQ_SLOT( tileCurrentWindowToBorder(int) ) );
m->setItemParameter( id, 2 );
- id = m->insertItem( i18n("&Top"), this, TQ_SLOT( tileCurrentWindowToBorder(int) ) );
+ id = m->insertItem( SmallIconSet("tile_top"), i18n("&Top"), this, TQ_SLOT( tileCurrentWindowToBorder(int) ) );
m->setItemParameter( id, 0 );
- id = m->insertItem( i18n("&Bottom"), this, TQ_SLOT( tileCurrentWindowToBorder(int) ) );
+ id = m->insertItem( SmallIconSet("tile_bottom"), i18n("&Bottom"), this, TQ_SLOT( tileCurrentWindowToBorder(int) ) );
m->setItemParameter( id, 4 );
// Tile to corner (the menu id matched the ActiveBorder index used for tiling)
- id = m->insertItem( i18n("Top &Left"), this, TQ_SLOT( tileCurrentWindowToBorder(int) ) );
+ id = m->insertItem( SmallIconSet("tile_topleft"), i18n("Top &Left"), this, TQ_SLOT( tileCurrentWindowToBorder(int) ) );
m->setItemParameter( id, 7 );
- id = m->insertItem( i18n("Top &Right"), this, TQ_SLOT( tileCurrentWindowToBorder(int) ) );
+ id = m->insertItem( SmallIconSet("tile_topright"), i18n("Top &Right"), this, TQ_SLOT( tileCurrentWindowToBorder(int) ) );
m->setItemParameter( id, 1 );
- id = m->insertItem( i18n("Bottom L&eft"), this, TQ_SLOT( tileCurrentWindowToBorder(int) ) );
+ id = m->insertItem( SmallIconSet("tile_bottomleft"), i18n("Bottom L&eft"), this, TQ_SLOT( tileCurrentWindowToBorder(int) ) );
m->setItemParameter( id, 5 );
- id = m->insertItem( i18n("&Bottom R&ight"), this, TQ_SLOT( tileCurrentWindowToBorder(int) ) );
+ id = m->insertItem( SmallIconSet("tile_bottomright"), i18n("&Bottom R&ight"), this, TQ_SLOT( tileCurrentWindowToBorder(int) ) );
m->setItemParameter( id, 3 );
return m;