[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/libs/KWelcomeWidget
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2011-01-16 18:55:05
Message-ID: 20110116185505.6CAEA3E1F1 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1214870 by aseigo:

no need to link against or otherwise use the plasma kpart directly


 M  +0 -1      CMakeLists.txt  
 M  +2 -2      kwelcomewidget.cpp  
 M  +4 -3      kwelcomewidgetprivate.cpp  


--- trunk/playground/libs/KWelcomeWidget/CMakeLists.txt #1214869:1214870
@@ -23,7 +23,6 @@
   ${KDE4_KDEUI_LIBS}
   ${KDE4_PLASMA_LIBS} 
   ${KDE4_KPARTS_LIBS}
-  /usr/lib/kde4/plasma-kpart.so
 )
 
 install(TARGETS kwelcomewidgettestapp  ${INSTALL_TARGETS_DEFAULT_ARGS}) 
--- trunk/playground/libs/KWelcomeWidget/kwelcomewidget.cpp #1214869:1214870
@@ -5,7 +5,7 @@
 #include <QHBoxLayout>
 #include <QWidget>
 
-#include <plasmakpart.h>
+#include <KParts/ReadOnlyPart>
 #include <Plasma/Applet>
 
 #include "recentdocuments-applet/recentappdocuments.h"
@@ -133,4 +133,4 @@
 void KWelcomeWidget::detach(){
   d_ptr->m_overlayed->removeEventFilter(this);
   this->deleteLater();
-}
\ No newline at end of file
+}
--- trunk/playground/libs/KWelcomeWidget/kwelcomewidgetprivate.cpp #1214869:1214870
@@ -2,9 +2,10 @@
 #include "recentdocuments-applet/recentappdocuments.h"
 #include "kwelcomewidget.h"
 
-#include <plasmakpart.h>
+#include <KApplication>
 #include <KMessageBox>
-#include <KApplication>
+#include <KParts/ReadOnlyPart>
+
 #include <QLayout>
 
 KWelcomeWidgetPrivate::KWelcomeWidgetPrivate(KWelcomeWidget *parent)
@@ -25,4 +26,4 @@
 
   m_applet = new RecentAppDocumentsApplet(parent);
   qDebug() << "Criando tudo certinho";
-}
\ No newline at end of file
+}
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic