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
v3.5.13-sru
tpearson 13 years ago
parent 61ca411b90
commit b57220eeb8

@ -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, globalAccel->insert("show_katapult", i18n("Show Launcher"), i18n("Shows the Katapult launcher"), ALT+Key_Space, ALT+Key_Space,
TQT_TQOBJECT(this), TQT_SLOT(showLauncher())); TQT_TQOBJECT(this), TQT_SLOT(showLauncher()));
globalAccel->readSettings(); globalAccel->readSettings();
globalAccel->updateConnections(); globalAccel->updateConnections();
actions = new KActionCollection(tqparent); actions = new KActionCollection(parent);
actionCollection()->clear(); actionCollection()->clear();
contextMenu()->clear(); contextMenu()->clear();

@ -20,14 +20,14 @@
#include <tqwhatsthis.h> #include <tqwhatsthis.h>
/* /*
* 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'. * name 'name' and widget flags set to 'f'.
* *
* The dialog will by default be modeless, unless you set 'modal' to * The dialog will by default be modeless, unless you set 'modal' to
* TRUE to construct a modal dialog. * TRUE to construct a modal dialog.
*/ */
MyDialog1::MyDialog1( TQWidget* tqparent, const char* name, bool modal, WFlags fl ) MyDialog1::MyDialog1( TQWidget* parent, const char* name, bool modal, WFlags fl )
: TQDialog( tqparent, name, modal, fl ) : TQDialog( parent, name, modal, fl )
{ {
if ( !name ) if ( !name )
setName( "MyDialog1" ); setName( "MyDialog1" );

@ -38,8 +38,8 @@ K_EXPORT_COMPONENT_FACTORY( katapult_glassdisplay,
#define RIGHTMARGIN 8 #define RIGHTMARGIN 8
#define BOTTOMMARGIN 8 #define BOTTOMMARGIN 8
GlassDisplay::GlassDisplay(TQWidget *tqparent, const char *name, const TQStringList& list) GlassDisplay::GlassDisplay(TQWidget *parent, const char *name, const TQStringList& list)
: ImageDisplay(TQT_TQOBJECT(tqparent), name, list) : ImageDisplay(TQT_TQOBJECT(parent), name, list)
{ {
setSingleBG(new TQPixmap(qembed_findImage("singlebg"))); setSingleBG(new TQPixmap(qembed_findImage("singlebg")));
setDoubleBG(new TQPixmap(qembed_findImage("doublebg"))); setDoubleBG(new TQPixmap(qembed_findImage("doublebg")));

@ -41,8 +41,8 @@ K_EXPORT_COMPONENT_FACTORY( katapult_o2display,
#define RIGHTMARGIN 25 #define RIGHTMARGIN 25
#define BOTTOMMARGIN 40 #define BOTTOMMARGIN 40
o2Display::o2Display(TQWidget *tqparent, const char *name, const TQStringList& list) o2Display::o2Display(TQWidget *parent, const char *name, const TQStringList& list)
: ImageDisplay(TQT_TQOBJECT(tqparent), name, list) : ImageDisplay(TQT_TQOBJECT(parent), name, list)
{ {
setSingleBG(new TQPixmap(qembed_findImage("singlebg"))); setSingleBG(new TQPixmap(qembed_findImage("singlebg")));
setDoubleBG(new TQPixmap(qembed_findImage("doublebg"))); setDoubleBG(new TQPixmap(qembed_findImage("doublebg")));

@ -41,8 +41,8 @@ K_EXPORT_COMPONENT_FACTORY( katapult_puredisplay,
#define RIGHTMARGIN 25 #define RIGHTMARGIN 25
#define BOTTOMMARGIN 40 #define BOTTOMMARGIN 40
PureDisplay::PureDisplay(TQWidget *tqparent, const char *name, const TQStringList& list) PureDisplay::PureDisplay(TQWidget *parent, const char *name, const TQStringList& list)
: ImageDisplay(TQT_TQOBJECT(tqparent), name, list) : ImageDisplay(TQT_TQOBJECT(parent), name, list)
{ {
setSingleBG(new TQPixmap(qembed_findImage("singlebg"))); setSingleBG(new TQPixmap(qembed_findImage("singlebg")));
setDoubleBG(new TQPixmap(qembed_findImage("doublebg"))); setDoubleBG(new TQPixmap(qembed_findImage("doublebg")));

Loading…
Cancel
Save