author | sandman <sandman> | 2002-06-30 20:34:40 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-30 20:34:40 (UTC) |
commit | 8d8081142f19cf697c4a1fe044add4e2db9a36b2 (patch) (unidiff) | |
tree | 200b2c26f47cb8b66652414dbc0fa5f96686cc6a /noncore/styles/liquid/liquid.cpp | |
parent | 1c6b25945236e3d6e4dd611ec6fc6003d5f87280 (diff) | |
download | opie-8d8081142f19cf697c4a1fe044add4e2db9a36b2.zip opie-8d8081142f19cf697c4a1fe044add4e2db9a36b2.tar.gz opie-8d8081142f19cf697c4a1fe044add4e2db9a36b2.tar.bz2 |
ew feature - when liquid is active a new window decoration is set
(this deco is inspired by the classic KDE liquid kwin style)
Diffstat (limited to 'noncore/styles/liquid/liquid.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/styles/liquid/liquid.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/styles/liquid/liquid.cpp b/noncore/styles/liquid/liquid.cpp index 2b6eaa4..9a7d2dd 100644 --- a/noncore/styles/liquid/liquid.cpp +++ b/noncore/styles/liquid/liquid.cpp | |||
@@ -12,2 +12,3 @@ | |||
12 | #include "liquid.h" | 12 | #include "liquid.h" |
13 | #include "liquiddeco.h" | ||
13 | #include <qapplication.h> | 14 | #include <qapplication.h> |
@@ -989,2 +990,4 @@ void LiquidStyle::polish(QApplication *app) | |||
989 | qt_set_draw_menu_bar_impl((QDrawMenuBarItemImpl) &LiquidStyle::drawMenuBarItem); | 990 | qt_set_draw_menu_bar_impl((QDrawMenuBarItemImpl) &LiquidStyle::drawMenuBarItem); |
991 | |||
992 | QApplication::qwsSetDecoration ( new LiquidDecoration ( )); | ||
990 | } | 993 | } |
@@ -998,2 +1001,4 @@ void LiquidStyle::unPolish(QApplication *app) | |||
998 | qt_set_draw_menu_bar_impl ( 0 ); | 1001 | qt_set_draw_menu_bar_impl ( 0 ); |
1002 | |||
1003 | QApplication::qwsSetDecoration ( new QPEDecoration ( )); | ||
999 | } | 1004 | } |