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 | c6b29717327388357badda064ef1ced71932406e (patch) | |
tree | 5d0dadae0d00c60e0773be4e8ee5a60a47615342 /src/ksvnwidgets | |
parent | 93f9fda465964160b66d9252d2cf9b4c284eab50 (diff) | |
download | tdesvn-c6b29717327388357badda064ef1ced71932406e.tar.gz tdesvn-c6b29717327388357badda064ef1ced71932406e.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/ksvnwidgets')
-rw-r--r-- | src/ksvnwidgets/authdialogimpl.cpp | 4 | ||||
-rw-r--r-- | src/ksvnwidgets/authdialogimpl.h | 2 | ||||
-rw-r--r-- | src/ksvnwidgets/depthselector.cpp | 4 | ||||
-rw-r--r-- | src/ksvnwidgets/depthselector.h | 2 | ||||
-rw-r--r-- | src/ksvnwidgets/diffbrowser.cpp | 12 | ||||
-rw-r--r-- | src/ksvnwidgets/diffbrowser.h | 2 | ||||
-rw-r--r-- | src/ksvnwidgets/encodingselector_impl.cpp | 4 | ||||
-rw-r--r-- | src/ksvnwidgets/encodingselector_impl.h | 2 | ||||
-rw-r--r-- | src/ksvnwidgets/logmsg_impl.cpp | 36 | ||||
-rw-r--r-- | src/ksvnwidgets/logmsg_impl.h | 16 | ||||
-rw-r--r-- | src/ksvnwidgets/revertform_impl.cpp | 6 | ||||
-rw-r--r-- | src/ksvnwidgets/revertform_impl.h | 2 | ||||
-rw-r--r-- | src/ksvnwidgets/ssltrustprompt_impl.cpp | 4 | ||||
-rw-r--r-- | src/ksvnwidgets/ssltrustprompt_impl.h | 2 |
14 files changed, 49 insertions, 49 deletions
diff --git a/src/ksvnwidgets/authdialogimpl.cpp b/src/ksvnwidgets/authdialogimpl.cpp index 07ed908..87db6b4 100644 --- a/src/ksvnwidgets/authdialogimpl.cpp +++ b/src/ksvnwidgets/authdialogimpl.cpp @@ -26,8 +26,8 @@ #include <tqcheckbox.h> #include <tqlabel.h> -AuthDialogImpl::AuthDialogImpl(const TQString & realm,const TQString&user,TQWidget *tqparent, const char *name) - :AuthDialogData(tqparent, name),curPass("") +AuthDialogImpl::AuthDialogImpl(const TQString & realm,const TQString&user,TQWidget *parent, const char *name) + :AuthDialogData(parent, name),curPass("") { m_UsernameEdit->setText(user); m_PasswordEdit->setText(""); diff --git a/src/ksvnwidgets/authdialogimpl.h b/src/ksvnwidgets/authdialogimpl.h index 7b8d03e..1fba3f2 100644 --- a/src/ksvnwidgets/authdialogimpl.h +++ b/src/ksvnwidgets/authdialogimpl.h @@ -27,7 +27,7 @@ class AuthDialogImpl: public AuthDialogData { Q_OBJECT TQ_OBJECT public: - AuthDialogImpl(const TQString & realm = "",const TQString&user="", TQWidget *tqparent = 0, const char *name = 0); + AuthDialogImpl(const TQString & realm = "",const TQString&user="", TQWidget *parent = 0, const char *name = 0); const TQString Username()const; const TQString Password(); diff --git a/src/ksvnwidgets/depthselector.cpp b/src/ksvnwidgets/depthselector.cpp index a732716..9b721a2 100644 --- a/src/ksvnwidgets/depthselector.cpp +++ b/src/ksvnwidgets/depthselector.cpp @@ -28,8 +28,8 @@ #include <tqcombobox.h> -DepthSelector::DepthSelector(TQWidget *tqparent, const char *name) - :DepthSettings(tqparent, name) +DepthSelector::DepthSelector(TQWidget *parent, const char *name) + :DepthSettings(parent, name) { if (svn::Version::version_major()>1|| svn::Version::version_minor()>4 ) { m_recurse = 0L; diff --git a/src/ksvnwidgets/depthselector.h b/src/ksvnwidgets/depthselector.h index f6b9e2b..2a78df9 100644 --- a/src/ksvnwidgets/depthselector.h +++ b/src/ksvnwidgets/depthselector.h @@ -30,7 +30,7 @@ class DepthSelector: public DepthSettings { Q_OBJECT TQ_OBJECT public: - DepthSelector(TQWidget *tqparent = 0, const char *name = 0); + DepthSelector(TQWidget *parent = 0, const char *name = 0); virtual ~DepthSelector(); svn::Depth getDepth()const; void addItemWidget(TQWidget*); diff --git a/src/ksvnwidgets/diffbrowser.cpp b/src/ksvnwidgets/diffbrowser.cpp index 08bf89f..3743243 100644 --- a/src/ksvnwidgets/diffbrowser.cpp +++ b/src/ksvnwidgets/diffbrowser.cpp @@ -36,10 +36,10 @@ #include <tqtextcodec.h> /*! - \fn DiffBrowser::DiffBrowser(TQWidget*tqparent=0,const char*name=0) + \fn DiffBrowser::DiffBrowser(TQWidget*parent=0,const char*name=0) */ -DiffBrowser::DiffBrowser(TQWidget*tqparent,const char*name) - : KTextBrowser( tqparent, name) +DiffBrowser::DiffBrowser(TQWidget*parent,const char*name) + : KTextBrowser( parent, name) { setTextFormat(TQt::PlainText); setFont(KGlobalSettings::fixedFont()); @@ -171,11 +171,11 @@ void DiffBrowser::doSearch(const TQString&to_find_string,bool case_sensitive,boo m_Data->pattern=to_find_string; break; } - TQWidget * _tqparent = m_Data->srchdialog->isVisible()?m_Data->srchdialog:parentWidget(); + TQWidget * _parent = m_Data->srchdialog->isVisible()?m_Data->srchdialog:parentWidget(); if (!m_Data->srchdialog->get_direction()) { // forward int query = KMessageBox::questionYesNo( - _tqparent, + _parent, i18n("End of document reached.\n"\ "Continue from the beginning?"), i18n("Find"),KStdGuiItem::cont(),i18n("Stop")); @@ -188,7 +188,7 @@ void DiffBrowser::doSearch(const TQString&to_find_string,bool case_sensitive,boo } } else { int query = KMessageBox::questionYesNo( - _tqparent, + _parent, i18n("Beginning of document reached.\n"\ "Continue from the end?"), i18n("Find"),KStdGuiItem::cont(),i18n("Stop")); diff --git a/src/ksvnwidgets/diffbrowser.h b/src/ksvnwidgets/diffbrowser.h index 4793afe..8f74b8b 100644 --- a/src/ksvnwidgets/diffbrowser.h +++ b/src/ksvnwidgets/diffbrowser.h @@ -33,7 +33,7 @@ class DiffBrowser : public KTextBrowser TQ_OBJECT public: - DiffBrowser(TQWidget*tqparent=0,const char*name=0); + DiffBrowser(TQWidget*parent=0,const char*name=0); virtual ~DiffBrowser(); public slots: diff --git a/src/ksvnwidgets/encodingselector_impl.cpp b/src/ksvnwidgets/encodingselector_impl.cpp index 77142f2..c34e15e 100644 --- a/src/ksvnwidgets/encodingselector_impl.cpp +++ b/src/ksvnwidgets/encodingselector_impl.cpp @@ -24,8 +24,8 @@ #include <tqcombobox.h> -EncodingSelector_impl::EncodingSelector_impl(const TQString&cur,TQWidget *tqparent, const char *name) - :EncodingSelector(tqparent, name) +EncodingSelector_impl::EncodingSelector_impl(const TQString&cur,TQWidget *parent, const char *name) + :EncodingSelector(parent, name) { m_encodingList->insertStringList( KGlobal::charsets()->availableEncodingNames()); diff --git a/src/ksvnwidgets/encodingselector_impl.h b/src/ksvnwidgets/encodingselector_impl.h index 7a6bf3e..6e7655a 100644 --- a/src/ksvnwidgets/encodingselector_impl.h +++ b/src/ksvnwidgets/encodingselector_impl.h @@ -28,7 +28,7 @@ class EncodingSelector_impl: public EncodingSelector { Q_OBJECT TQ_OBJECT public: - EncodingSelector_impl(const TQString&cur, TQWidget *tqparent = 0, const char *name = 0); + EncodingSelector_impl(const TQString&cur, TQWidget *parent = 0, const char *name = 0); virtual ~EncodingSelector_impl(){} protected slots: diff --git a/src/ksvnwidgets/logmsg_impl.cpp b/src/ksvnwidgets/logmsg_impl.cpp index fb053c6..7d1e837 100644 --- a/src/ksvnwidgets/logmsg_impl.cpp +++ b/src/ksvnwidgets/logmsg_impl.cpp @@ -64,8 +64,8 @@ public: virtual int compare( TQListViewItem* item, int col, bool ascending ) const; }; -Logmsg_impl::Logmsg_impl(TQWidget *tqparent, const char *name) - :LogmessageData(tqparent, name) +Logmsg_impl::Logmsg_impl(TQWidget *parent, const char *name) + :LogmessageData(parent, name) { m_LogEdit->setFocus(); m_Reviewlabel->hide(); @@ -81,8 +81,8 @@ Logmsg_impl::Logmsg_impl(TQWidget *tqparent, const char *name) m_DiffItem=0; } -Logmsg_impl::Logmsg_impl(const svn::CommitItemList&_items,TQWidget *tqparent, const char *name) - :LogmessageData(tqparent, name) +Logmsg_impl::Logmsg_impl(const svn::CommitItemList&_items,TQWidget *parent, const char *name) + :LogmessageData(parent, name) { m_LogEdit->setFocus(); m_ReviewList->setColumnText(1,i18n("Items to commit")); @@ -108,8 +108,8 @@ Logmsg_impl::Logmsg_impl(const svn::CommitItemList&_items,TQWidget *tqparent, co checkSplitterSize(); } -Logmsg_impl::Logmsg_impl(const TQMap<TQString,TQString>&_items,TQWidget *tqparent, const char *name) - :LogmessageData(tqparent, name) +Logmsg_impl::Logmsg_impl(const TQMap<TQString,TQString>&_items,TQWidget *parent, const char *name) + :LogmessageData(parent, name) { m_LogEdit->setFocus(); m_ReviewList->setColumnText(1,i18n("Items to commit")); @@ -134,8 +134,8 @@ Logmsg_impl::Logmsg_impl(const TQMap<TQString,TQString>&_items,TQWidget *tqparen Logmsg_impl::Logmsg_impl(const logActionEntries&_activatedList, const logActionEntries&_notActivatedList, - TQWidget *tqparent, const char *name) - :LogmessageData(tqparent, name) + TQWidget *parent, const char *name) + :LogmessageData(parent, name) { m_LogEdit->setFocus(); m_hidden=false; @@ -278,14 +278,14 @@ void Logmsg_impl::saveHistory(bool canceld) } } -TQString Logmsg_impl::getLogmessage(bool*ok,svn::Depth*rec,bool*keep_locks,TQWidget*tqparent,const char*name) +TQString Logmsg_impl::getLogmessage(bool*ok,svn::Depth*rec,bool*keep_locks,TQWidget*parent,const char*name) { bool _ok,_keep_locks; svn::Depth _depth = svn::DepthUnknown; TQString msg(""); Logmsg_impl*ptr=0; - KDialogBase dlg(tqparent,name,true,i18n("Commit log"), + KDialogBase dlg(parent,name,true,i18n("Commit log"), KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok,true); TQWidget* Dialog1Layout = dlg.makeVBoxMainWidget(); @@ -317,14 +317,14 @@ TQString Logmsg_impl::getLogmessage(bool*ok,svn::Depth*rec,bool*keep_locks,TQWid return msg; } -TQString Logmsg_impl::getLogmessage(const svn::CommitItemList&items,bool*ok,svn::Depth*rec,bool*keep_locks,TQWidget*tqparent,const char*name) +TQString Logmsg_impl::getLogmessage(const svn::CommitItemList&items,bool*ok,svn::Depth*rec,bool*keep_locks,TQWidget*parent,const char*name) { bool _ok,_keep_locks; svn::Depth _depth = svn::DepthUnknown; TQString msg(""); Logmsg_impl*ptr=0; - KDialogBase dlg(tqparent,name,true,i18n("Commit log"), + KDialogBase dlg(parent,name,true,i18n("Commit log"), KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok,true); TQWidget* Dialog1Layout = dlg.makeVBoxMainWidget(); @@ -359,14 +359,14 @@ TQString Logmsg_impl::getLogmessage(const svn::CommitItemList&items,bool*ok,svn: } TQString Logmsg_impl::getLogmessage(const TQMap<TQString,TQString>&items, - bool*ok,svn::Depth*rec,bool*keep_locks,TQWidget*tqparent,const char*name) + bool*ok,svn::Depth*rec,bool*keep_locks,TQWidget*parent,const char*name) { bool _ok,_rec,_keep_locks; svn::Depth _depth = svn::DepthUnknown; TQString msg(""); Logmsg_impl*ptr=0; - KDialogBase dlg(tqparent,name,true,i18n("Commit log"), + KDialogBase dlg(parent,name,true,i18n("Commit log"), KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok,true); TQWidget* Dialog1Layout = dlg.makeVBoxMainWidget(); @@ -404,13 +404,13 @@ TQString Logmsg_impl::getLogmessage(const logActionEntries&_on, const logActionEntries&_off, TQObject*callback, logActionEntries&_result, - bool*ok,bool*keep_locks,TQWidget*tqparent,const char*name) + bool*ok,bool*keep_locks,TQWidget*parent,const char*name) { bool _ok,_keep_locks; TQString msg(""); Logmsg_impl*ptr=0; - KDialogBase dlg(tqparent,name,true,i18n("Commit log"), + KDialogBase dlg(parent,name,true,i18n("Commit log"), KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok,true); TQWidget* Dialog1Layout = dlg.makeVBoxMainWidget(); @@ -484,8 +484,8 @@ Logmsg_impl::logActionEntry::logActionEntry() { } -SvnCheckListItem::SvnCheckListItem(TQListView*tqparent,const Logmsg_impl::logActionEntry&content) - :TQCheckListItem(tqparent,content._name,TQCheckListItem::CheckBox),m_Content(content) +SvnCheckListItem::SvnCheckListItem(TQListView*parent,const Logmsg_impl::logActionEntry&content) + :TQCheckListItem(parent,content._name,TQCheckListItem::CheckBox),m_Content(content) { setTristate(FALSE); setText(1,m_Content._actionDesc); diff --git a/src/ksvnwidgets/logmsg_impl.h b/src/ksvnwidgets/logmsg_impl.h index 30d11cd..ef92258 100644 --- a/src/ksvnwidgets/logmsg_impl.h +++ b/src/ksvnwidgets/logmsg_impl.h @@ -46,12 +46,12 @@ public: typedef TQValueList<logActionEntry> logActionEntries; - Logmsg_impl(TQWidget *tqparent = 0, const char *name = 0); - Logmsg_impl(const svn::CommitItemList&_items,TQWidget *tqparent=0, const char *name=0); - Logmsg_impl(const TQMap<TQString,TQString>&_items,TQWidget *tqparent=0, const char *name=0); + Logmsg_impl(TQWidget *parent = 0, const char *name = 0); + Logmsg_impl(const svn::CommitItemList&_items,TQWidget *parent=0, const char *name=0); + Logmsg_impl(const TQMap<TQString,TQString>&_items,TQWidget *parent=0, const char *name=0); Logmsg_impl(const logActionEntries&, const logActionEntries&, - TQWidget *tqparent = 0, const char *name = 0); + TQWidget *parent = 0, const char *name = 0); virtual ~Logmsg_impl(); TQString getMessage()const; @@ -59,15 +59,15 @@ public: void initHistory(); void saveHistory(bool canceld); - static TQString getLogmessage(bool*ok,svn::Depth*rec,bool*keeps_locks,TQWidget*tqparent=0,const char*name=0); - static TQString getLogmessage(const svn::CommitItemList&,bool*ok,svn::Depth*rec,bool*keep_locks,TQWidget*tqparent=0,const char*name=0); - static TQString getLogmessage(const TQMap<TQString,TQString>&,bool*ok,svn::Depth*rec,bool*keep_locks,TQWidget*tqparent=0,const char*name=0); + static TQString getLogmessage(bool*ok,svn::Depth*rec,bool*keeps_locks,TQWidget*parent=0,const char*name=0); + static TQString getLogmessage(const svn::CommitItemList&,bool*ok,svn::Depth*rec,bool*keep_locks,TQWidget*parent=0,const char*name=0); + static TQString getLogmessage(const TQMap<TQString,TQString>&,bool*ok,svn::Depth*rec,bool*keep_locks,TQWidget*parent=0,const char*name=0); static TQString getLogmessage(const logActionEntries&, const logActionEntries&, TQObject*callback, logActionEntries&, - bool*ok,bool*keep_locks,TQWidget*tqparent=0,const char*name=0); + bool*ok,bool*keep_locks,TQWidget*parent=0,const char*name=0); void addItemWidget(TQWidget*); diff --git a/src/ksvnwidgets/revertform_impl.cpp b/src/ksvnwidgets/revertform_impl.cpp index 19a8a18..91ad876 100644 --- a/src/ksvnwidgets/revertform_impl.cpp +++ b/src/ksvnwidgets/revertform_impl.cpp @@ -24,10 +24,10 @@ #include <tqlistbox.h> /*! - \fn RevertFormImpl::RevertFormImpl(TQWidget*tqparent,const char*name) + \fn RevertFormImpl::RevertFormImpl(TQWidget*parent,const char*name) */ - RevertFormImpl::RevertFormImpl(TQWidget*tqparent,const char*name) - :RevertForm(tqparent,name) + RevertFormImpl::RevertFormImpl(TQWidget*parent,const char*name) + :RevertForm(parent,name) { setMinimumSize(tqminimumSizeHint()); } diff --git a/src/ksvnwidgets/revertform_impl.h b/src/ksvnwidgets/revertform_impl.h index 52de65e..6e6eed0 100644 --- a/src/ksvnwidgets/revertform_impl.h +++ b/src/ksvnwidgets/revertform_impl.h @@ -30,7 +30,7 @@ class RevertFormImpl:public RevertForm Q_OBJECT TQ_OBJECT public: - RevertFormImpl(TQWidget*tqparent=0,const char*name=0); + RevertFormImpl(TQWidget*parent=0,const char*name=0); virtual ~RevertFormImpl(); svn::Depth getDepth()const; void setDispList(const TQStringList&_list); diff --git a/src/ksvnwidgets/ssltrustprompt_impl.cpp b/src/ksvnwidgets/ssltrustprompt_impl.cpp index 84b0d15..53b51c8 100644 --- a/src/ksvnwidgets/ssltrustprompt_impl.cpp +++ b/src/ksvnwidgets/ssltrustprompt_impl.cpp @@ -32,8 +32,8 @@ #include <kdialogbase.h> #include <ktextbrowser.h> -SslTrustPrompt_impl::SslTrustPrompt_impl(const TQString&host,TQWidget *tqparent, const char *name) - :SslTrustPrompt(tqparent, name) +SslTrustPrompt_impl::SslTrustPrompt_impl(const TQString&host,TQWidget *parent, const char *name) + :SslTrustPrompt(parent, name) { m_MainLabel->setText("<p align=\"center\"><b>"+ i18n("Error validating server certificate for '%1'").tqarg(host)+ diff --git a/src/ksvnwidgets/ssltrustprompt_impl.h b/src/ksvnwidgets/ssltrustprompt_impl.h index 5d4d492..4c6a5b1 100644 --- a/src/ksvnwidgets/ssltrustprompt_impl.h +++ b/src/ksvnwidgets/ssltrustprompt_impl.h @@ -26,7 +26,7 @@ class SslTrustPrompt_impl: public SslTrustPrompt { Q_OBJECT TQ_OBJECT public: - SslTrustPrompt_impl(const TQString&,TQWidget *tqparent = 0, const char *name = 0); + SslTrustPrompt_impl(const TQString&,TQWidget *parent = 0, const char *name = 0); static bool sslTrust(const TQString&host,const TQString&fingerprint,const TQString&validFrom,const TQString&validUntil,const TQString&issuerName,const TQString&realm,const TQStringList&reasons,bool*ok,bool*saveit); }; |