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

List:       kde-commits
Subject:    KDE/kdegames/libkdegames
From:       Stefan Majewsky <majewsky () gmx ! net>
Date:       2012-05-23 18:39:22
Message-ID: 20120523183922.766B4AC76D () svn ! kde ! org
[Download RAW message or body]

SVN commit 1296318 by majewsky:

KgTheme: Virtualize readFromDesktopFile() method.

This might be handy for KGoldRunner, see my mail on kde-games-devel@ in
a few minutes.

 M  +2 -2      kgtheme.h  


--- trunk/KDE/kdegames/libkdegames/kgtheme.h #1296317:1296318
@@ -83,7 +83,7 @@
 		///Constructor. The @a identifier must be application-unique.
 		explicit KgTheme(const QByteArray& identifier, QObject* parent = 0);
 		///Destructor.
-		~KgTheme();
+		virtual ~KgTheme();
 
 		///Initializes a KgTheme instance by reading a description file.
 		///@return whether @a path is a valid theme description file (if not,
@@ -92,7 +92,7 @@
 		///      common pattern of using a static member function like
 		///      "KgTheme::fromDesktopFile" to accommodate applications which
 		///      want to subclass KgTheme.
-		bool readFromDesktopFile(const QString& path);
+		virtual bool readFromDesktopFile(const QString& path);
 
 #ifdef KGTHEME_PROVIDE_COMPATIBILITY_API
 		///Use a different group name in theme description files. For example,
[prev in list] [next in list] [prev in thread] [next in thread] 

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