diff options
Diffstat (limited to 'kbabel/kbabel')
36 files changed, 63 insertions, 63 deletions
diff --git a/kbabel/kbabel/charselectview.cpp b/kbabel/kbabel/charselectview.cpp index f174c3ed..9a19e5ec 100644 --- a/kbabel/kbabel/charselectview.cpp +++ b/kbabel/kbabel/charselectview.cpp @@ -49,8 +49,8 @@ using namespace KBabel; -CharacterSelectorView::CharacterSelectorView(KBCatalog* catalog,TQWidget *tqparent, Project::Ptr project) - : KBCatalogView(catalog,tqparent,project) +CharacterSelectorView::CharacterSelectorView(KBCatalog* catalog,TQWidget *parent, Project::Ptr project) + : KBCatalogView(catalog,parent,project) { TQVBoxLayout* tqlayout = new TQVBoxLayout( this ); tqlayout->setResizeMode( TQLayout::Minimum ); diff --git a/kbabel/kbabel/charselectview.h b/kbabel/kbabel/charselectview.h index 4d0ee3a6..49113331 100644 --- a/kbabel/kbabel/charselectview.h +++ b/kbabel/kbabel/charselectview.h @@ -46,7 +46,7 @@ public: /** * Default constructor */ - CharacterSelectorView(KBCatalog* catalog,TQWidget *tqparent, KBabel::Project::Ptr project); + CharacterSelectorView(KBCatalog* catalog,TQWidget *parent, KBabel::Project::Ptr project); void saveSettings(KConfig* config); void restoreSettings(KConfig* config); diff --git a/kbabel/kbabel/commentview.cpp b/kbabel/kbabel/commentview.cpp index 324c4d32..44a049dc 100644 --- a/kbabel/kbabel/commentview.cpp +++ b/kbabel/kbabel/commentview.cpp @@ -62,8 +62,8 @@ using namespace KBabel; -CommentView::CommentView(KBCatalog* catalog,TQWidget *tqparent, Project::Ptr project) - : KBCatalogView(catalog,tqparent, project) +CommentView::CommentView(KBCatalog* catalog,TQWidget *parent, Project::Ptr project) + : KBCatalogView(catalog,parent, project) { setAcceptDrops(true); diff --git a/kbabel/kbabel/commentview.h b/kbabel/kbabel/commentview.h index f00d1241..0c38b37a 100644 --- a/kbabel/kbabel/commentview.h +++ b/kbabel/kbabel/commentview.h @@ -52,7 +52,7 @@ public: /** * Default constructor */ - CommentView(KBCatalog* catalog,TQWidget *tqparent, KBabel::Project::Ptr project); + CommentView(KBCatalog* catalog,TQWidget *parent, KBabel::Project::Ptr project); /** * this is called from the catalog when updating his views. diff --git a/kbabel/kbabel/contextview.cpp b/kbabel/kbabel/contextview.cpp index 94bbf000..11d8434a 100644 --- a/kbabel/kbabel/contextview.cpp +++ b/kbabel/kbabel/contextview.cpp @@ -47,8 +47,8 @@ using namespace KBabel; -ContextView::ContextView(KBCatalog* catalog,TQWidget *tqparent, Project::Ptr project) - : KBCatalogView(catalog,tqparent,project) +ContextView::ContextView(KBCatalog* catalog,TQWidget *parent, Project::Ptr project) + : KBCatalogView(catalog,parent,project) { TQVBoxLayout* tqlayout = new TQVBoxLayout( this ); tqlayout->setResizeMode( TQLayout::Minimum ); diff --git a/kbabel/kbabel/contextview.h b/kbabel/kbabel/contextview.h index 9f0b2405..8524faa9 100644 --- a/kbabel/kbabel/contextview.h +++ b/kbabel/kbabel/contextview.h @@ -45,7 +45,7 @@ public: /** * Default constructor */ - ContextView(KBCatalog* catalog,TQWidget *tqparent, KBabel::Project::Ptr project); + ContextView(KBCatalog* catalog,TQWidget *parent, KBabel::Project::Ptr project); public slots: virtual void updateView(); diff --git a/kbabel/kbabel/errorlistview.cpp b/kbabel/kbabel/errorlistview.cpp index 74deba91..719798d3 100644 --- a/kbabel/kbabel/errorlistview.cpp +++ b/kbabel/kbabel/errorlistview.cpp @@ -47,8 +47,8 @@ using namespace KBabel; -ErrorListView::ErrorListView(KBCatalog* catalog,TQWidget *tqparent, Project::Ptr project) - : KBCatalogView(catalog,tqparent,project) +ErrorListView::ErrorListView(KBCatalog* catalog,TQWidget *parent, Project::Ptr project) + : KBCatalogView(catalog,parent,project) { TQVBoxLayout* tqlayout = new TQVBoxLayout( this ); tqlayout->setResizeMode( TQLayout::Minimum ); diff --git a/kbabel/kbabel/errorlistview.h b/kbabel/kbabel/errorlistview.h index 022d94c1..9d812b04 100644 --- a/kbabel/kbabel/errorlistview.h +++ b/kbabel/kbabel/errorlistview.h @@ -44,7 +44,7 @@ public: /** * Default constructor */ - ErrorListView(KBCatalog* catalog,TQWidget *tqparent, KBabel::Project::Ptr project); + ErrorListView(KBCatalog* catalog,TQWidget *parent, KBabel::Project::Ptr project); public slots: virtual void updateView(); diff --git a/kbabel/kbabel/gotodialog.cpp b/kbabel/kbabel/gotodialog.cpp index 9bec7bf7..a6fca91e 100644 --- a/kbabel/kbabel/gotodialog.cpp +++ b/kbabel/kbabel/gotodialog.cpp @@ -37,8 +37,8 @@ #include "gotodialog.h" -GotoDialog::GotoDialog(int max,TQWidget* tqparent) - : KDialogBase(tqparent,0,true,i18n("Go to Entry"),Ok|Cancel) +GotoDialog::GotoDialog(int max,TQWidget* parent) + : KDialogBase(parent,0,true,i18n("Go to Entry"),Ok|Cancel) { TQGroupBox* box=new TQGroupBox(1,Qt::Horizontal,i18n("Go to Entry"),this); _spinBox= new KIntSpinBox(1,max,1,1,10,box); diff --git a/kbabel/kbabel/gotodialog.h b/kbabel/kbabel/gotodialog.h index afd9b250..b1022967 100644 --- a/kbabel/kbabel/gotodialog.h +++ b/kbabel/kbabel/gotodialog.h @@ -45,7 +45,7 @@ class KIntSpinBox; class GotoDialog : public KDialogBase { public: - GotoDialog(int max, TQWidget* tqparent); + GotoDialog(int max, TQWidget* parent); virtual ~GotoDialog(); /** reimplemented to select contents when shown*/ diff --git a/kbabel/kbabel/hidingmsgedit.cpp b/kbabel/kbabel/hidingmsgedit.cpp index d1458fb4..3d0b128a 100644 --- a/kbabel/kbabel/hidingmsgedit.cpp +++ b/kbabel/kbabel/hidingmsgedit.cpp @@ -41,8 +41,8 @@ using namespace KBabel; -HidingMsgEdit::HidingMsgEdit(uint numberOfPlurals, TQWidget* eventFilter, KSpell* spell, TQWidget *tqparent, const char *name ) : - TQWidgetStack(tqparent,name) +HidingMsgEdit::HidingMsgEdit(uint numberOfPlurals, TQWidget* eventFilter, KSpell* spell, TQWidget *parent, const char *name ) : + TQWidgetStack(parent,name) , _singleEdit(0) , _multipleEdit(0) , _eventFilter(eventFilter) diff --git a/kbabel/kbabel/hidingmsgedit.h b/kbabel/kbabel/hidingmsgedit.h index 65c65d40..9aed746d 100644 --- a/kbabel/kbabel/hidingmsgedit.h +++ b/kbabel/kbabel/hidingmsgedit.h @@ -53,7 +53,7 @@ class HidingMsgEdit : public TQWidgetStack { Q_OBJECT TQ_OBJECT public: - HidingMsgEdit(uint numberOfPlurals, TQWidget* eventFilter=0, KSpell* spell=0, TQWidget *tqparent=0, const char *name=0); + HidingMsgEdit(uint numberOfPlurals, TQWidget* eventFilter=0, KSpell* spell=0, TQWidget *parent=0, const char *name=0); ~HidingMsgEdit(); void setNumberOfPlurals(uint numberOfPlurals); diff --git a/kbabel/kbabel/kbabel.cpp b/kbabel/kbabel/kbabel.cpp index 64733fa1..f7607534 100644 --- a/kbabel/kbabel/kbabel.cpp +++ b/kbabel/kbabel/kbabel.cpp @@ -113,7 +113,7 @@ TQPtrList<KBabelPreferences> KBabelMW::prefDialogs; class MyKProgress: public KProgress { public: - MyKProgress( TQWidget *tqparent, const char *name ) : KProgress( tqparent, name ) + MyKProgress( TQWidget *parent, const char *name ) : KProgress( parent, name ) { tqsetSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Preferred ); } @@ -1614,10 +1614,10 @@ KBabelMW *KBabelMW::winForURL(const KURL& url, TQString project) KBabelView *v = KBabelView::viewForURL(url,project); if(v) { - TQObject *p = v->tqparent(); + TQObject *p = v->parent(); while(p && !p->inherits("KBabelMW")) { - p = p->tqparent(); + p = p->parent(); } if(p) @@ -1634,10 +1634,10 @@ KBabelMW *KBabelMW::emptyWin(TQString project) KBabelView *v = KBabelView::emptyView(project); if(v) { - TQObject *p = v->tqparent(); + TQObject *p = v->parent(); while(p && !p->inherits("KBabelMW")) { - p = p->tqparent(); + p = p->parent(); } if(p) diff --git a/kbabel/kbabel/kbabelsplash.cpp b/kbabel/kbabel/kbabelsplash.cpp index e5dcf563..785943d8 100644 --- a/kbabel/kbabel/kbabelsplash.cpp +++ b/kbabel/kbabel/kbabelsplash.cpp @@ -40,8 +40,8 @@ KBabelSplash* KBabelSplash::instance = 0; -KBabelSplash::KBabelSplash( TQWidget* tqparent, const char* name ) - : TQVBox( tqparent, name, WType_Dialog|WShowModal|WStyle_Customize|WStyle_NoBorder|WDestructiveClose ) +KBabelSplash::KBabelSplash( TQWidget* parent, const char* name ) + : TQVBox( parent, name, WType_Dialog|WShowModal|WStyle_Customize|WStyle_NoBorder|WDestructiveClose ) { setMargin( 0 ); setSpacing( 0 ); diff --git a/kbabel/kbabel/kbabelsplash.h b/kbabel/kbabel/kbabelsplash.h index 24f2865a..b799029f 100644 --- a/kbabel/kbabel/kbabelsplash.h +++ b/kbabel/kbabel/kbabelsplash.h @@ -44,7 +44,7 @@ Q_OBJECT TQ_OBJECT public: - KBabelSplash( TQWidget* tqparent = 0, const char* name = 0 ); + KBabelSplash( TQWidget* parent = 0, const char* name = 0 ); ~KBabelSplash() { instance = 0; } static KBabelSplash* instance; diff --git a/kbabel/kbabel/kbabelview.cpp b/kbabel/kbabel/kbabelview.cpp index 1f9aab72..8c5746b0 100644 --- a/kbabel/kbabel/kbabelview.cpp +++ b/kbabel/kbabel/kbabelview.cpp @@ -115,11 +115,11 @@ using namespace KBabel; TQPtrList<KBabelView> *KBabelView::viewList = 0; -KBabelView::KBabelView(KBCatalog* catalog,KBabelMW *tqparent, Project::Ptr project) - : TQWidget(tqparent) +KBabelView::KBabelView(KBCatalog* catalog,KBabelMW *parent, Project::Ptr project) + : TQWidget(parent) , _redirectedBackSearch (false) , _project (project) - , m_mainwindow (tqparent) + , m_mainwindow (parent) , m_sourceview (0) { if(!viewList) diff --git a/kbabel/kbabel/kbabelview.h b/kbabel/kbabel/kbabelview.h index a6b8e252..3398457d 100644 --- a/kbabel/kbabel/kbabelview.h +++ b/kbabel/kbabel/kbabelview.h @@ -99,7 +99,7 @@ public: * Default constructor * @param buildLeds flag, if status leds should be created in editor */ - KBabelView(KBCatalog* catalog,KBabelMW *tqparent, KBabel::Project::Ptr project); + KBabelView(KBCatalog* catalog,KBabelMW *parent, KBabel::Project::Ptr project); /** * Destructor diff --git a/kbabel/kbabel/kbbookmarkhandler.cpp b/kbabel/kbabel/kbbookmarkhandler.cpp index 3f9b70b8..d9f080cb 100644 --- a/kbabel/kbabel/kbbookmarkhandler.cpp +++ b/kbabel/kbabel/kbbookmarkhandler.cpp @@ -48,7 +48,7 @@ KBabelBookmark::KBabelBookmark(int msgindex, TQString msgtext) } // insert one '&' before every consecutive group of ampersands to keep the - // first of these from acting either as accelerator or tqmask in the menu + // first of these from acting either as accelerator or mask in the menu TQRegExp rx("&+"); int pos = msgtext.find(rx); while (pos >= 0) { diff --git a/kbabel/kbabel/kbcatalog.cpp b/kbabel/kbabel/kbcatalog.cpp index 933df9de..5f3fc9fb 100644 --- a/kbabel/kbabel/kbcatalog.cpp +++ b/kbabel/kbabel/kbcatalog.cpp @@ -35,8 +35,8 @@ #include "headereditor.h" -KBCatalog::KBCatalog(TQString configFile, TQObject* tqparent, const char* name) - : KBabel::Catalog(tqparent,name,configFile) +KBCatalog::KBCatalog(TQString configFile, TQObject* parent, const char* name) + : KBabel::Catalog(parent,name,configFile) { _headerEditor=0; } diff --git a/kbabel/kbabel/kbcatalog.h b/kbabel/kbabel/kbcatalog.h index 9911180b..02cc18c2 100644 --- a/kbabel/kbabel/kbcatalog.h +++ b/kbabel/kbabel/kbcatalog.h @@ -49,7 +49,7 @@ class KBCatalog : public KBabel::Catalog TQ_OBJECT public: - KBCatalog(TQString configFile = TQString() ,TQObject* tqparent=0, const char* name=0); + KBCatalog(TQString configFile = TQString() ,TQObject* parent=0, const char* name=0); virtual ~KBCatalog(); HeaderEditor* headerEditor(); diff --git a/kbabel/kbabel/kbcataloglistview.cpp b/kbabel/kbabel/kbcataloglistview.cpp index 25cff704..cd48f274 100644 --- a/kbabel/kbabel/kbcataloglistview.cpp +++ b/kbabel/kbabel/kbcataloglistview.cpp @@ -34,8 +34,8 @@ using namespace KBabel; -KBCatalogListView::KBCatalogListView(KBCatalog* catalog, TQWidget *tqparent, KBabel::Project::Ptr project) - : TQWidget(tqparent) +KBCatalogListView::KBCatalogListView(KBCatalog* catalog, TQWidget *parent, KBabel::Project::Ptr project) + : TQWidget(parent) { m_catalog= catalog; TQVBoxLayout* tqlayout=new TQVBoxLayout(this); diff --git a/kbabel/kbabel/kbcataloglistview.h b/kbabel/kbabel/kbcataloglistview.h index 53e7327a..2de5974e 100644 --- a/kbabel/kbabel/kbcataloglistview.h +++ b/kbabel/kbabel/kbcataloglistview.h @@ -52,7 +52,7 @@ class KBCatalogListView : public TQWidget, public KBabel::CatalogView Q_OBJECT TQ_OBJECT public: - KBCatalogListView(KBCatalog* catalog, TQWidget *tqparent, KBabel::Project::Ptr project); + KBCatalogListView(KBCatalog* catalog, TQWidget *parent, KBabel::Project::Ptr project); ~KBCatalogListView(); diff --git a/kbabel/kbabel/kbcataloglistviewitem.cpp b/kbabel/kbabel/kbcataloglistviewitem.cpp index 45be428e..dd14221c 100644 --- a/kbabel/kbabel/kbcataloglistviewitem.cpp +++ b/kbabel/kbabel/kbcataloglistviewitem.cpp @@ -23,8 +23,8 @@ #include "kbcataloglistviewitem.h" #include <assert.h> -KBCatalogListViewItem::KBCatalogListViewItem(KListView* lv, KListViewItem* tqparent, uint id, TQString msgid, TQString msgstr) - : Super(lv, tqparent, "","",""), m_id(id), m_msgid(msgid), m_msgstr(msgstr) +KBCatalogListViewItem::KBCatalogListViewItem(KListView* lv, KListViewItem* parent, uint id, TQString msgid, TQString msgstr) + : Super(lv, parent, "","",""), m_id(id), m_msgid(msgid), m_msgstr(msgstr) { setText(0,TQString::number(id)); } diff --git a/kbabel/kbabel/kbcataloglistviewitem.h b/kbabel/kbabel/kbcataloglistviewitem.h index 16353c70..4a24c159 100644 --- a/kbabel/kbabel/kbcataloglistviewitem.h +++ b/kbabel/kbabel/kbcataloglistviewitem.h @@ -34,7 +34,7 @@ class KBCatalogListViewItem : public KListViewItem { typedef KListViewItem Super; public: - KBCatalogListViewItem(KListView* lv, KListViewItem* tqparent, uint id, TQString msgid, TQString msgstr); + KBCatalogListViewItem(KListView* lv, KListViewItem* parent, uint id, TQString msgid, TQString msgstr); ~KBCatalogListViewItem(); diff --git a/kbabel/kbabel/kbcatalogview.cpp b/kbabel/kbabel/kbcatalogview.cpp index fc7898f7..af4dd3dd 100644 --- a/kbabel/kbabel/kbcatalogview.cpp +++ b/kbabel/kbabel/kbcatalogview.cpp @@ -36,8 +36,8 @@ using namespace KBabel; -KBCatalogView::KBCatalogView(KBCatalog* catalog, TQWidget* tqparent, Project::Ptr project) - : TQWidget (tqparent), KBabel::CatalogView () , _project (project) +KBCatalogView::KBCatalogView(KBCatalog* catalog, TQWidget* parent, Project::Ptr project) + : TQWidget (parent), KBabel::CatalogView () , _project (project) { if (catalog == 0) kdFatal(KBABEL) << "catalog==0" << endl; diff --git a/kbabel/kbabel/kbcatalogview.h b/kbabel/kbabel/kbcatalogview.h index 33cf8904..ca3caa87 100644 --- a/kbabel/kbabel/kbcatalogview.h +++ b/kbabel/kbabel/kbcatalogview.h @@ -48,7 +48,7 @@ public: /** * Default constructor */ - KBCatalogView(KBCatalog* catalog, TQWidget* tqparent, KBabel::Project::Ptr project); + KBCatalogView(KBCatalog* catalog, TQWidget* parent, KBabel::Project::Ptr project); /** * Destructor diff --git a/kbabel/kbabel/kbcharselect.cpp b/kbabel/kbabel/kbcharselect.cpp index b2719386..2b55d4f5 100644 --- a/kbabel/kbabel/kbcharselect.cpp +++ b/kbabel/kbabel/kbcharselect.cpp @@ -41,8 +41,8 @@ #include <tqspinbox.h> #include <tqscrollview.h> -KBCharSelect::KBCharSelect(TQWidget* tqparent,const char* name) - : TQVBox(tqparent,name) +KBCharSelect::KBCharSelect(TQWidget* parent,const char* name) + : TQVBox(parent,name) { setSpacing( KDialog::spacingHint() ); diff --git a/kbabel/kbabel/kbcharselect.h b/kbabel/kbabel/kbcharselect.h index a13071bf..c8248f9b 100644 --- a/kbabel/kbabel/kbcharselect.h +++ b/kbabel/kbabel/kbcharselect.h @@ -44,7 +44,7 @@ class KBCharSelect : public TQVBox Q_OBJECT TQ_OBJECT public: - KBCharSelect(TQWidget* tqparent, const char* name=0); + KBCharSelect(TQWidget* parent, const char* name=0); void saveSettings(KConfig* config); void restoreSettings(KConfig* config); diff --git a/kbabel/kbabel/mymultilineedit.cpp b/kbabel/kbabel/mymultilineedit.cpp index a3251a6b..af824fdd 100644 --- a/kbabel/kbabel/mymultilineedit.cpp +++ b/kbabel/kbabel/mymultilineedit.cpp @@ -62,8 +62,8 @@ using namespace KBabel; -MyMultiLineEdit::MyMultiLineEdit(int ID, TQWidget* tqparent,const char* name) - :KTextEdit(tqparent,name), emitUndo(true), +MyMultiLineEdit::MyMultiLineEdit(int ID, TQWidget* parent,const char* name) + :KTextEdit(parent,name), emitUndo(true), _firstChangedLine(0), _lastChangedLine(0), _lastParagraph(0), @@ -75,7 +75,7 @@ MyMultiLineEdit::MyMultiLineEdit(int ID, TQWidget* tqparent,const char* name) { setUndoRedoEnabled(false); // we handle this ourselves setWordWrap( WidgetWidth ); - viewport()->setAcceptDrops( false ); // we need our tqparent to get drops + viewport()->setAcceptDrops( false ); // we need our parent to get drops connect(this, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT( onSelectionChanged() ) ); } @@ -592,8 +592,8 @@ void MyMultiLineEdit::setOverwriteMode( bool b ) } /*******************************************************************************/ -MsgMultiLineEdit::MsgMultiLineEdit(int ID, KSpell* spell, TQWidget* tqparent,const char* name) - :MyMultiLineEdit(ID, tqparent,name), +MsgMultiLineEdit::MsgMultiLineEdit(int ID, KSpell* spell, TQWidget* parent,const char* name) + :MyMultiLineEdit(ID, parent,name), _quotes(false), _cleverEditing(false), _highlightBg(false), diff --git a/kbabel/kbabel/mymultilineedit.h b/kbabel/kbabel/mymultilineedit.h index bc0075d0..272878da 100644 --- a/kbabel/kbabel/mymultilineedit.h +++ b/kbabel/kbabel/mymultilineedit.h @@ -52,7 +52,7 @@ class MyMultiLineEdit : public KTextEdit Q_OBJECT TQ_OBJECT public: - MyMultiLineEdit(int ID,TQWidget* tqparent,const char* name=0); + MyMultiLineEdit(int ID,TQWidget* parent,const char* name=0); /** applies cmd to the displayed text, but does not emit @@ -130,7 +130,7 @@ protected: virtual TQPopupMenu *createPopupMenu(); virtual TQPopupMenu *createPopupMenu(const TQPoint &pos); - /* the tqparent handles this */ + /* the parent handles this */ virtual void wheelEvent(TQWheelEvent*); bool emitUndo; @@ -178,7 +178,7 @@ class MsgMultiLineEdit : public MyMultiLineEdit public: enum TextColor { NormalColor, ErrorColor }; - MsgMultiLineEdit(int ID, KSpell* spell=0, TQWidget* tqparent=0,const char* name=0); + MsgMultiLineEdit(int ID, KSpell* spell=0, TQWidget* parent=0,const char* name=0); virtual ~MsgMultiLineEdit(); /** is displaying surrounding quotes enabled? */ diff --git a/kbabel/kbabel/sourceview.cpp b/kbabel/kbabel/sourceview.cpp index bf61189f..33b0d27b 100644 --- a/kbabel/kbabel/sourceview.cpp +++ b/kbabel/kbabel/sourceview.cpp @@ -45,8 +45,8 @@ using namespace KBabel; -SourceView::SourceView(KBCatalog* catalog,TQWidget *tqparent, Project::Ptr project) - : KBCatalogView(catalog,tqparent,project) +SourceView::SourceView(KBCatalog* catalog,TQWidget *parent, Project::Ptr project) + : KBCatalogView(catalog,parent,project) { TQVBoxLayout* tqlayout = new TQVBoxLayout( this ); tqlayout->setResizeMode( TQLayout::Minimum ); diff --git a/kbabel/kbabel/sourceview.h b/kbabel/kbabel/sourceview.h index c17c49cc..20d5321f 100644 --- a/kbabel/kbabel/sourceview.h +++ b/kbabel/kbabel/sourceview.h @@ -45,7 +45,7 @@ public: /** * Default constructor */ - SourceView(KBCatalog* catalog,TQWidget *tqparent, KBabel::Project::Ptr project); + SourceView(KBCatalog* catalog,TQWidget *parent, KBabel::Project::Ptr project); public slots: virtual void updateView(); diff --git a/kbabel/kbabel/spelldlg.cpp b/kbabel/kbabel/spelldlg.cpp index fc53b6e0..fab8c606 100644 --- a/kbabel/kbabel/spelldlg.cpp +++ b/kbabel/kbabel/spelldlg.cpp @@ -40,8 +40,8 @@ #include <kglobal.h> #include <klocale.h> -SpellDlg::SpellDlg(bool haveMarkedText,TQWidget *tqparent,const char *name) - : KDialogBase(tqparent,name,true,i18n("Caption of dialog","Spelling") +SpellDlg::SpellDlg(bool haveMarkedText,TQWidget *parent,const char *name) + : KDialogBase(parent,name,true,i18n("Caption of dialog","Spelling") , Ok|Cancel) { setButtonOK(KGuiItem(i18n("&Spell Check"),"spellcheck")); diff --git a/kbabel/kbabel/spelldlg.h b/kbabel/kbabel/spelldlg.h index be182d7e..71ced638 100644 --- a/kbabel/kbabel/spelldlg.h +++ b/kbabel/kbabel/spelldlg.h @@ -44,7 +44,7 @@ class SpellDlg : public KDialogBase TQ_OBJECT public: - SpellDlg(bool haveMarkedText, TQWidget* tqparent, const char *name=0); + SpellDlg(bool haveMarkedText, TQWidget* parent, const char *name=0); ~SpellDlg(); bool all() const; diff --git a/kbabel/kbabel/taglistview.cpp b/kbabel/kbabel/taglistview.cpp index 51a37d49..62d4eba5 100644 --- a/kbabel/kbabel/taglistview.cpp +++ b/kbabel/kbabel/taglistview.cpp @@ -44,8 +44,8 @@ using namespace KBabel; -TagListView::TagListView(KBCatalog* catalog,TQWidget *tqparent, Project::Ptr project) - : KBCatalogView(catalog,tqparent,project) +TagListView::TagListView(KBCatalog* catalog,TQWidget *parent, Project::Ptr project) + : KBCatalogView(catalog,parent,project) { TQVBoxLayout* tqlayout = new TQVBoxLayout( this ); tqlayout->setResizeMode( TQLayout::Minimum ); diff --git a/kbabel/kbabel/taglistview.h b/kbabel/kbabel/taglistview.h index d2d21308..95de3dc7 100644 --- a/kbabel/kbabel/taglistview.h +++ b/kbabel/kbabel/taglistview.h @@ -45,7 +45,7 @@ public: /** * Default constructor */ - TagListView(KBCatalog* catalog,TQWidget *tqparent, KBabel::Project::Ptr project); + TagListView(KBCatalog* catalog,TQWidget *parent, KBabel::Project::Ptr project); public slots: virtual void updateView(); |