* move kstyles from runtime into workspace

* make a proper library out of the oxygen helper lib
* make the oxygen widget and kwin style link against it

svn path=/trunk/KDE/kdebase/workspace/; revision=1097791
This commit is contained in:
Aaron J. Seigo 2010-03-02 03:40:34 +00:00
parent bcd8d3f476
commit bfbe44dacc
9 changed files with 11 additions and 12 deletions

View file

@ -1,12 +1,10 @@
########### add version number into compilation defines
add_definitions ( -DAPP_VERSION=\\\"${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}\\\")
add_subdirectory( config )
include_directories(${KDEBASE_WORKSPACE_SOURCE_DIR}/libs/oxygen)
########### next target ###############
set(kwin_oxygen_SRCS
lib/helper.cpp
lib/tileset.cpp
lib/oxygenanimation.cpp
oxygen.cpp
oxygenbutton.cpp
oxygenclient.cpp
@ -27,6 +25,7 @@ target_link_libraries(
${X11_X11_LIB}
${X11_Xrender_LIB}
kdecorations
oxygenstyle
)
install(TARGETS kwin3_oxygen DESTINATION ${PLUGIN_INSTALL_DIR} )

View file

@ -35,7 +35,7 @@
#include "oxygenexceptionlist.h"
#include "oxygenshadowcache.h"
#include "lib/helper.h"
#include "oxygenhelper.h"
namespace Oxygen
{

View file

@ -31,7 +31,7 @@
#include <kcommondecoration.h>
#include "oxygen.h"
#include "lib/oxygenanimation.h"
#include "oxygenanimation.h"
namespace Oxygen
{

View file

@ -31,7 +31,7 @@
#include "oxygen.h"
#include "oxygenbutton.h"
#include "oxygensizegrip.h"
#include "lib/tileset.h"
#include "tileset.h"
#include <cassert>
#include <cmath>

View file

@ -32,8 +32,8 @@
#include "oxygenclientgroupitemdata.h"
#include "oxygenconfiguration.h"
#include "oxygentitleanimationdata.h"
#include "lib/oxygenanimation.h"
#include "lib/helper.h"
#include "oxygenanimation.h"
#include "oxygenhelper.h"
#include <kcommondecoration.h>
#include <KGlobalSettings>

View file

@ -29,7 +29,7 @@
//////////////////////////////////////////////////////////////////////////////
#include "oxygenbutton.h"
#include "lib/oxygenanimation.h"
#include "oxygenanimation.h"
#include <QtCore/QList>
#include <QtCore/QWeakPointer>

View file

@ -27,7 +27,7 @@
#include "oxygenshadowcache.h"
#include "oxygenclient.h"
#include "oxygen.h"
#include "lib/helper.h"
#include "oxygenhelper.h"
#include <cassert>
#include <KColorUtils>

View file

@ -31,7 +31,7 @@
#include <QtGui/QRadialGradient>
#include "oxygenshadowconfiguration.h"
#include "lib/tileset.h"
#include "tileset.h"
class OxygenHelper;

View file

@ -28,7 +28,7 @@
// IN THE SOFTWARE.
//////////////////////////////////////////////////////////////////////////////
#include "lib/oxygenanimation.h"
#include "oxygenanimation.h"
#include <cassert>
#include <QtCore/QObject>