diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 2bc1d72869b62af05ae4feafd878203b526da8c5 (patch) | |
tree | 2676903bb600bd9646644856e354940471ad84e2 /kdict | |
parent | 937b2991d8e78166eea904c80ad04d34607017a4 (diff) | |
download | tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.tar.gz tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdict')
-rw-r--r-- | kdict/actions.cpp | 12 | ||||
-rw-r--r-- | kdict/actions.h | 6 | ||||
-rw-r--r-- | kdict/applet/kdictapplet.cpp | 8 | ||||
-rw-r--r-- | kdict/applet/kdictapplet.h | 2 | ||||
-rw-r--r-- | kdict/matchview.cpp | 8 | ||||
-rw-r--r-- | kdict/matchview.h | 2 | ||||
-rw-r--r-- | kdict/options.cpp | 8 | ||||
-rw-r--r-- | kdict/options.h | 4 | ||||
-rw-r--r-- | kdict/queryview.cpp | 4 | ||||
-rw-r--r-- | kdict/queryview.h | 2 | ||||
-rw-r--r-- | kdict/sets.cpp | 4 | ||||
-rw-r--r-- | kdict/sets.h | 2 | ||||
-rw-r--r-- | kdict/toplevel.cpp | 4 | ||||
-rw-r--r-- | kdict/toplevel.h | 2 |
14 files changed, 34 insertions, 34 deletions
diff --git a/kdict/actions.cpp b/kdict/actions.cpp index 0ae5c793..5f5480aa 100644 --- a/kdict/actions.cpp +++ b/kdict/actions.cpp @@ -24,9 +24,9 @@ #include <ktoolbar.h> -DictComboAction::DictComboAction( const TQString &text, TQObject *tqparent, const char *name, +DictComboAction::DictComboAction( const TQString &text, TQObject *parent, const char *name, bool editable, bool autoSized ) - : KAction( text, 0, tqparent, name ), m_editable(editable), m_autoSized(autoSized), m_compMode(KGlobalSettings::completionMode()) + : KAction( text, 0, parent, name ), m_editable(editable), m_autoSized(autoSized), m_compMode(KGlobalSettings::completionMode()) { } @@ -193,8 +193,8 @@ void DictComboAction::slotComboActivated(const TQString &s) //********************************************************************************* -DictLabelAction::DictLabelAction( const TQString &text, TQObject *tqparent, const char *name ) - : KAction( text, 0, tqparent, name ) +DictLabelAction::DictLabelAction( const TQString &text, TQObject *parent, const char *name ) + : KAction( text, 0, parent, name ) { } @@ -263,8 +263,8 @@ void DictLabelAction::setBuddy(TQWidget *buddy) DictButtonAction::DictButtonAction( const TQString& text, TQObject* receiver, - const char* slot, TQObject* tqparent, const char* name ) - : KAction( text, 0, receiver, slot, tqparent, name ) + const char* slot, TQObject* parent, const char* name ) + : KAction( text, 0, receiver, slot, parent, name ) { } diff --git a/kdict/actions.h b/kdict/actions.h index 3ce80182..acee05d4 100644 --- a/kdict/actions.h +++ b/kdict/actions.h @@ -34,7 +34,7 @@ class DictComboAction : public KAction TQ_OBJECT public: - DictComboAction( const TQString& text, TQObject* tqparent, + DictComboAction( const TQString& text, TQObject* parent, const char* name, bool editable, bool autoSized ); ~DictComboAction(); @@ -77,7 +77,7 @@ class DictLabelAction : public KAction TQ_OBJECT public: - DictLabelAction( const TQString &text, TQObject *tqparent = 0, const char *name = 0 ); + DictLabelAction( const TQString &text, TQObject *parent = 0, const char *name = 0 ); ~DictLabelAction(); virtual int plug( TQWidget *widget, int index = -1 ); @@ -98,7 +98,7 @@ class DictButtonAction : public KAction public: DictButtonAction( const TQString& text, TQObject* receiver, - const char* slot, TQObject* tqparent, const char* name ); + const char* slot, TQObject* parent, const char* name ); ~DictButtonAction(); virtual int plug( TQWidget *w, int index = -1 ); diff --git a/kdict/applet/kdictapplet.cpp b/kdict/applet/kdictapplet.cpp index 74ad2e0b..0179f0b8 100644 --- a/kdict/applet/kdictapplet.cpp +++ b/kdict/applet/kdictapplet.cpp @@ -74,16 +74,16 @@ void PopupBox::enablePopup() extern "C" { - KDE_EXPORT KPanelApplet* init(TQWidget *tqparent, const TQString& configFile) + KDE_EXPORT KPanelApplet* init(TQWidget *parent, const TQString& configFile) { KGlobal::locale()->insertCatalogue("kdictapplet"); - return new DictApplet(configFile, KPanelApplet::Stretch, 0, tqparent, "kdictapplet"); + return new DictApplet(configFile, KPanelApplet::Stretch, 0, parent, "kdictapplet"); } } -DictApplet::DictApplet(const TQString& configFile, Type type, int actions, TQWidget *tqparent, const char *name) - : KPanelApplet(configFile, type, actions, tqparent, name), waiting(0) +DictApplet::DictApplet(const TQString& configFile, Type type, int actions, TQWidget *parent, const char *name) + : KPanelApplet(configFile, type, actions, parent, name), waiting(0) { // first the widgets for a horizontal panel baseWidget = new TQWidget(this); diff --git a/kdict/applet/kdictapplet.h b/kdict/applet/kdictapplet.h index a79300af..39a18d07 100644 --- a/kdict/applet/kdictapplet.h +++ b/kdict/applet/kdictapplet.h @@ -63,7 +63,7 @@ class DictApplet : public KPanelApplet TQ_OBJECT public: - DictApplet(const TQString& configFile, Type t = Stretch, int actions = 0, TQWidget *tqparent = 0, const char *name = 0); + DictApplet(const TQString& configFile, Type t = Stretch, int actions = 0, TQWidget *parent = 0, const char *name = 0); virtual ~DictApplet(); int widthForHeight(int height) const; diff --git a/kdict/matchview.cpp b/kdict/matchview.cpp index 76e05c6f..e4dd030b 100644 --- a/kdict/matchview.cpp +++ b/kdict/matchview.cpp @@ -110,8 +110,8 @@ void MatchViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, //********* MatchView ****************************************** -MatchView::MatchView(TQWidget *tqparent, const char *name) - : TQWidget(tqparent,name),getOn(false),getAllOn(false) +MatchView::MatchView(TQWidget *parent, const char *name) + : TQWidget(parent,name),getOn(false),getAllOn(false) { setCaption(kapp->makeStdCaption(i18n("Match List"))); @@ -232,7 +232,7 @@ void MatchView::getOneItem(TQListViewItem *i) { TQStringList defines; - if ((!i->childCount())&&(i->tqparent())) + if ((!i->childCount())&&(i->parent())) defines.append(((MatchViewItem *)(i))->command); else { i = i->firstChild(); @@ -378,7 +378,7 @@ void MatchView::buildPopupMenu(TQListViewItem *i, const TQPoint &_point, int) { rightBtnMenu->clear(); - if ((i!=0L)&&(i->isExpandable()||i->tqparent())) { + if ((i!=0L)&&(i->isExpandable()||i->parent())) { popupCurrent = (MatchViewItem *)(i); rightBtnMenu->insertItem(i18n("&Get"),this,TQT_SLOT(popupGetCurrent())); if (!i->isExpandable()) { // toplevel item -> only "get" diff --git a/kdict/matchview.h b/kdict/matchview.h index 54c2dab5..5a459e34 100644 --- a/kdict/matchview.h +++ b/kdict/matchview.h @@ -52,7 +52,7 @@ class MatchView : public TQWidget public: - MatchView(TQWidget *tqparent=0,const char *name=0); + MatchView(TQWidget *parent=0,const char *name=0); ~MatchView(); void updateStrategyCombo(); diff --git a/kdict/options.cpp b/kdict/options.cpp index ab60e86c..de10606d 100644 --- a/kdict/options.cpp +++ b/kdict/options.cpp @@ -384,8 +384,8 @@ TQString GlobalData::encryptStr(const TQString& aStr) //********* OptionsDialog::DialogListBox ***************************** -OptionsDialog::DialogListBox::DialogListBox(bool alwaysIgnore, TQWidget * tqparent, const char * name) - : TQListBox(tqparent, name), a_lwaysIgnore(alwaysIgnore) +OptionsDialog::DialogListBox::DialogListBox(bool alwaysIgnore, TQWidget * parent, const char * name) + : TQListBox(parent, name), a_lwaysIgnore(alwaysIgnore) { } @@ -488,8 +488,8 @@ int OptionsDialog::FontListItem::width(const TQListBox *lb ) const //********* OptionsDialog ****************************************** -OptionsDialog::OptionsDialog(TQWidget *tqparent, const char *name) - : KDialogBase(IconList, i18n("Configure"), Help|Default|Ok|Apply|Cancel, Ok, tqparent, name, false, true) +OptionsDialog::OptionsDialog(TQWidget *parent, const char *name) + : KDialogBase(IconList, i18n("Configure"), Help|Default|Ok|Apply|Cancel, Ok, parent, name, false, true) { //******** Server ************************************ diff --git a/kdict/options.h b/kdict/options.h index 1209f565..a1b2745e 100644 --- a/kdict/options.h +++ b/kdict/options.h @@ -115,7 +115,7 @@ class OptionsDialog : public KDialogBase public: - OptionsDialog(TQWidget *tqparent=0, const char *name=0); + OptionsDialog(TQWidget *parent=0, const char *name=0); ~OptionsDialog(); //=================================================================================== @@ -124,7 +124,7 @@ public: public: // alwaysIgnore==false: enter is ignored when the widget isn't visible/out of focus - DialogListBox(bool alwaysIgnore=false, TQWidget * tqparent=0, const char * name=0); + DialogListBox(bool alwaysIgnore=false, TQWidget * parent=0, const char * name=0); ~DialogListBox(); protected: diff --git a/kdict/queryview.cpp b/kdict/queryview.cpp index 61411cd2..3b0cf9e3 100644 --- a/kdict/queryview.cpp +++ b/kdict/queryview.cpp @@ -40,8 +40,8 @@ TQString SaveHelper::lastPath; -SaveHelper::SaveHelper(const TQString &saveName, const TQString &filter, TQWidget *tqparent) - : p_arent(tqparent), s_aveName(saveName), f_ilter(filter), file(0), tmpFile(0) +SaveHelper::SaveHelper(const TQString &saveName, const TQString &filter, TQWidget *parent) + : p_arent(parent), s_aveName(saveName), f_ilter(filter), file(0), tmpFile(0) { } diff --git a/kdict/queryview.h b/kdict/queryview.h index f4c441f9..3c24fc17 100644 --- a/kdict/queryview.h +++ b/kdict/queryview.h @@ -38,7 +38,7 @@ class SaveHelper { public: - SaveHelper(const TQString &saveName, const TQString &filter, TQWidget *tqparent); + SaveHelper(const TQString &saveName, const TQString &filter, TQWidget *parent); ~SaveHelper(); // returns a file open for writing diff --git a/kdict/sets.cpp b/kdict/sets.cpp index e4fccd2b..fe3f2636 100644 --- a/kdict/sets.cpp +++ b/kdict/sets.cpp @@ -29,8 +29,8 @@ //********* DbSetsDialog ****************************************** -DbSetsDialog::DbSetsDialog(TQWidget *tqparent, const char *name) - : KDialogBase(Plain, i18n("Database Sets"),Close | Help, Close, tqparent, name, false, true) +DbSetsDialog::DbSetsDialog(TQWidget *parent, const char *name) + : KDialogBase(Plain, i18n("Database Sets"),Close | Help, Close, parent, name, false, true) { TQFrame* page=plainPage(); diff --git a/kdict/sets.h b/kdict/sets.h index 6e8397c6..b2d1a698 100644 --- a/kdict/sets.h +++ b/kdict/sets.h @@ -31,7 +31,7 @@ class DbSetsDialog : public KDialogBase public: - DbSetsDialog(TQWidget *tqparent=0, const char *name=0); + DbSetsDialog(TQWidget *parent=0, const char *name=0); signals: diff --git a/kdict/toplevel.cpp b/kdict/toplevel.cpp index 31cb4dfa..91070af8 100644 --- a/kdict/toplevel.cpp +++ b/kdict/toplevel.cpp @@ -50,8 +50,8 @@ DictInterface *interface; GlobalData *global; -TopLevel::TopLevel(TQWidget* tqparent, const char* name) - : DCOPObject("KDictIface"), KMainWindow(tqparent, name, WType_TopLevel), +TopLevel::TopLevel(TQWidget* parent, const char* name) + : DCOPObject("KDictIface"), KMainWindow(parent, name, WType_TopLevel), optDlg(0L), setsDlg(0L), stopRef(0) { kapp->dcopClient()->setDefaultObject(objId()); diff --git a/kdict/toplevel.h b/kdict/toplevel.h index 47295405..7362ed7f 100644 --- a/kdict/toplevel.h +++ b/kdict/toplevel.h @@ -44,7 +44,7 @@ class TopLevel : public KMainWindow, virtual public KDictIface public: - TopLevel(TQWidget* tqparent = 0, const char* name = 0); + TopLevel(TQWidget* parent = 0, const char* name = 0); ~TopLevel(); void normalStartup(); // called when started without commandline parameters |