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

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

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

Loading…
Cancel
Save