rename the following methods:

tqparent parent
tqmask mask


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvkbd@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent fe49082b77
commit 15b10cc62d

@ -1,6 +1,6 @@
#include "DragWidget.h" #include "DragWidget.h"
DragWidget::DragWidget(TQWidget *tqparent, const char *name, WFlags f) : TQWidget(tqparent,name,f) DragWidget::DragWidget(TQWidget *parent, const char *name, WFlags f) : TQWidget(parent,name,f)
{ {
dragP=TQPoint(0,0); dragP=TQPoint(0,0);
drag=false; drag=false;

@ -9,7 +9,7 @@ class DragWidget : public TQWidget
Q_OBJECT Q_OBJECT
TQ_OBJECT TQ_OBJECT
public: public:
DragWidget(TQWidget *tqparent=0, const char *name="", WFlags f=0); DragWidget(TQWidget *parent=0, const char *name="", WFlags f=0);
virtual ~DragWidget(); virtual ~DragWidget();
private: private:

@ -46,7 +46,7 @@
bool shutting=false; bool shutting=false;
MainWidget::MainWidget ( KAboutData *about, bool tren, TQWidget *tqparent, const char * name, WFlags f ) : ResizableDragWidget ( tqparent,name,f ), stand_alone(tren) MainWidget::MainWidget ( KAboutData *about, bool tren, TQWidget *parent, const char * name, WFlags f ) : ResizableDragWidget ( parent,name,f ), stand_alone(tren)
{ {
@ -1803,7 +1803,7 @@ long MainWidget::keysym2ucs(KeySym keysym)
return -1; return -1;
} }
KbdTray::KbdTray(TQWidget *tqparent, const char *name) : KSystemTray(tqparent,name) KbdTray::KbdTray(TQWidget *parent, const char *name) : KSystemTray(parent,name)
{ {
} }

@ -43,7 +43,7 @@ class MainWidget : public ResizableDragWidget
Q_OBJECT Q_OBJECT
TQ_OBJECT TQ_OBJECT
public: public:
MainWidget(KAboutData *about=0, bool tren=false, TQWidget *tqparent=0,const char *name="", WFlags f=WStyle_Customize | TQt::WX11BypassWM |WStyle_NormalBorder); MainWidget(KAboutData *about=0, bool tren=false, TQWidget *parent=0,const char *name="", WFlags f=WStyle_Customize | TQt::WX11BypassWM |WStyle_NormalBorder);
void mappingNotify(XMappingEvent *e); void mappingNotify(XMappingEvent *e);
void finishInit(); void finishInit();
bool close ( bool alsoDelete ); bool close ( bool alsoDelete );
@ -158,7 +158,7 @@ class KbdTray : public KSystemTray
{ {
public: public:
KbdTray( TQWidget* tqparent = 0, const char* name = 0 ); KbdTray( TQWidget* parent = 0, const char* name = 0 );
protected: protected:
void mousePressEvent(TQMouseEvent *); void mousePressEvent(TQMouseEvent *);

@ -5,7 +5,7 @@
double VButton::pw=550.0; double VButton::pw=550.0;
double VButton::ph=235.0; double VButton::ph=235.0;
VButton::VButton(TQWidget *tqparent, const char *name): TQPushButton (tqparent,name) VButton::VButton(TQWidget *parent, const char *name): TQPushButton (parent,name)
{ {
//connect(this,TQT_SIGNAL(clicked()),this,TQT_SLOT(sendKey())); //connect(this,TQT_SIGNAL(clicked()),this,TQT_SLOT(sendKey()));

@ -9,7 +9,7 @@ class VButton : public TQPushButton
Q_OBJECT Q_OBJECT
TQ_OBJECT TQ_OBJECT
public: public:
VButton(TQWidget *tqparent=0, const char *name=0); VButton(TQWidget *parent=0, const char *name=0);
~VButton(); ~VButton();
void setKeyCode(unsigned int keycode); void setKeyCode(unsigned int keycode);
unsigned int getKeyCode(); unsigned int getKeyCode();

@ -19,8 +19,8 @@
***************************************************************************/ ***************************************************************************/
#include "numpadvbutton.h" #include "numpadvbutton.h"
NumpadVButton::NumpadVButton(TQWidget *tqparent, const char *name) NumpadVButton::NumpadVButton(TQWidget *parent, const char *name)
: VButton(tqparent, name) : VButton(parent, name)
{ {
} }

@ -30,7 +30,7 @@ class NumpadVButton : public VButton
Q_OBJECT Q_OBJECT
TQ_OBJECT TQ_OBJECT
public: public:
NumpadVButton(TQWidget *tqparent = 0, const char *name = 0); NumpadVButton(TQWidget *parent = 0, const char *name = 0);
~NumpadVButton(); ~NumpadVButton();
void numlockPressed(bool press); void numlockPressed(bool press);
void setKeyCode(unsigned int keycode, unsigned int n_keycode); void setKeyCode(unsigned int keycode, unsigned int n_keycode);

@ -22,8 +22,8 @@
#include "kmessagebox.h" #include "kmessagebox.h"
#include "tqpainter.h" #include "tqpainter.h"
ResizableDragWidget::ResizableDragWidget(TQWidget *tqparent, const char *name, WFlags f) ResizableDragWidget::ResizableDragWidget(TQWidget *parent, const char *name, WFlags f)
: DragWidget(tqparent,name,f) : DragWidget(parent,name,f)
{ {
rsz=false; rsz=false;

@ -30,7 +30,7 @@ class ResizableDragWidget : public DragWidget
Q_OBJECT Q_OBJECT
TQ_OBJECT TQ_OBJECT
public: public:
ResizableDragWidget(TQWidget *tqparent, const char *name, WFlags f); ResizableDragWidget(TQWidget *parent, const char *name, WFlags f);
~ResizableDragWidget(); ~ResizableDragWidget();
private: private:
bool rsz; bool rsz;

Loading…
Cancel
Save