Browse Source

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 10 years ago
parent
commit
d1d5c12cec
  1. 4
      src/effectwidget.cpp
  2. 2
      src/effectwidget.h
  3. 8
      src/thememoodin.cpp
  4. 4
      src/thememoodin.h

4
src/effectwidget.cpp

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

2
src/effectwidget.h

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

8
src/thememoodin.cpp

@ -34,8 +34,8 @@
K_EXPORT_COMPONENT_FACTORY(ksplashmoodin, KGenericFactory<ThemeMoodin>("ksplash"))
ThemeMoodin::ThemeMoodin(TQWidget* tqparent, const char* name, const TQStringList& args)
:ThemeEngine(tqparent, name, args)
ThemeMoodin::ThemeMoodin(TQWidget* parent, const char* name, const TQStringList& args)
:ThemeEngine(parent, name, args)
{
readSettings();
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->setBackgroundOrigin(TQWidget::WindowOrigin);

4
src/thememoodin.h

@ -36,7 +36,7 @@ class ThemeMoodin: public ThemeEngine
TQ_OBJECT
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 int version() { return 0x042; }
@ -124,7 +124,7 @@ private:
void arrangeWidget(TQWidget* me, const int index);
void updatetqStatus();
EffectWidget* createEffectWidget(TQWidget *tqparent, TQImage *image);
EffectWidget* createEffectWidget(TQWidget *parent, TQImage *image);
};
#endif
Loading…
Cancel
Save