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

List:       kde-commits
Subject:    kdenonbeta/kthememanager
From:       Laurent Montel <montel () kde ! org>
Date:       2004-05-15 22:56:41
Message-ID: 20040515225641.3CAEB8EA6 () office ! kde ! org
[Download RAW message or body]

CVS commit by mlaurent: 

Fix include
Fix mem leak


  M +2 -0      ktheme.cpp   1.7
  M +3 -2      ktheme.h   1.4
  M +2 -0      kthememanager.cpp   1.8
  M +2 -2      kthememanager.h   1.7


--- kdenonbeta/kthememanager/ktheme.cpp  #1.6:1.7
@@ -37,4 +37,6 @@
 #include <kapplication.h>
 #include <ksimpleconfig.h>
+#include <kstandarddirs.h>
+#include <kconfig.h>
 
 KTheme::KTheme( const QString & xmlFile )

--- kdenonbeta/kthememanager/ktheme.h  #1.3:1.4
@@ -25,6 +25,7 @@
 
 #include <kurl.h>
-#include <kconfig.h>
-#include <kstandarddirs.h>
+
+class KStandardDirs;
+class KConfig;
 
 /// defines the syntax version used by the XML

--- kdenonbeta/kthememanager/kthememanager.cpp  #1.7:1.8
@@ -36,4 +36,5 @@
 #include <kservicegroup.h>
 #include <kiconloader.h>
+#include <kaboutdata.h>
 
 #include "kthememanager.h"
@@ -317,4 +318,5 @@ void kthememanager::slotThemeChanged( QL
 
         KTheme theme( themeDir + themeName + ".xml" );
+        QToolTip::remove( dlg->lbPreview );
         QToolTip::add( dlg->lbPreview, "<qt>" + i18n( "Author: %1<br>Email: \
                %2<br>Version: %3<br>Homepage: %4" )
                        .arg( theme.author() ).arg( theme.email() )

--- kdenonbeta/kthememanager/kthememanager.h  #1.6:1.7
@@ -21,8 +21,7 @@
 
 #include <kcmodule.h>
-#include <kaboutdata.h>
 #include <kurl.h>
 #include <kservice.h>
-#include <kiconview.h>
+//#include <kiconview.h>
 #include <krun.h>
 
@@ -33,4 +32,5 @@
 
 class QString;
+class KAboutData;
 
 /*


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

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