diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 4be907152dfb5461311d9db1d63120c28a0bad0a (patch) | |
tree | 6ee40d7c10190ef860a9be24d2938bef888bb262 | |
parent | 421a6fdcbe08c6297214e7397ab98e535148686f (diff) | |
download | tdesvn-4be907152dfb5461311d9db1d63120c28a0bad0a.tar.gz tdesvn-4be907152dfb5461311d9db1d63120c28a0bad0a.zip |
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
45 files changed, 86 insertions, 86 deletions
diff --git a/src/kdesvn_part.cpp b/src/kdesvn_part.cpp index 3ee7b36..0aae6db 100644 --- a/src/kdesvn_part.cpp +++ b/src/kdesvn_part.cpp @@ -59,21 +59,21 @@ TQString kdesvnPart::m_Extratext = ""; static const char description[] = I18N_NOOP("A Subversion Client for KDE (dynamic Part component)"); -kdesvnPart::kdesvnPart( TQWidget *tqparentWidget, const char *widgetName, +kdesvnPart::kdesvnPart( TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name , const TQStringList&) : KParts::ReadOnlyPart(tqparent, name) { - init(tqparentWidget,widgetName,false); + init(parentWidget,widgetName,false); } -kdesvnPart::kdesvnPart(TQWidget *tqparentWidget, const char *widgetName, +kdesvnPart::kdesvnPart(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name,bool ownapp, const TQStringList&) : KParts::ReadOnlyPart(tqparent, name) { - init(tqparentWidget,widgetName,ownapp); + init(parentWidget,widgetName,ownapp); } -void kdesvnPart::init( TQWidget *tqparentWidget, const char *widgetName,bool full) +void kdesvnPart::init( TQWidget *parentWidget, const char *widgetName,bool full) { m_aboutDlg = 0; KGlobal::locale()->insertCatalogue("kdesvn"); @@ -82,7 +82,7 @@ void kdesvnPart::init( TQWidget *tqparentWidget, const char *widgetName,bool ful m_browserExt = new KdesvnBrowserExtension( this ); // this should be your custom internal widget - m_view = new kdesvnView(actionCollection(),tqparentWidget,widgetName,full); + m_view = new kdesvnView(actionCollection(),parentWidget,widgetName,full); // notify the part that this is our internal widget setWidget(m_view); @@ -400,22 +400,22 @@ KInstance* cFactory::s_instance = 0L; KAboutData* cFactory::s_about = 0L; commandline_part* cFactory::s_cline = 0L; -KParts::Part* cFactory::createPartObject( TQWidget *tqparentWidget, const char *widgetName, +KParts::Part* cFactory::createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const char *classname, const TQStringList &args ) { Q_UNUSED(classname); // Create an instance of our Part - return new kdesvnPart( tqparentWidget, widgetName, tqparent, name, args ); + return new kdesvnPart( parentWidget, widgetName, tqparent, name, args ); } -KParts::Part* cFactory::createAppPart( TQWidget *tqparentWidget, const char *widgetName, +KParts::Part* cFactory::createAppPart( TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const char *classname, const TQStringList &args ) { Q_UNUSED(classname); // Create an instance of our Part - kdesvnPart* obj = new kdesvnPart( tqparentWidget, widgetName, tqparent, name, false, args); + kdesvnPart* obj = new kdesvnPart( parentWidget, widgetName, tqparent, name, false, args); emit objectCreated( obj ); return obj; } diff --git a/src/kdesvn_part.h b/src/kdesvn_part.h index c07c375..b8fb7a3 100644 --- a/src/kdesvn_part.h +++ b/src/kdesvn_part.h @@ -51,10 +51,10 @@ public: /** * Default constructor */ - kdesvnPart(TQWidget *tqparentWidget, const char *widgetName, + kdesvnPart(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const TQStringList&); - kdesvnPart(TQWidget *tqparentWidget, const char *widgetName, + kdesvnPart(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name,bool ownapp, const TQStringList&); /** @@ -82,7 +82,7 @@ protected: virtual void setupActions(); KAboutApplication* m_aboutDlg; - void init(TQWidget *tqparentWidget, const char *widgetName,bool full); + void init(TQWidget *parentWidget, const char *widgetName,bool full); protected slots: virtual void slotLogFollowNodes(bool); @@ -116,10 +116,10 @@ class KDESVN_EXPORT cFactory : public KParts::Factory public: cFactory():KParts::Factory(){} virtual ~cFactory(); - virtual KParts::Part* createPartObject( TQWidget *tqparentWidget, const char *widgetName, + virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const char *classname, const TQStringList &args ); - virtual KParts::Part* createAppPart( TQWidget *tqparentWidget, const char *widgetName, + virtual KParts::Part* createAppPart( TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const char *classname, const TQStringList &args ); virtual commandline_part*createCommandIf(TQObject*tqparent,const char*name, KCmdLineArgs *args); diff --git a/src/kdesvnd/kdesvnd_dcop.cpp b/src/kdesvnd/kdesvnd_dcop.cpp index 09afbec..090d318 100644 --- a/src/kdesvnd/kdesvnd_dcop.cpp +++ b/src/kdesvnd/kdesvnd_dcop.cpp @@ -127,14 +127,14 @@ TQStringList kdesvnd_dcop::getActionMenu (const KURL::List list) TQString base; - bool tqparentIsWc = false; + bool parentIsWc = false; bool itemIsWc = isWorkingCopy(list[0],base); bool itemIsRepository = false; TQString _par = list[0].directory(true,true); - tqparentIsWc = isWorkingCopy(_par,base); + parentIsWc = isWorkingCopy(_par,base); - if (!tqparentIsWc && !itemIsWc) { + if (!parentIsWc && !itemIsWc) { itemIsRepository = isRepository(list[0]); } @@ -151,7 +151,7 @@ TQStringList kdesvnd_dcop::getActionMenu (const KURL::List list) << "Commit"; } - if (!tqparentIsWc && !itemIsWc) { + if (!parentIsWc && !itemIsWc) { if (itemIsRepository) { result << "Log" << "Info"; diff --git a/src/kdesvnview.cpp b/src/kdesvnview.cpp index 4814b9a..87db570 100644 --- a/src/kdesvnview.cpp +++ b/src/kdesvnview.cpp @@ -361,7 +361,7 @@ void kdesvnView::slotLoaddump() } try { StopDlg sdlg(TQT_TQOBJECT(this),this,0,"Load Dump",i18n("Loading a dump into a repository.")); - _rep.loaddump(ptr->dumpFile(),_act,ptr->tqparentPath(),ptr->usePre(),ptr->usePost()); + _rep.loaddump(ptr->dumpFile(),_act,ptr->parentPath(),ptr->usePre(),ptr->usePost()); slotAppendLog(i18n("Loading dump finished.")); }catch (const svn::ClientException&e) { slotAppendLog(e.msg()); diff --git a/src/ksvnwidgets/authdlg.ui b/src/ksvnwidgets/authdlg.ui index a765d96..b3facca 100644 --- a/src/ksvnwidgets/authdlg.ui +++ b/src/ksvnwidgets/authdlg.ui @@ -187,7 +187,7 @@ <Q_SLOTS> <slot access="protected">slotHelp()</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>klineedit.h</includehint> <includehint>klineedit.h</includehint> diff --git a/src/ksvnwidgets/depthform.ui b/src/ksvnwidgets/depthform.ui index 859340c..bb738b1 100644 --- a/src/ksvnwidgets/depthform.ui +++ b/src/ksvnwidgets/depthform.ui @@ -89,5 +89,5 @@ Equivalent to the pre-1.5 default update behavior. </spacer> </hbox> </widget> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> </UI> diff --git a/src/ksvnwidgets/diffbrowser.cpp b/src/ksvnwidgets/diffbrowser.cpp index ddc2d5a..b52db10 100644 --- a/src/ksvnwidgets/diffbrowser.cpp +++ b/src/ksvnwidgets/diffbrowser.cpp @@ -171,7 +171,7 @@ 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:tqparentWidget(); + TQWidget * _tqparent = m_Data->srchdialog->isVisible()?m_Data->srchdialog:parentWidget(); if (!m_Data->srchdialog->get_direction()) { // forward int query = KMessageBox::questionYesNo( diff --git a/src/ksvnwidgets/encodingselector.ui b/src/ksvnwidgets/encodingselector.ui index 48d4ba2..cb5249a 100644 --- a/src/ksvnwidgets/encodingselector.ui +++ b/src/ksvnwidgets/encodingselector.ui @@ -87,5 +87,5 @@ <Q_SLOTS> <slot access="protected">itemActivated(int)</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> </UI> diff --git a/src/ksvnwidgets/logmessage.ui b/src/ksvnwidgets/logmessage.ui index 55a9e92..786a19e 100644 --- a/src/ksvnwidgets/logmessage.ui +++ b/src/ksvnwidgets/logmessage.ui @@ -335,7 +335,7 @@ <slot access="protected">hideNewItems(bool)</slot> <slot access="protected">insertFile()</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="2" margin="2"/> +<layoutdefaults spacing="2" margin="2"/> <includehints> <includehint>ktextedit.h</includehint> <includehint>kcombobox.h</includehint> diff --git a/src/ksvnwidgets/logmsg_impl.cpp b/src/ksvnwidgets/logmsg_impl.cpp index 0a10467..972512b 100644 --- a/src/ksvnwidgets/logmsg_impl.cpp +++ b/src/ksvnwidgets/logmsg_impl.cpp @@ -531,7 +531,7 @@ void Logmsg_impl::slotDiffSelected() { SvnCheckListItem *item = static_cast<SvnCheckListItem*>(it); TQString what = item->data()._name; - emit makeDiff(what,svn::Revision::BASE,what,svn::Revision::WORKING,tqparentWidget()); + emit makeDiff(what,svn::Revision::BASE,what,svn::Revision::WORKING,parentWidget()); } } diff --git a/src/ksvnwidgets/revertform.ui b/src/ksvnwidgets/revertform.ui index 223b326..bf99a45 100644 --- a/src/ksvnwidgets/revertform.ui +++ b/src/ksvnwidgets/revertform.ui @@ -82,7 +82,7 @@ <data format="PNG" length="1002">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b000003b149444154388dad945f4c5b551cc73fe7dc4b7b4bcba0762d45c43114323599ee6192609c51d883892ce083f1718b3ebb185f8dc91e972cf39d2d2a2f1af664b6f1e0fe3863a0718969700eb0c52142da0242a1bd6d696f7bcff101585203ceb8fd9ece39f99dcff9fe7edf939f88c562ec465f5f9fe609442c161362173c3e3eae7b7a7ac8e7f36432196cdbfe4f907c3e4f2291201e8fe338cec3737357e9e8e828aded1e229d650e1f2d51754b082110124c13a4dc5ea341eb9dc284c0558a853f3ce8cb0677ef500fde7d39d2596679e326597b8e9abb85d7a770ab16ab6983ec5a05b487a70e36f0f4e10afe408d6a558310980108478dba4a1e8233990c5d474b64ed39aa3a8fe5f3317fbf81dbd70bccfeb205947632fd74f6589c1c6ea2f70d03a58ba0c1f2c9bdc1b66de3b8256a6e11cbe7e3ee1d181b590124fe2693aeee08d223c82c3a2c24b7b874bec8f26288774f7bd054504aef0dde6e99c0eb83f9fb266323cb80a27fb0958141836044605a2ee5523393371cc646fee2da37195aa35d0c0c5b4859ac03d7e91712dcaac5adab3650a3ff9d08ef7dd8404bb48869e5d958b5b87dadc4c9a1464e9f0d0326df7ebd86bd2e310cb1bf62d384d59441f2d70a070e1c60e09489929b988681bdd9cc97170bcc4c65595f71f8e0e3301337fc24a7732467831875a47f289652b0be5e4151e6d07316c1b0c0340d8ab92023e76d66a6b2840e36d2fb7a13fee632475e6edc367ea98a90fb98b7dd6310ca0328a44761582e1bab41befabcc0ec940d28bc5e93b68e064cab84e1d9beaeb48934eac1f53b01c1b000fca496aa54b61a99fcde61662a4b4b4b23d1680be9d426173e4df3602a48ea411989a4fd590f52a8fd156b05ed9d350e3defe3cfdf4b4c7ce770ea7d3fb9f520afbe1620daeee5c26735d20b9b9cfb6811a754a439e4e5c5639a4caa1e5caf586bfc0197b78702005cb9b4cae4cd3267ce8638fe964bd72b393e39d74928d242617303a756a37f284447770dcdbffc6384a05a85de1306e9a52057c7527c7131c3c42d3f475eb2303c82d4fc3276d6811db37efeb148723082d9b08f79f97c1e5729109a9a28307cc622d2d6cdf52b2b24efe548dedb00142009862cfa879ee1a71f6cec928353511472fbf4389148b0b0e0c108081412458dfe21c9f11351e67e7358595468246d1d1e5e38a6e9e851bc39d84ab502a669331dafec0d8ec7e3e8cb06e1a881d727d1ae40180a434a8c9db129a54126ad48a7358c2b4c5352c8c374bcccdab2bb37d8719cba79fab8211f9df218e0582c261e95f8bfc04f1a1e8bc5c4dfe0a190172af6a9690000000049454e44ae426082</data> </image> </images> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>src/ksvnwidgets/depthselector.h</includehint> </includehints> diff --git a/src/ksvnwidgets/ssltrustprompt.ui b/src/ksvnwidgets/ssltrustprompt.ui index a753fb5..20add40 100644 --- a/src/ksvnwidgets/ssltrustprompt.ui +++ b/src/ksvnwidgets/ssltrustprompt.ui @@ -33,7 +33,7 @@ </widget> <customwidgets> </customwidgets> -<tqlayoutdefaults spacing="2" margin="2"/> +<layoutdefaults spacing="2" margin="2"/> <includehints> <includehint>ktextbrowser.h</includehint> </includehints> diff --git a/src/settings/cmdexecsettings.ui b/src/settings/cmdexecsettings.ui index d59454f..35de9db 100644 --- a/src/settings/cmdexecsettings.ui +++ b/src/settings/cmdexecsettings.ui @@ -146,7 +146,7 @@ <Q_SLOTS> <slot access="protected">showLogToggled(bool)</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>knuminput.h</includehint> <includehint>knuminput.h</includehint> diff --git a/src/settings/diffmergesettings.ui b/src/settings/diffmergesettings.ui index 948aaec..5594d40 100644 --- a/src/settings/diffmergesettings.ui +++ b/src/settings/diffmergesettings.ui @@ -242,7 +242,7 @@ When %1 and %2 is given, kdesvn let this display make the diff. For that it it m <Q_SLOTS> <slot access="protected">diffDispChanged(bool)</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>klineedit.h</includehint> <includehint>klineedit.h</includehint> diff --git a/src/settings/dispcolor_settings.ui b/src/settings/dispcolor_settings.ui index 05af5bd..a395cac 100644 --- a/src/settings/dispcolor_settings.ui +++ b/src/settings/dispcolor_settings.ui @@ -244,7 +244,7 @@ <Q_SLOTS> <slot access="protected">coloredStateToggled(bool)</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>kcolorbutton.h</includehint> <includehint>kcolorbutton.h</includehint> diff --git a/src/settings/display_settings.ui b/src/settings/display_settings.ui index 4977f53..b06c50b 100644 --- a/src/settings/display_settings.ui +++ b/src/settings/display_settings.ui @@ -234,7 +234,7 @@ When kde-default is wanted for opening on double click, enter &quot;default& <slot access="protected">diffDispChanged()</slot> <slot access="protected">dispFileInfotoggled(bool)</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>knuminput.h</includehint> <includehint>klineedit.h</includehint> diff --git a/src/settings/revisiontree_settings.ui b/src/settings/revisiontree_settings.ui index b2bb283..7373eea 100644 --- a/src/settings/revisiontree_settings.ui +++ b/src/settings/revisiontree_settings.ui @@ -236,7 +236,7 @@ <tabstop>m_Topbottom</tabstop> <tabstop>m_BottomTop</tabstop> </tabstops> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>kcolorbutton.h</includehint> <includehint>kcolorbutton.h</includehint> diff --git a/src/settings/subversion_settings.ui b/src/settings/subversion_settings.ui index 9c4b1e4..8e1a4e7 100644 --- a/src/settings/subversion_settings.ui +++ b/src/settings/subversion_settings.ui @@ -241,7 +241,7 @@ On networked repositories (eg., not opened via file:// protocol) this may get re </widget> <customwidgets> </customwidgets> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>knuminput.h</includehint> <includehint>knuminput.h</includehint> diff --git a/src/svnfrontend/blamedisplay.ui b/src/svnfrontend/blamedisplay.ui index 35de495..4258867 100644 --- a/src/svnfrontend/blamedisplay.ui +++ b/src/svnfrontend/blamedisplay.ui @@ -101,7 +101,7 @@ <slot access="protected">slotContextMenuRequested(KListView*,TQListViewItem*, const QPoint&)</slot> <slot access="protected">slotItemDoubleClicked(TQListViewItem*)</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>klistview.h</includehint> </includehints> diff --git a/src/svnfrontend/copymoveview.ui b/src/svnfrontend/copymoveview.ui index e51585d..3c29ac2 100644 --- a/src/svnfrontend/copymoveview.ui +++ b/src/svnfrontend/copymoveview.ui @@ -93,7 +93,7 @@ </widget> <customwidgets> </customwidgets> -<tqlayoutdefaults spacing="2" margin="2"/> +<layoutdefaults spacing="2" margin="2"/> <includehints> <includehint>ksqueezedtextlabel.h</includehint> <includehint>ksqueezedtextlabel.h</includehint> diff --git a/src/svnfrontend/createrepo_dlg.ui b/src/svnfrontend/createrepo_dlg.ui index 3f93919..552ba72 100644 --- a/src/svnfrontend/createrepo_dlg.ui +++ b/src/svnfrontend/createrepo_dlg.ui @@ -197,7 +197,7 @@ <slot access="protected">compatChanged13(bool)</slot> <slot access="protected">compatChanged14(bool)</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>kcombobox.h</includehint> <includehint>kurlrequester.h</includehint> diff --git a/src/svnfrontend/dumprepo_dlg.ui b/src/svnfrontend/dumprepo_dlg.ui index f1cabe5..e060c20 100644 --- a/src/svnfrontend/dumprepo_dlg.ui +++ b/src/svnfrontend/dumprepo_dlg.ui @@ -184,7 +184,7 @@ <Q_SLOTS> <slot access="protected">slotDumpRange(bool)</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>kurlrequester.h</includehint> <includehint>klineedit.h</includehint> diff --git a/src/svnfrontend/editpropsdlg.ui b/src/svnfrontend/editpropsdlg.ui index e992f24..c0bab16 100644 --- a/src/svnfrontend/editpropsdlg.ui +++ b/src/svnfrontend/editpropsdlg.ui @@ -235,7 +235,7 @@ <slot access="protected">valueChanged()</slot> <slot access="protected">showHelp()</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>kcombobox.h</includehint> <includehint>klineedit.h</includehint> diff --git a/src/svnfrontend/filelistviewitem.cpp b/src/svnfrontend/filelistviewitem.cpp index bb5d4d5..84754ca 100644 --- a/src/svnfrontend/filelistviewitem.cpp +++ b/src/svnfrontend/filelistviewitem.cpp @@ -55,8 +55,8 @@ FileListViewItem::FileListViewItem(kdesvnfilelist*_tqparent,const svn::StatusPtr init(); } -FileListViewItem::FileListViewItem(kdesvnfilelist*_tqparent,FileListViewItem*_tqparentItem,const svn::StatusPtr&_stat) - : KListViewItem(_tqparentItem),SvnItem(_stat), +FileListViewItem::FileListViewItem(kdesvnfilelist*_tqparent,FileListViewItem*_parentItem,const svn::StatusPtr&_stat) + : KListViewItem(_parentItem),SvnItem(_stat), sortChar(0), m_Ksvnfilelist(_tqparent) { diff --git a/src/svnfrontend/fronthelpers/checkoutinfo.ui b/src/svnfrontend/fronthelpers/checkoutinfo.ui index 8f492cf..9334675 100644 --- a/src/svnfrontend/fronthelpers/checkoutinfo.ui +++ b/src/svnfrontend/fronthelpers/checkoutinfo.ui @@ -209,7 +209,7 @@ <Q_SLOTS> <slot access="protected">urlChanged(const QString&)</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="2" margin="2"/> +<layoutdefaults spacing="2" margin="2"/> <includehints> <includehint>kurlrequester.h</includehint> <includehint>klineedit.h</includehint> diff --git a/src/svnfrontend/fronthelpers/rangeinput.ui b/src/svnfrontend/fronthelpers/rangeinput.ui index 8b6eff6..0b5e4bb 100644 --- a/src/svnfrontend/fronthelpers/rangeinput.ui +++ b/src/svnfrontend/fronthelpers/rangeinput.ui @@ -269,7 +269,7 @@ <slot access="protected">startDateToggled(bool)</slot> <slot access="protected">stopDateToggled(bool)</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="2" margin="2"/> +<layoutdefaults spacing="2" margin="2"/> <includehints> <includehint>knuminput.h</includehint> <includehint>knuminput.h</includehint> diff --git a/src/svnfrontend/fronthelpers/revisionbutton.ui b/src/svnfrontend/fronthelpers/revisionbutton.ui index c39c2bc..1ac2d25 100644 --- a/src/svnfrontend/fronthelpers/revisionbutton.ui +++ b/src/svnfrontend/fronthelpers/revisionbutton.ui @@ -48,7 +48,7 @@ <Q_SLOTS> <slot>askRevision()</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>kpushbutton.h</includehint> </includehints> diff --git a/src/svnfrontend/graphtree/revgraphview.cpp b/src/svnfrontend/graphtree/revgraphview.cpp index afb9d3a..8d2c126 100644 --- a/src/svnfrontend/graphtree/revgraphview.cpp +++ b/src/svnfrontend/graphtree/revgraphview.cpp @@ -58,8 +58,8 @@ protected: void GraphViewTip::maybeTip( const TQPoint & pos) { - if (!tqparentWidget()->inherits( "RevGraphView" )) return; - RevGraphView* cgv = (RevGraphView*)tqparentWidget(); + if (!parentWidget()->inherits( "RevGraphView" )) return; + RevGraphView* cgv = (RevGraphView*)parentWidget(); TQPoint cPos = cgv->viewportToContents(pos); TQCanvasItemList l = cgv->canvas()->collisions(cPos); if (l.count() == 0) return; @@ -326,7 +326,7 @@ void RevGraphView::dotExit(KProcess*p) } } if (!m_Canvas) { - TQString s = i18n("Error running the graph tqlayouting tool.\n"); + TQString s = i18n("Error running the graph layouting tool.\n"); s += i18n("Please check that 'dot' is installed (package GraphViz)."); showText(s); } else { diff --git a/src/svnfrontend/hotcopydlg.ui b/src/svnfrontend/hotcopydlg.ui index 59cd5e4..a226642 100644 --- a/src/svnfrontend/hotcopydlg.ui +++ b/src/svnfrontend/hotcopydlg.ui @@ -82,7 +82,7 @@ </widget> <customwidgets> </customwidgets> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>kurlrequester.h</includehint> <includehint>klineedit.h</includehint> diff --git a/src/svnfrontend/kdesvnfilelist.cpp b/src/svnfrontend/kdesvnfilelist.cpp index 4926baf..18a3fd6 100644 --- a/src/svnfrontend/kdesvnfilelist.cpp +++ b/src/svnfrontend/kdesvnfilelist.cpp @@ -2280,17 +2280,17 @@ void kdesvnfilelist::slotDiffPathes() void kdesvnfilelist::slotMkdir() { SvnItem*k = singleSelected(); - TQString tqparentDir; + TQString parentDir; if (k) { if (!k->isDir()) { KMessageBox::sorry(0,i18n("May not make subdirs of a file")); return; } - tqparentDir=k->fullName(); + parentDir=k->fullName(); } else { - tqparentDir=baseUri(); + parentDir=baseUri(); } - TQString ex = m_SvnWrapper->makeMkdir(tqparentDir); + TQString ex = m_SvnWrapper->makeMkdir(parentDir); if (!ex.isEmpty()) { slotDirAdded(ex,static_cast<FileListViewItem*>(k)); } @@ -2302,11 +2302,11 @@ void kdesvnfilelist::slotMkBaseDirs() if (!isopen) { return; } - TQString tqparentDir=baseUri(); + TQString parentDir=baseUri(); TQStringList targets; - targets.append(tqparentDir+"/trunk"); - targets.append(tqparentDir+"/branches"); - targets.append(tqparentDir+"/tags"); + targets.append(parentDir+"/trunk"); + targets.append(parentDir+"/branches"); + targets.append(parentDir+"/tags"); TQString msg = i18n("Automatic generated base tqlayout by kdesvn"); isopen = m_SvnWrapper->makeMkdir(targets,msg); if (isopen) { diff --git a/src/svnfrontend/loaddmpdlg.ui b/src/svnfrontend/loaddmpdlg.ui index 76c211d..0c4070c 100644 --- a/src/svnfrontend/loaddmpdlg.ui +++ b/src/svnfrontend/loaddmpdlg.ui @@ -170,7 +170,7 @@ </widget> <customwidgets> </customwidgets> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>kurlrequester.h</includehint> <includehint>klineedit.h</includehint> diff --git a/src/svnfrontend/loaddmpdlg_impl.cpp b/src/svnfrontend/loaddmpdlg_impl.cpp index 48565b4..bf53aa6 100644 --- a/src/svnfrontend/loaddmpdlg_impl.cpp +++ b/src/svnfrontend/loaddmpdlg_impl.cpp @@ -92,9 +92,9 @@ TQString LoadDmpDlg_impl::repository()const /*! - \fn LoadDmpDlg_impl::tqparentPath()const + \fn LoadDmpDlg_impl::parentPath()const */ -TQString LoadDmpDlg_impl::tqparentPath()const +TQString LoadDmpDlg_impl::parentPath()const { TQString res = m_Rootfolder->text(); while (res.endsWith("/")) { diff --git a/src/svnfrontend/loaddmpdlg_impl.h b/src/svnfrontend/loaddmpdlg_impl.h index 2fa61ad..42baf6f 100644 --- a/src/svnfrontend/loaddmpdlg_impl.h +++ b/src/svnfrontend/loaddmpdlg_impl.h @@ -33,7 +33,7 @@ public: int uuidAction()const; TQString dumpFile()const; TQString repository()const; - TQString tqparentPath()const; + TQString parentPath()const; public slots: }; diff --git a/src/svnfrontend/merge_dlg.ui b/src/svnfrontend/merge_dlg.ui index 432914c..82aea40 100644 --- a/src/svnfrontend/merge_dlg.ui +++ b/src/svnfrontend/merge_dlg.ui @@ -197,7 +197,7 @@ <Q_SLOTS> <slot access="protected">externDisplayToggled(bool)</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="2" margin="2"/> +<layoutdefaults spacing="2" margin="2"/> <includehints> <includehint>kurlrequester.h</includehint> <includehint>klineedit.h</includehint> diff --git a/src/svnfrontend/stopdlg.cpp b/src/svnfrontend/stopdlg.cpp index 6030b17..d2ef8f7 100644 --- a/src/svnfrontend/stopdlg.cpp +++ b/src/svnfrontend/stopdlg.cpp @@ -103,7 +103,7 @@ void StopDlg::slotAutoShow() { bool hasDialogs = false; TQWidget * w = TQT_TQWIDGET(kapp->activeModalWidget()); - if (w && w!=this && w!=tqparentWidget() ) { + if (w && w!=this && w!=parentWidget() ) { hasDialogs = true; } if (hasDialogs) { diff --git a/src/svnfrontend/svnactions.cpp b/src/svnfrontend/svnactions.cpp index 390f480..d49f5a6 100644 --- a/src/svnfrontend/svnactions.cpp +++ b/src/svnfrontend/svnactions.cpp @@ -627,7 +627,7 @@ bool SvnActions::makeMkdir(const TQStringList&which,const TQString&logMessage) return true; } -TQString SvnActions::makeMkdir(const TQString&tqparentDir) +TQString SvnActions::makeMkdir(const TQString&parentDir) { if (!m_Data->m_CurrentContext) return TQString(); TQString ex; @@ -636,7 +636,7 @@ TQString SvnActions::makeMkdir(const TQString&tqparentDir) if (!isOk) { return TQString(); } - svn::Path target(tqparentDir); + svn::Path target(parentDir); target.addComponent(ex); ex = ""; @@ -858,7 +858,7 @@ void SvnActions::makeInfo(const TQStringList&lst,const svn::Revision&rev,const s */ void SvnActions::slotProperties() { - /// @todo remove reference to tqparentlist + /// @todo remove reference to parentlist if (!m_Data->m_CurrentContext) return; if (!m_Data->m_ParentList) return; SvnItem*k = m_Data->m_ParentList->Selected(); @@ -2658,11 +2658,11 @@ void SvnActions::clearUpdateCache() bool SvnActions::makeIgnoreEntry(SvnItem*which,bool unignore) { if (!which) return false; - TQString tqparentName = which->getParentDir(); - if (tqparentName.isEmpty()) return false; + TQString parentName = which->getParentDir(); + if (parentName.isEmpty()) return false; TQString name = which->shortName(); TQString ex; - svn::Path p(tqparentName); + svn::Path p(parentName); svn::Revision r(svn_opt_revision_unspecified); TQPair<TQLONG,svn::PathPropertiesMapList> pmp; diff --git a/src/svnfrontend/svnlogdlg.ui b/src/svnfrontend/svnlogdlg.ui index e775272..aba7c14 100644 --- a/src/svnfrontend/svnlogdlg.ui +++ b/src/svnfrontend/svnlogdlg.ui @@ -462,7 +462,7 @@ <slot access="protected">slotRevisionSelected()</slot> <slot access="protected">slotGetLogs()</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="2" margin="2"/> +<layoutdefaults spacing="2" margin="2"/> <includehints> <includehint>kpushbutton.h</includehint> <includehint>revisionbuttonimpl.h</includehint> diff --git a/src/svnfrontend/svnlogdlgimp.cpp b/src/svnfrontend/svnlogdlgimp.cpp index 6bc1a23..3dbfd35 100644 --- a/src/svnfrontend/svnlogdlgimp.cpp +++ b/src/svnfrontend/svnlogdlgimp.cpp @@ -440,7 +440,7 @@ void SvnLogDlgImp::slotDispPrevious() */ void SvnLogDlgImp::saveSize() { - int scnum = TQApplication::desktop()->screenNumber(tqparentWidget()); + int scnum = TQApplication::desktop()->screenNumber(parentWidget()); TQRect desk = TQApplication::desktop()->screenGeometry(scnum); KConfigGroupSaver cs(Kdesvnsettings::self()->config(), groupName); TQSize sizeToSave = size(); @@ -453,7 +453,7 @@ void SvnLogDlgImp::saveSize() TQSize SvnLogDlgImp::dialogSize() { int w, h; - int scnum = TQApplication::desktop()->screenNumber(tqparentWidget()); + int scnum = TQApplication::desktop()->screenNumber(parentWidget()); TQRect desk = TQApplication::desktop()->screenGeometry(scnum); w = tqsizeHint().width(); h = tqsizeHint().height(); diff --git a/src/svnqt/client.hpp b/src/svnqt/client.hpp index 93dcff6..95b7461 100644 --- a/src/svnqt/client.hpp +++ b/src/svnqt/client.hpp @@ -218,11 +218,11 @@ namespace svn * @param depth if @a path is a folder add items recursive depending on value if it. * @param force if true, do not error on already-versioned items. * @param no_ignore if false don't add files or directories that match ignore patterns. When build against svn 1.2 always false - * @param add_tqparents if true, go up to the next versioned folder and add all between path and this folder. + * @param add_parents if true, go up to the next versioned folder and add all between path and this folder. * @exception ClientException */ virtual void - add (const Path & path, svn::Depth depth,bool force=false, bool no_ignore=false, bool add_tqparents = true) throw (ClientException)=0; + add (const Path & path, svn::Depth depth,bool force=false, bool no_ignore=false, bool add_parents = true) throw (ClientException)=0; /** * Updates the file or directory. diff --git a/src/svnqt/client_impl.hpp b/src/svnqt/client_impl.hpp index 9afc062..bd6a599 100644 --- a/src/svnqt/client_impl.hpp +++ b/src/svnqt/client_impl.hpp @@ -189,11 +189,11 @@ namespace svn * @param depth if @a path is a folder add items recursive depending on value if it. Pre-subversion 1.5 DepthInfinity is mapped to recursive, all other to not-recursive. * @param force if true, do not error on already-versioned items. * @param no_ignore if false don't add files or directories that match ignore patterns. - * @param add_tqparents if true, go up to the next versioned folder and add all between path and this folder. Used only with subversion 1.5 or newer + * @param add_parents if true, go up to the next versioned folder and add all between path and this folder. Used only with subversion 1.5 or newer * @exception ClientException * @sa svn::Depth */ - virtual void add (const Path & path, svn::Depth depth,bool force=false, bool no_ignore=false, bool add_tqparents = true) throw (ClientException); + virtual void add (const Path & path, svn::Depth depth,bool force=false, bool no_ignore=false, bool add_parents = true) throw (ClientException); /** * Updates the file or directory. diff --git a/src/svnqt/client_modify.cpp b/src/svnqt/client_modify.cpp index c3b7c19..cd250ee 100644 --- a/src/svnqt/client_modify.cpp +++ b/src/svnqt/client_modify.cpp @@ -169,7 +169,7 @@ namespace svn void Client_impl::add (const Path & path, - svn::Depth depth,bool force, bool no_ignore, bool add_tqparents) throw (ClientException) + svn::Depth depth,bool force, bool no_ignore, bool add_parents) throw (ClientException) { Pool pool; #if ((SVN_VER_MAJOR == 1) && (SVN_VER_MINOR >= 5)) || (SVN_VER_MAJOR > 1) @@ -178,11 +178,11 @@ namespace svn internal::DepthToSvn(depth), force, no_ignore, - add_tqparents, + add_parents, *m_context, pool); #else - Q_UNUSED(add_tqparents); + Q_UNUSED(add_parents); svn_error_t * error = svn_client_add3 (path.cstr (), depth==DepthInfinity, diff --git a/src/svnqt/repository.cpp b/src/svnqt/repository.cpp index 15530ff..327340b 100644 --- a/src/svnqt/repository.cpp +++ b/src/svnqt/repository.cpp @@ -67,7 +67,7 @@ void Repository::dump(const TQString&output,const svn::Revision&start,const svn: } } -void Repository::loaddump(const TQString&dump,LOAD_UUID uuida, const TQString&tqparentFolder, bool usePre, bool usePost)throw (ClientException) +void Repository::loaddump(const TQString&dump,LOAD_UUID uuida, const TQString&parentFolder, bool usePre, bool usePost)throw (ClientException) { svn_repos_load_uuid uuid_action; switch (uuida) { @@ -82,7 +82,7 @@ void Repository::loaddump(const TQString&dump,LOAD_UUID uuida, const TQString&tq uuid_action=svn_repos_load_uuid_default; break; } - svn_error_t * error = m_Data->loaddump(dump,uuid_action,tqparentFolder,usePre,usePost); + svn_error_t * error = m_Data->loaddump(dump,uuid_action,parentFolder,usePre,usePost); if (error!=0) { throw ClientException (error); } diff --git a/src/svnqt/repository.hpp b/src/svnqt/repository.hpp index ff8e730..7f79f52 100644 --- a/src/svnqt/repository.hpp +++ b/src/svnqt/repository.hpp @@ -93,12 +93,12 @@ public: The repository must opened before. Progress message go trough the assigned svn::repository::RepositoryListener object. \param dump Dumpfile to load \param uuida what to do with UUIDs - \param tqparentFolder put content of dumpstream within folder in repository, if empty put into root-folder. + \param parentFolder put content of dumpstream within folder in repository, if empty put into root-folder. \param usePre use pre-commit-hook \param usePost use post-commit-hook \exception ClientException will be thrown in case of an error */ - void loaddump(const TQString&dump,LOAD_UUID uuida, const TQString&tqparentFolder, bool usePre, bool usePost)throw (ClientException); + void loaddump(const TQString&dump,LOAD_UUID uuida, const TQString&parentFolder, bool usePre, bool usePost)throw (ClientException); //! copy a repository to a new location /*! \param src the repository path to copy diff --git a/src/svnqt/repositorydata.cpp b/src/svnqt/repositorydata.cpp index 532c80a..5625f70 100644 --- a/src/svnqt/repositorydata.cpp +++ b/src/svnqt/repositorydata.cpp @@ -209,7 +209,7 @@ svn_error_t* RepositoryData::dump(const TQString&output,const svn::Revision&star return SVN_NO_ERROR; } -svn_error_t* RepositoryData::loaddump(const TQString&dump,svn_repos_load_uuid uuida, const TQString&tqparentFolder, bool usePre, bool usePost) +svn_error_t* RepositoryData::loaddump(const TQString&dump,svn_repos_load_uuid uuida, const TQString&parentFolder, bool usePre, bool usePost) { if (!m_Repository) { return svn_error_create(SVN_ERR_CANCELLED,0,"No repository selected."); @@ -219,10 +219,10 @@ svn_error_t* RepositoryData::loaddump(const TQString&dump,svn_repos_load_uuid uu Pool pool; const char*src_path = apr_pstrdup (pool,dump.TOUTF8()); const char*dest_path; - if (tqparentFolder.isEmpty()) { + if (parentFolder.isEmpty()) { dest_path=0; } else { - dest_path=apr_pstrdup (pool,tqparentFolder.TOUTF8()); + dest_path=apr_pstrdup (pool,parentFolder.TOUTF8()); } src_path = svn_path_internal_style(src_path, pool); diff --git a/src/svnqt/repositorydata.hpp b/src/svnqt/repositorydata.hpp index 8e2e8d1..5abe2ca 100644 --- a/src/svnqt/repositorydata.hpp +++ b/src/svnqt/repositorydata.hpp @@ -53,7 +53,7 @@ public: void reposFsWarning(const TQString&msg); svn_error_t* dump(const TQString&output,const svn::Revision&start,const svn::Revision&end, bool incremental, bool use_deltas); - svn_error_t* loaddump(const TQString&dump,svn_repos_load_uuid uuida, const TQString&tqparentFolder, bool usePre, bool usePost); + svn_error_t* loaddump(const TQString&dump,svn_repos_load_uuid uuida, const TQString&parentFolder, bool usePre, bool usePost); static svn_error_t* hotcopy(const TQString&src,const TQString&dest,bool cleanlogs); protected: |