rename the following methods:

tqparent parent
tqmask mask


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ksplash-engine-moodin@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 7c27bddd54
commit d1d5c12cec

@ -20,8 +20,8 @@
TQImage* EffectWidget::bgImage = 0; TQImage* EffectWidget::bgImage = 0;
EffectWidget::EffectWidget(TQWidget* tqparent, const char* name) EffectWidget::EffectWidget(TQWidget* parent, const char* name)
:TQWidget(tqparent, name) :TQWidget(parent, name)
{ {
timer = 0; timer = 0;
delayMS = 20; delayMS = 20;

@ -28,7 +28,7 @@ class EffectWidget : public TQWidget
TQ_OBJECT TQ_OBJECT
public: public:
EffectWidget(TQWidget *tqparent = 0,const char *name = 0); EffectWidget(TQWidget *parent = 0,const char *name = 0);
static void setBackgroundImage(TQImage *image) { bgImage = image; } static void setBackgroundImage(TQImage *image) { bgImage = image; }

@ -34,8 +34,8 @@
K_EXPORT_COMPONENT_FACTORY(ksplashmoodin, KGenericFactory<ThemeMoodin>("ksplash")) K_EXPORT_COMPONENT_FACTORY(ksplashmoodin, KGenericFactory<ThemeMoodin>("ksplash"))
ThemeMoodin::ThemeMoodin(TQWidget* tqparent, const char* name, const TQStringList& args) ThemeMoodin::ThemeMoodin(TQWidget* parent, const char* name, const TQStringList& args)
:ThemeEngine(tqparent, name, args) :ThemeEngine(parent, name, args)
{ {
readSettings(); readSettings();
init(); init();
@ -330,9 +330,9 @@ void ThemeMoodin::arrangeWidget(TQWidget* w, const int index)
} }
EffectWidget* ThemeMoodin::createEffectWidget(TQWidget* tqparent, TQImage* image) EffectWidget* ThemeMoodin::createEffectWidget(TQWidget* parent, TQImage* image)
{ {
EffectWidget *fw = new EffectWidget(tqparent); EffectWidget *fw = new EffectWidget(parent);
fw->hide(); fw->hide();
fw->setBackgroundOrigin(TQWidget::WindowOrigin); fw->setBackgroundOrigin(TQWidget::WindowOrigin);

@ -36,7 +36,7 @@ class ThemeMoodin: public ThemeEngine
TQ_OBJECT TQ_OBJECT
public: public:
ThemeMoodin(TQWidget *tqparent, const char *name, const TQStringList& flags); ThemeMoodin(TQWidget *parent, const char *name, const TQStringList& flags);
inline const TQString name() { return TQString("Moodin"); } inline const TQString name() { return TQString("Moodin"); }
inline const int version() { return 0x042; } inline const int version() { return 0x042; }
@ -124,7 +124,7 @@ private:
void arrangeWidget(TQWidget* me, const int index); void arrangeWidget(TQWidget* me, const int index);
void updatetqStatus(); void updatetqStatus();
EffectWidget* createEffectWidget(TQWidget *tqparent, TQImage *image); EffectWidget* createEffectWidget(TQWidget *parent, TQImage *image);
}; };
#endif #endif

Loading…
Cancel
Save