From b57220eeb8e9587e2bdb1209df6d4f2971eda770 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/katapult@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- katapult/katapult/katapult.cpp | 6 +++--- katapult/katapult/settings.cpp | 6 +++--- katapult/plugins/display/glassdisplay/glassdisplay.cpp | 4 ++-- katapult/plugins/display/o2display/o2display.cpp | 4 ++-- katapult/plugins/display/puredisplay/puredisplay.cpp | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/katapult/katapult/katapult.cpp b/katapult/katapult/katapult.cpp index c053d3d..2aa777c 100644 --- a/katapult/katapult/katapult.cpp +++ b/katapult/katapult/katapult.cpp @@ -113,15 +113,15 @@ void Katapult::initDisplay() } } -void Katapult::initAccel(TQWidget *tqparent) +void Katapult::initAccel(TQWidget *parent) { - globalAccel = new KGlobalAccel(TQT_TQOBJECT(tqparent)); + globalAccel = new KGlobalAccel(TQT_TQOBJECT(parent)); globalAccel->insert("show_katapult", i18n("Show Launcher"), i18n("Shows the Katapult launcher"), ALT+Key_Space, ALT+Key_Space, TQT_TQOBJECT(this), TQT_SLOT(showLauncher())); globalAccel->readSettings(); globalAccel->updateConnections(); - actions = new KActionCollection(tqparent); + actions = new KActionCollection(parent); actionCollection()->clear(); contextMenu()->clear(); diff --git a/katapult/katapult/settings.cpp b/katapult/katapult/settings.cpp index 45d481f..9dd8949 100644 --- a/katapult/katapult/settings.cpp +++ b/katapult/katapult/settings.cpp @@ -20,14 +20,14 @@ #include /* - * Constructs a MyDialog1 as a child of 'tqparent', with the + * Constructs a MyDialog1 as a child of 'parent', with the * name 'name' and widget flags set to 'f'. * * The dialog will by default be modeless, unless you set 'modal' to * TRUE to construct a modal dialog. */ -MyDialog1::MyDialog1( TQWidget* tqparent, const char* name, bool modal, WFlags fl ) - : TQDialog( tqparent, name, modal, fl ) +MyDialog1::MyDialog1( TQWidget* parent, const char* name, bool modal, WFlags fl ) + : TQDialog( parent, name, modal, fl ) { if ( !name ) setName( "MyDialog1" ); diff --git a/katapult/plugins/display/glassdisplay/glassdisplay.cpp b/katapult/plugins/display/glassdisplay/glassdisplay.cpp index 67d6858..0848a27 100644 --- a/katapult/plugins/display/glassdisplay/glassdisplay.cpp +++ b/katapult/plugins/display/glassdisplay/glassdisplay.cpp @@ -38,8 +38,8 @@ K_EXPORT_COMPONENT_FACTORY( katapult_glassdisplay, #define RIGHTMARGIN 8 #define BOTTOMMARGIN 8 -GlassDisplay::GlassDisplay(TQWidget *tqparent, const char *name, const TQStringList& list) - : ImageDisplay(TQT_TQOBJECT(tqparent), name, list) +GlassDisplay::GlassDisplay(TQWidget *parent, const char *name, const TQStringList& list) + : ImageDisplay(TQT_TQOBJECT(parent), name, list) { setSingleBG(new TQPixmap(qembed_findImage("singlebg"))); setDoubleBG(new TQPixmap(qembed_findImage("doublebg"))); diff --git a/katapult/plugins/display/o2display/o2display.cpp b/katapult/plugins/display/o2display/o2display.cpp index c2104d3..d041298 100644 --- a/katapult/plugins/display/o2display/o2display.cpp +++ b/katapult/plugins/display/o2display/o2display.cpp @@ -41,8 +41,8 @@ K_EXPORT_COMPONENT_FACTORY( katapult_o2display, #define RIGHTMARGIN 25 #define BOTTOMMARGIN 40 -o2Display::o2Display(TQWidget *tqparent, const char *name, const TQStringList& list) - : ImageDisplay(TQT_TQOBJECT(tqparent), name, list) +o2Display::o2Display(TQWidget *parent, const char *name, const TQStringList& list) + : ImageDisplay(TQT_TQOBJECT(parent), name, list) { setSingleBG(new TQPixmap(qembed_findImage("singlebg"))); setDoubleBG(new TQPixmap(qembed_findImage("doublebg"))); diff --git a/katapult/plugins/display/puredisplay/puredisplay.cpp b/katapult/plugins/display/puredisplay/puredisplay.cpp index 92dcaaa..02ca858 100644 --- a/katapult/plugins/display/puredisplay/puredisplay.cpp +++ b/katapult/plugins/display/puredisplay/puredisplay.cpp @@ -41,8 +41,8 @@ K_EXPORT_COMPONENT_FACTORY( katapult_puredisplay, #define RIGHTMARGIN 25 #define BOTTOMMARGIN 40 -PureDisplay::PureDisplay(TQWidget *tqparent, const char *name, const TQStringList& list) - : ImageDisplay(TQT_TQOBJECT(tqparent), name, list) +PureDisplay::PureDisplay(TQWidget *parent, const char *name, const TQStringList& list) + : ImageDisplay(TQT_TQOBJECT(parent), name, list) { setSingleBG(new TQPixmap(qembed_findImage("singlebg"))); setDoubleBG(new TQPixmap(qembed_findImage("doublebg"))); -- cgit v1.2.1