summaryrefslogtreecommitdiffstats
path: root/ksplashml/themeengine
diff options
context:
space:
mode:
Diffstat (limited to 'ksplashml/themeengine')
-rw-r--r--ksplashml/themeengine/default/themelegacy.cpp8
-rw-r--r--ksplashml/themeengine/default/themelegacy.h2
-rw-r--r--ksplashml/themeengine/objkstheme.cpp8
-rw-r--r--ksplashml/themeengine/objkstheme.h2
-rw-r--r--ksplashml/themeengine/redmond/main.cpp2
-rw-r--r--ksplashml/themeengine/redmond/themeredmond.cpp8
-rwxr-xr-x[-rw-r--r--]ksplashml/themeengine/standard/Preview.pngbin248581 -> 316842 bytes
-rwxr-xr-x[-rw-r--r--]ksplashml/themeengine/standard/pics/Preview.pngbin49291 -> 67148 bytes
-rw-r--r--ksplashml/themeengine/standard/themestandard.cpp4
-rw-r--r--ksplashml/themeengine/standard/wndicon.cpp8
-rw-r--r--ksplashml/themeengine/standard/wndstatus.cpp2
-rw-r--r--ksplashml/themeengine/themeengine.cpp8
-rw-r--r--ksplashml/themeengine/themeengine.h6
-rw-r--r--ksplashml/themeengine/unified/themeunified.cpp4
-rw-r--r--ksplashml/themeengine/unified/themeunified.h2
15 files changed, 32 insertions, 32 deletions
diff --git a/ksplashml/themeengine/default/themelegacy.cpp b/ksplashml/themeengine/default/themelegacy.cpp
index c3a0285a8..99a3145f0 100644
--- a/ksplashml/themeengine/default/themelegacy.cpp
+++ b/ksplashml/themeengine/default/themelegacy.cpp
@@ -15,7 +15,7 @@
#include <kgenericfactory.h>
#include <tdeglobalsettings.h>
#include <tdelocale.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kprogress.h>
#include <tqcheckbox.h>
@@ -71,7 +71,7 @@ ThemeDefault::ThemeDefault( TQWidget *parent, const char *name, const TQStringLi
if( mIconsFlashing )
{
mFlashTimer = new TQTimer( this );
- connect( mFlashTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(flash()) );
+ connect( mFlashTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(flash()) );
mFlashPixmap1 = new TQPixmap();
mFlashPixmap2 = new TQPixmap();
@@ -158,7 +158,7 @@ void ThemeDefault::_initUi()
mLabel->setPaletteForegroundColor( mLabelForeground );
mLabel->setPaletteBackgroundPixmap( blimage );
TQFont f(mLabel->font());
- f.setBold(TRUE);
+ f.setBold(true);
mLabel->setFont(f);
mProgressBar = new KProgress( mLabel );
@@ -191,7 +191,7 @@ void ThemeDefault::_initUi()
setFixedHeight( mInactivePixmap->height() +
top_label->height() + bottom_label->height() );
- const TQRect rect = kapp->desktop()->screenGeometry( mTheme->xineramaScreen() );
+ const TQRect rect = tdeApp->desktop()->screenGeometry( mTheme->xineramaScreen() );
// TDEGlobalSettings::splashScreenDesktopGeometry(); cannot be used here.
// kdDebug() << "ThemeDefault::_initUi" << rect << endl;
diff --git a/ksplashml/themeengine/default/themelegacy.h b/ksplashml/themeengine/default/themelegacy.h
index 0e99d69f7..35aa414eb 100644
--- a/ksplashml/themeengine/default/themelegacy.h
+++ b/ksplashml/themeengine/default/themelegacy.h
@@ -41,7 +41,7 @@ protected:
* @short Traditional Trinity splash screen.
*/
class ObjKsTheme;
-class KDE_EXPORT ThemeDefault : public ThemeEngine
+class TDE_EXPORT ThemeDefault : public ThemeEngine
{
TQ_OBJECT
public:
diff --git a/ksplashml/themeengine/objkstheme.cpp b/ksplashml/themeengine/objkstheme.cpp
index 609956592..d5b072f80 100644
--- a/ksplashml/themeengine/objkstheme.cpp
+++ b/ksplashml/themeengine/objkstheme.cpp
@@ -15,7 +15,7 @@
#include <kdebug.h>
#include <tdeglobal.h>
#include <tdelocale.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tqcolor.h>
#include <tqcursor.h>
@@ -32,9 +32,9 @@ ObjKsTheme::ObjKsTheme( const TQString& theme )
:mActiveTheme (theme), mThemeDir("/"), mThemeConfig (0L), mThemePrefix( "Themes/" ), d(0)
{
// Get Xinerama config.
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup( "Xinerama" );
- TQDesktopWidget *desktop = kapp->desktop();
+ TQDesktopWidget *desktop = tdeApp->desktop();
mXineramaScreen = config->readNumEntry("KSplashScreen", desktop->primaryScreen());
// For Xinerama, let's put the mouse on the first head. Otherwise it could appear anywhere!
@@ -92,7 +92,7 @@ bool ObjKsTheme::loadThemeRc( const TQString& activeTheme, bool force )
bool ObjKsTheme::loadLocalConfig( const TQString& activeTheme, bool force )
{
//kdDebug() << "ObjKsTheme::loadLocalConfig" << endl;
- TDEConfig *cfg = kapp->config();
+ TDEConfig *cfg = tdeApp->config();
return( loadTDEConfig( cfg, activeTheme, force ) );
}
diff --git a/ksplashml/themeengine/objkstheme.h b/ksplashml/themeengine/objkstheme.h
index f6884b46f..7702371f3 100644
--- a/ksplashml/themeengine/objkstheme.h
+++ b/ksplashml/themeengine/objkstheme.h
@@ -26,7 +26,7 @@ class TDEConfig;
* of KSplash completely, and offers a friendlier way
* of installing custom splash screens.
*/
-class KDE_EXPORT ObjKsTheme : public TQObject
+class TDE_EXPORT ObjKsTheme : public TQObject
{
TQ_OBJECT
public:
diff --git a/ksplashml/themeengine/redmond/main.cpp b/ksplashml/themeengine/redmond/main.cpp
index 7b4a6bb2e..6e910064d 100644
--- a/ksplashml/themeengine/redmond/main.cpp
+++ b/ksplashml/themeengine/redmond/main.cpp
@@ -10,7 +10,7 @@
* *
***************************************************************************/
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tqlabel.h>
#include <tqpixmap.h>
diff --git a/ksplashml/themeengine/redmond/themeredmond.cpp b/ksplashml/themeengine/redmond/themeredmond.cpp
index 3792d6057..548e62769 100644
--- a/ksplashml/themeengine/redmond/themeredmond.cpp
+++ b/ksplashml/themeengine/redmond/themeredmond.cpp
@@ -22,7 +22,7 @@
#include <tdeglobalsettings.h>
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kuser.h>
#include <tdeemailsettings.h>
@@ -86,7 +86,7 @@ ThemeRedmond::ThemeRedmond( TQWidget *parent, const char *name, const TQStringLi
void ThemeRedmond::_initUi()
{
- const TQRect screen = kapp->desktop()->screenGeometry( mTheme->xineramaScreen() );
+ const TQRect screen = tdeApp->desktop()->screenGeometry( mTheme->xineramaScreen() );
//TQRect fullScreen = TDEGlobalSettings::desktopGeometry(0L);
mImage.resize( screen.width(), screen.height() );
@@ -275,7 +275,7 @@ void ThemeRedmond::_initUi()
void ThemeRedmond::paintEvent( TQPaintEvent *pe )
{
- const TQRect screen = kapp->desktop()->screenGeometry( mTheme->xineramaScreen() );
+ const TQRect screen = tdeApp->desktop()->screenGeometry( mTheme->xineramaScreen() );
TQPainter p;
p.begin( this );
@@ -308,7 +308,7 @@ void ThemeRedmond::paintEvent( TQPaintEvent *pe )
void ThemeRedmond::_readSettings()
{
- const TQRect screen = kapp->desktop()->screenGeometry( mTheme->xineramaScreen() );
+ const TQRect screen = tdeApp->desktop()->screenGeometry( mTheme->xineramaScreen() );
//TQRect fullScreen = TDEGlobalSettings::desktopGeometry(0L);
if( !mTheme )
diff --git a/ksplashml/themeengine/standard/Preview.png b/ksplashml/themeengine/standard/Preview.png
index b2ce44163..9545b9eac 100644..100755
--- a/ksplashml/themeengine/standard/Preview.png
+++ b/ksplashml/themeengine/standard/Preview.png
Binary files differ
diff --git a/ksplashml/themeengine/standard/pics/Preview.png b/ksplashml/themeengine/standard/pics/Preview.png
index 4fb01119e..ec936a18c 100644..100755
--- a/ksplashml/themeengine/standard/pics/Preview.png
+++ b/ksplashml/themeengine/standard/pics/Preview.png
Binary files differ
diff --git a/ksplashml/themeengine/standard/themestandard.cpp b/ksplashml/themeengine/standard/themestandard.cpp
index 8fd950eb5..c0fdff594 100644
--- a/ksplashml/themeengine/standard/themestandard.cpp
+++ b/ksplashml/themeengine/standard/themestandard.cpp
@@ -15,7 +15,7 @@
#include <tdeglobalsettings.h>
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdeconfig.h>
#include <tqdesktopwidget.h>
@@ -75,7 +75,7 @@ void ThemeStandard::_initUi()
resize( 0, 0 );
}
- const TQRect rect = kapp->desktop()->screenGeometry( mTheme->xineramaScreen() );
+ const TQRect rect = tdeApp->desktop()->screenGeometry( mTheme->xineramaScreen() );
// TDEGlobalSettings::splashScreenDesktopGeometry(); cannot be used here.
move( rect.x() + (rect.width() - size().width())/2,
diff --git a/ksplashml/themeengine/standard/wndicon.cpp b/ksplashml/themeengine/standard/wndicon.cpp
index 856547895..9f12a5aed 100644
--- a/ksplashml/themeengine/standard/wndicon.cpp
+++ b/ksplashml/themeengine/standard/wndicon.cpp
@@ -65,12 +65,12 @@ WndIcon::WndIcon(
TQPoint p = determinePosition();
mGroundX = mPosX = p.x();
mGroundY = mPosY = p.y();
- move( p + kapp->desktop()->screenGeometry( mXineramaScreen ).topLeft() );
+ move( p + tdeApp->desktop()->screenGeometry( mXineramaScreen ).topLeft() );
if( mIconJumping )
{
TQTimer *t = new TQTimer( this );
- connect(t, TQT_SIGNAL(timeout()), TQT_SLOT(slotJump()));
+ connect(t, TQ_SIGNAL(timeout()), TQ_SLOT(slotJump()));
t->start( 50, false );
}
}
@@ -98,7 +98,7 @@ TQPoint WndIcon::determinePosition()
int DW, DH, SBH, wid, X, Y, x, y, nSlot, topshift, bottomshift;
bottomshift = topshift = 0;
- const TQRect srect = kapp->desktop()->screenGeometry( mXineramaScreen );
+ const TQRect srect = tdeApp->desktop()->screenGeometry( mXineramaScreen );
// TDEGlobalSettings::splashScreenDesktopGeometry(); cannot be used here.
DW = srect.width();
DH = srect.height();
@@ -301,7 +301,7 @@ void WndIcon::slotJump()
mPosY = (int)((float)mPosY - mVelocity );
break;
}
- move( TQPoint( mPosX, mPosY ) + kapp->desktop()->screenGeometry( mXineramaScreen ).topLeft() );
+ move( TQPoint( mPosX, mPosY ) + tdeApp->desktop()->screenGeometry( mXineramaScreen ).topLeft() );
}
void WndIcon::slotStopJumping()
diff --git a/ksplashml/themeengine/standard/wndstatus.cpp b/ksplashml/themeengine/standard/wndstatus.cpp
index db397a055..9567a1028 100644
--- a/ksplashml/themeengine/standard/wndstatus.cpp
+++ b/ksplashml/themeengine/standard/wndstatus.cpp
@@ -46,7 +46,7 @@ WndStatus::WndStatus( TQPalette /*pal*/,
setCursor( KCursor::blankCursor() );
setSpacing( 5 );
- const TQRect rect = kapp->desktop()->screenGeometry( xineramaScreen );
+ const TQRect rect = tdeApp->desktop()->screenGeometry( xineramaScreen );
// TDEGlobalSettings::splashScreenDesktopGeometry(); cannot be used here.
TQLabel *pix = new TQLabel( this );
diff --git a/ksplashml/themeengine/themeengine.cpp b/ksplashml/themeengine/themeengine.cpp
index db12b8493..e7e34866e 100644
--- a/ksplashml/themeengine/themeengine.cpp
+++ b/ksplashml/themeengine/themeengine.cpp
@@ -44,9 +44,9 @@ ThemeEngine::ThemeEngine( TQWidget *, const char *, const TQStringList& args )
: TQVBox( 0, "wndSplash", (WFlags)(WStyle_Customize|WX11BypassWM) ), d(0), mUseWM(false)
{
d = new ThemeEnginePrivate;
- kapp->installX11EventFilter( this );
- kapp->installEventFilter( this );
- (void)kapp->desktop();
+ tdeApp->installX11EventFilter( this );
+ tdeApp->installEventFilter( this );
+ (void)tdeApp->desktop();
XWindowAttributes rootAttr;
XGetWindowAttributes(tqt_xdisplay(), RootWindow(tqt_xdisplay(),
tqt_xscreen()), &rootAttr);
@@ -101,7 +101,7 @@ void ThemeEngine::addSplashWindow( TQWidget* w )
XChangeWindowAttributes( tqt_xdisplay(), w->winId(), CWOverrideRedirect, &attrs );
}
d->mSplashWindows.prepend( w->winId());
- connect( w, TQT_SIGNAL( destroyed( TQObject* )), TQT_SLOT( splashWindowDestroyed( TQObject* )));
+ connect( w, TQ_SIGNAL( destroyed( TQObject* )), TQ_SLOT( splashWindowDestroyed( TQObject* )));
w->raise();
}
diff --git a/ksplashml/themeengine/themeengine.h b/ksplashml/themeengine/themeengine.h
index 27ae5ec11..c1639ac74 100644
--- a/ksplashml/themeengine/themeengine.h
+++ b/ksplashml/themeengine/themeengine.h
@@ -16,7 +16,7 @@
#include <tqvbox.h>
#include <tqwidget.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
class TDEConfig;
class ObjKsTheme;
@@ -25,7 +25,7 @@ class TQMouseEvent;
/**
* @short The base for the ThemeEngine's configuration widget.
*/
-class KDE_EXPORT ThemeEngineConfig: public TQVBox
+class TDE_EXPORT ThemeEngineConfig: public TQVBox
{
TQ_OBJECT
public:
@@ -48,7 +48,7 @@ protected:
* @short Base class for all theme engines. Member functions need to be
* overridden by derived classes in order to provide actual functionality.
*/
-class KDE_EXPORT ThemeEngine: public TQVBox
+class TDE_EXPORT ThemeEngine: public TQVBox
{
TQ_OBJECT
public:
diff --git a/ksplashml/themeengine/unified/themeunified.cpp b/ksplashml/themeengine/unified/themeunified.cpp
index e0ba8fb9e..26c59f87a 100644
--- a/ksplashml/themeengine/unified/themeunified.cpp
+++ b/ksplashml/themeengine/unified/themeunified.cpp
@@ -15,7 +15,7 @@
#include <kgenericfactory.h>
#include <tdeglobalsettings.h>
#include <tdelocale.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kprogress.h>
#include <tqcheckbox.h>
@@ -77,7 +77,7 @@ void ThemeUnified::_initUi()
mSysModalDialog->show();
mSysModalDialog->setActiveWindow();
- const TQRect rect = kapp->desktop()->screenGeometry( mTheme->xineramaScreen() );
+ const TQRect rect = tdeApp->desktop()->screenGeometry( mTheme->xineramaScreen() );
// Center the dialog
TQSize sh = sizeHint();
diff --git a/ksplashml/themeengine/unified/themeunified.h b/ksplashml/themeengine/unified/themeunified.h
index e2930943c..d002af4b0 100644
--- a/ksplashml/themeengine/unified/themeunified.h
+++ b/ksplashml/themeengine/unified/themeunified.h
@@ -40,7 +40,7 @@ protected:
* @short Traditional Trinity splash screen.
*/
class ObjKsTheme;
-class KDE_EXPORT ThemeUnified : public ThemeEngine
+class TDE_EXPORT ThemeUnified : public ThemeEngine
{
TQ_OBJECT
public: