Rename KStartup for enhanced compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 949de81936
commit eb973d5c88

@ -20,7 +20,7 @@
#include <kstandarddirs.h>
#include <kglobalsettings.h>
KStartupLogo::KStartupLogo(TQWidget * parent, const char *name)
TDEStartupLogo::TDEStartupLogo(TQWidget * parent, const char *name)
: TQWidget(parent,name,WStyle_Customize | WStyle_NoBorder )
{
TQPixmap pm;
@ -31,10 +31,10 @@ KStartupLogo::KStartupLogo(TQWidget * parent, const char *name)
pm.width(),pm.height());
}
KStartupLogo::~KStartupLogo(){
TDEStartupLogo::~TDEStartupLogo(){
}
bool KStartupLogo::event(TQEvent* ev){
bool TDEStartupLogo::event(TQEvent* ev){
raise();
return TQWidget::event(ev);
}

@ -24,12 +24,12 @@
*@author Arnold Kraschinski
*/
class KStartupLogo : public TQWidget {
class TDEStartupLogo : public TQWidget {
Q_OBJECT
public:
KStartupLogo(TQWidget *parent=0, const char *name=0);
~KStartupLogo();
TDEStartupLogo(TQWidget *parent=0, const char *name=0);
~TDEStartupLogo();
protected:
virtual bool event(TQEvent*);
};

@ -51,7 +51,7 @@ int KVerbosApp::kverbosCounter = 0;
KVerbosApp::KVerbosApp(TQWidget* , const char* name):KMainWindow (0, name)
{
// als erstes das Logo starten
KStartupLogo* start_logo = new KStartupLogo(0);
TDEStartupLogo* start_logo = new TDEStartupLogo(0);
start_logo->show();
start_logo->raise();

Loading…
Cancel
Save