author | sandman <sandman> | 2002-06-30 20:34:40 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-30 20:34:40 (UTC) |
commit | 8d8081142f19cf697c4a1fe044add4e2db9a36b2 (patch) (side-by-side diff) | |
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 @@ -11,4 +11,5 @@ #include <qmenudata.h> #include "liquid.h" +#include "liquiddeco.h" #include <qapplication.h> #include <qpe/config.h> @@ -988,4 +989,6 @@ void LiquidStyle::polish(QApplication *app) qt_set_draw_menu_bar_impl((QDrawMenuBarItemImpl) &LiquidStyle::drawMenuBarItem); + + QApplication::qwsSetDecoration ( new LiquidDecoration ( )); } @@ -997,4 +1000,6 @@ void LiquidStyle::unPolish(QApplication *app) qt_set_draw_menu_bar_impl ( 0 ); + + QApplication::qwsSetDecoration ( new QPEDecoration ( )); } |