integrate TabBar into the build

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841797
This commit is contained in:
Aaron J. Seigo 2008-08-04 05:30:32 +00:00
parent 4ea39f7a28
commit b123a8e8b1
7 changed files with 12 additions and 9 deletions

View File

@ -44,6 +44,7 @@ set(plasma_LIB_SRCS
private/applethandle.cpp
private/datacontainer_p.cpp
private/desktoptoolbox.cpp
private/nativetabbar.cpp
private/packages.cpp
private/paneltoolbox.cpp
private/toolbox.cpp
@ -236,6 +237,7 @@ includes/ServiceJob
includes/SignalPlotter
includes/Slider
includes/Svg
includes/TabBar
includes/TextEdit
includes/ToolTipManager
includes/Theme

1
includes/TabBar Normal file
View File

@ -0,0 +1 @@
#include "../../plasma/widgets/tabbar.h"

View File

@ -19,7 +19,7 @@
*/
// Own
#include "nativetabbar.h"
#include "nativetabbar_p.h"
// KDE
#include <KDebug>
@ -343,4 +343,6 @@ QSize NativeTabBar::tabSize(int index) const
}
}
#include "nativetabbar.moc"
#include "nativetabbar_p.moc"

View File

@ -23,14 +23,12 @@
#include <QTabBar>
#include "plasma_widgets_export.h"
namespace Plasma
{
class NativeTabBarPrivate;
class PLASMA_NATIVETABBAR_EXPORT NativeTabBar : public QTabBar
class NativeTabBar : public QTabBar
{
Q_OBJECT

View File

@ -16,5 +16,5 @@ PLASMA_UNIT_TESTS(
set(appletbrowser_SRCS appletbrowser.cpp)
kde4_add_executable(plasmaappletbrowser ${appletbrowser_SRCS})
target_link_libraries(plasmaappletbrowser ${KDE4_KDEUI_LIBS} plasma)
target_link_libraries(plasmaappletbrowser plasma ${KDE4_KDEUI_LIBS})

View File

@ -30,7 +30,7 @@
#include <plasma/animator.h>
#include "nativetabbar.h"
#include "private/nativetabbar_p.h"
namespace Plasma
{

View File

@ -24,7 +24,7 @@
#include <QtGui/QGraphicsWidget>
#include <QtGui/QTabBar>
#include "plasma_widgets_export.h"
#include "plasma_export.h"
class QString;
class QIcon;
@ -40,7 +40,7 @@ class TabBarPrivate;
* Only one of them is displayed at a given time. It is possible to add and remove tabs
* or modify their text label or their icon.
*/
class PLASMA_TABBAR_EXPORT TabBar : public QGraphicsWidget
class PLASMA_EXPORT TabBar : public QGraphicsWidget
{
Q_OBJECT