integrate TabBar into the build
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841797
This commit is contained in:
parent
4ea39f7a28
commit
b123a8e8b1
@ -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
1
includes/TabBar
Normal file
@ -0,0 +1 @@
|
||||
#include "../../plasma/widgets/tabbar.h"
|
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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})
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
#include <plasma/animator.h>
|
||||
|
||||
#include "nativetabbar.h"
|
||||
#include "private/nativetabbar_p.h"
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user