[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/ksplashml/themeengine
From: Ravikiran Rajagopal <ravi () ee ! eng ! ohio-state ! edu>
Date: 2003-05-18 18:14:53
[Download RAW message or body]
CVS commit by ravi:
Adding d-pointers to classes in public API.
M +5 -1 objkstheme.cpp 1.5
M +6 -2 objkstheme.h 1.4
M +5 -1 themeengine.cpp 1.6
M +5 -0 themeengine.h 1.4
--- kdebase/ksplashml/themeengine/objkstheme.cpp #1.4:1.5
@@ -28,5 +28,5 @@
ObjKsTheme::ObjKsTheme( const QString& theme )
- :mActiveTheme (theme), mThemeConfig (0L), mThemeDir("/")
+ :mActiveTheme (theme), mThemeDir("/"), mThemeConfig (0L), d(0)
{
// Does the active theme exist?
@@ -36,4 +36,8 @@ ObjKsTheme::ObjKsTheme( const QString& t
loadLocalConfig( "Default", true ); //force: we need some defaults
loadCmdLineArgs(KCmdLineArgs::parsedArgs());
+}
+
+ObjKsTheme::~ObjKsTheme()
+{
}
--- kdebase/ksplashml/themeengine/objkstheme.h #1.3:1.4
@@ -23,5 +23,5 @@ class KConfig;
* @short Theme reader.
* A Theme is read in from the file
- * <KDEDIR>/share/apps/ksplashml/Themes/<theme>/theme.rc
+ * <KDEDIR>/share/apps/ksplash/Themes/<theme>/Theme.rc
* This controls the behavior, graphics, and appearance
* of KSplash completely, and offers a friendlier way
@@ -32,5 +32,6 @@ class ObjKsTheme : public QObject
Q_OBJECT
public:
- ObjKsTheme( const QString& );
+ explicit ObjKsTheme( const QString& );
+ virtual ~ObjKsTheme();
void loadCmdLineArgs( KCmdLineArgs * );
@@ -60,4 +61,7 @@ private:
QStringList m_icons, m_text;
+
+ class ObjKsThemePrivate;
+ ObjKsThemePrivate *d;
};
--- kdebase/ksplashml/themeengine/themeengine.cpp #1.5:1.6
@@ -23,5 +23,5 @@
ThemeEngine::ThemeEngine( QWidget *, const char *, const QStringList& args )
- : QVBox( 0, "wndSplash", WStyle_Customize|WStyle_StaysOnTop|WStyle_NoBorder )
+ : QVBox( 0, "wndSplash", WStyle_Customize|WStyle_StaysOnTop|WStyle_NoBorder|WX11BypassWM ), d(0)
{
if (args.isEmpty())
@@ -32,4 +32,8 @@ ThemeEngine::ThemeEngine( QWidget *, con
KWin::setState( winId(), NET::StaysOnTop | NET::SkipTaskbar | NET::SkipPager );
+}
+
+ThemeEngine::~ThemeEngine()
+{
}
--- kdebase/ksplashml/themeengine/themeengine.h #1.3:1.4
@@ -53,4 +53,5 @@ class ThemeEngine: public QVBox
public:
ThemeEngine( QWidget *parent, const char *name, const QStringList &args );
+ virtual ~ThemeEngine() = 0;
virtual const ThemeEngineConfig *config( QWidget *, KConfig * ) { return 0L; }
virtual ObjKsTheme *ksTheme() { return mTheme; }
@@ -65,4 +66,8 @@ protected:
virtual void mouseReleaseEvent( QMouseEvent * );
ObjKsTheme *mTheme;
+
+private:
+ class ThemeEnginePrivate;
+ ThemeEnginePrivate *d;
};
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic