summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commandline.cpp2
-rw-r--r--src/commandline_part.cpp4
-rw-r--r--src/helpers/stringhelper.h4
-rw-r--r--src/kiosvn/kiolistener.cpp42
-rw-r--r--src/kiosvn/kiosvn.cpp12
-rw-r--r--src/ksvnwidgets/authdialogimpl.cpp4
-rw-r--r--src/ksvnwidgets/authdlg.ui6
-rw-r--r--src/ksvnwidgets/depthform.ui4
-rw-r--r--src/ksvnwidgets/depthselector.cpp12
-rw-r--r--src/ksvnwidgets/diffbrowser.cpp4
-rw-r--r--src/ksvnwidgets/encodingselector.ui2
-rw-r--r--src/ksvnwidgets/logmessage.ui8
-rw-r--r--src/ksvnwidgets/logmsg_impl.cpp16
-rw-r--r--src/ksvnwidgets/revertform.ui4
-rw-r--r--src/ksvnwidgets/revertform_impl.cpp2
-rw-r--r--src/ksvnwidgets/ssltrustprompt_impl.cpp2
-rw-r--r--src/settings/cmdexecsettings.ui8
-rw-r--r--src/settings/diffmergesettings.ui14
-rw-r--r--src/settings/dispcolor_settings.ui22
-rw-r--r--src/settings/display_settings.ui8
-rw-r--r--src/settings/revisiontree_settings.ui22
-rw-r--r--src/settings/subversion_settings.ui2
-rw-r--r--src/svnfrontend/blamedisplay_impl.cpp30
-rw-r--r--src/svnfrontend/cacheentry.h2
-rw-r--r--src/svnfrontend/ccontextlistener.cpp4
-rw-r--r--src/svnfrontend/commandexec.cpp6
-rw-r--r--src/svnfrontend/copymoveview.ui10
-rw-r--r--src/svnfrontend/copymoveview_impl.cpp2
-rw-r--r--src/svnfrontend/createrepo_dlg.ui8
-rw-r--r--src/svnfrontend/dumprepo_dlg.ui12
-rw-r--r--src/svnfrontend/editproperty_impl.cpp4
-rw-r--r--src/svnfrontend/editpropsdlg.ui14
-rw-r--r--src/svnfrontend/filelistviewitem.cpp20
-rw-r--r--src/svnfrontend/filelistviewitem.h6
-rw-r--r--src/svnfrontend/fillcachethread.cpp2
-rw-r--r--src/svnfrontend/fronthelpers/checkoutinfo.ui10
-rw-r--r--src/svnfrontend/fronthelpers/cursorstack.h2
-rw-r--r--src/svnfrontend/fronthelpers/propertylist.cpp2
-rw-r--r--src/svnfrontend/fronthelpers/rangeinput_impl.cpp10
-rw-r--r--src/svnfrontend/graphtree/revgraphview.cpp42
-rw-r--r--src/svnfrontend/graphtree/revisiontree.cpp16
-rw-r--r--src/svnfrontend/graphtree/revtreewidget.cpp8
-rw-r--r--src/svnfrontend/hotcopydlg.ui6
-rw-r--r--src/svnfrontend/importdir_logmsg.cpp4
-rw-r--r--src/svnfrontend/itemdisplay.cpp4
-rw-r--r--src/svnfrontend/itemdisplay.h2
-rw-r--r--src/svnfrontend/loaddmpdlg.ui8
-rw-r--r--src/svnfrontend/merge_dlg.ui14
-rw-r--r--src/svnfrontend/mergedlg_impl.cpp4
-rw-r--r--src/svnfrontend/propertiesdlg.cpp2
-rw-r--r--src/svnfrontend/stopdlg.cpp18
-rw-r--r--src/svnfrontend/stopdlg.h2
-rw-r--r--src/svnfrontend/svnactions.cpp88
-rw-r--r--src/svnfrontend/svnactions.h10
-rw-r--r--src/svnfrontend/svnfiletip.cpp14
-rw-r--r--src/svnfrontend/svnitem.cpp34
-rw-r--r--src/svnfrontend/svnitem.h2
-rw-r--r--src/svnfrontend/svnlogdlg.ui10
-rw-r--r--src/svnfrontend/svnlogdlgimp.cpp20
-rw-r--r--src/svnfrontend/tcontextlistener.cpp4
-rw-r--r--src/svnfrontend/tdesvnfilelist.cpp72
-rw-r--r--src/svnfrontend/tdesvnfilelist.h2
-rw-r--r--src/svnqt/cache/DatabaseException.cpp2
-rw-r--r--src/svnqt/cache/LogCache.cpp2
-rw-r--r--src/svnqt/cache/ReposLog.cpp14
-rw-r--r--src/svnqt/cache/sqlite3/qsql_sqlite3.cpp10
-rw-r--r--src/svnqt/cache/test/sqlite.cpp2
-rw-r--r--src/svnqt/client.hpp8
-rw-r--r--src/svnqt/client_impl.hpp8
-rw-r--r--src/svnqt/client_status.cpp36
-rw-r--r--src/svnqt/diff_data.cpp2
-rw-r--r--src/svnqt/dirent.cpp2
-rw-r--r--src/svnqt/exception.cpp2
-rw-r--r--src/svnqt/log_entry.cpp8
-rw-r--r--src/svnqt/path.cpp2
-rw-r--r--src/svnqt/revision.hpp2
-rw-r--r--src/svnqt/status.cpp54
-rw-r--r--src/svnqt/status.hpp30
-rw-r--r--src/svnqt/svnqttypes.hpp4
-rw-r--r--src/svnqt/tests/lsdir.cpp4
-rw-r--r--src/svnqt/url.cpp8
-rw-r--r--src/svnqt/version_check.cpp4
-rw-r--r--src/svnqt/wc.cpp2
-rw-r--r--src/tdesvn.cpp6
-rw-r--r--src/tdesvn_part.cpp6
-rw-r--r--src/tdesvnd/tdesvnd_dcop.cpp2
-rw-r--r--src/tdesvnview.cpp16
-rw-r--r--src/tdesvnview.h2
-rw-r--r--src/urldlg.cpp14
89 files changed, 493 insertions, 493 deletions
diff --git a/src/commandline.cpp b/src/commandline.cpp
index fd49ca9..66788bd 100644
--- a/src/commandline.cpp
+++ b/src/commandline.cpp
@@ -26,7 +26,7 @@
#include <kapplication.h>
#include <klocale.h>
#include <tqstring.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqvbox.h>
class CommandLineData
diff --git a/src/commandline_part.cpp b/src/commandline_part.cpp
index 3037cd1..f26613b 100644
--- a/src/commandline_part.cpp
+++ b/src/commandline_part.cpp
@@ -30,10 +30,10 @@ commandline_part::commandline_part(TQObject *parent, const char *name,KCmdLineAr
KInstance * inst = tdesvnPartFactory::instance();
KGlobal::locale()->insertCatalogue(inst->instanceName());
KGlobal::dirs()->addResourceType( inst->instanceName() + "data",
- KStandardDirs::kde_default("data")+ TQString::tqfromLatin1( inst->instanceName() ) + '/' );
+ KStandardDirs::kde_default("data")+ TQString::fromLatin1( inst->instanceName() ) + '/' );
- m_pCPart = new CommandExec(this,TQString(name?TQString(name)+TQString("_exec"):TQString::tqfromLatin1("command_executer")).ascii(),args);
+ m_pCPart = new CommandExec(this,TQString(name?TQString(name)+TQString("_exec"):TQString::fromLatin1("command_executer")).ascii(),args);
}
commandline_part::~commandline_part()
diff --git a/src/helpers/stringhelper.h b/src/helpers/stringhelper.h
index 80ad576..c8b628d 100644
--- a/src/helpers/stringhelper.h
+++ b/src/helpers/stringhelper.h
@@ -21,7 +21,7 @@
#define STRINGHELPER_H
#include <tqstring.h>
-#include <tqtextstream.h>
+#include <textstream.h>
namespace helpers
{
@@ -57,7 +57,7 @@ public:
}
v /= 1024.0;
}
- return TQString("%1 %2Byte").tqarg(v,0,'f',pre?2:0).tqarg(pre?TQString(TQChar(pre)):TQString(""));
+ return TQString("%1 %2Byte").arg(v,0,'f',pre?2:0).arg(pre?TQString(TQChar(pre)):TQString(""));
}
};
diff --git a/src/kiosvn/kiolistener.cpp b/src/kiosvn/kiolistener.cpp
index f08dc18..16ff6e4 100644
--- a/src/kiosvn/kiolistener.cpp
+++ b/src/kiosvn/kiolistener.cpp
@@ -116,9 +116,9 @@ void KioListener::contextNotify (const char * path,svn_wc_notify_action_t action
case svn_wc_notify_add:
{
if (mime_type && (svn_mime_type_is_binary (mime_type)))
- userstring = i18n( "A (bin) %1" ).tqarg( path );
+ userstring = i18n( "A (bin) %1" ).arg( path );
else
- userstring = i18n( "A %1" ).tqarg( path );
+ userstring = i18n( "A %1" ).arg( path );
break;
}
break;
@@ -126,33 +126,33 @@ void KioListener::contextNotify (const char * path,svn_wc_notify_action_t action
break;
case svn_wc_notify_delete: //delete
m_HasChanges = TRUE;
- userstring = i18n( "D %1" ).tqarg( path );
+ userstring = i18n( "D %1" ).arg( path );
break;
case svn_wc_notify_restore : //restore
- userstring=i18n( "Restored %1." ).tqarg( path );
+ userstring=i18n( "Restored %1." ).arg( path );
break;
case svn_wc_notify_revert : //revert
- userstring=i18n( "Reverted %1." ).tqarg( path );
+ userstring=i18n( "Reverted %1." ).arg( path );
break;
case svn_wc_notify_failed_revert: //failed revert
- userstring=i18n( "Failed to revert %1.\nTry updating instead." ).tqarg( path );
+ userstring=i18n( "Failed to revert %1.\nTry updating instead." ).arg( path );
break;
case svn_wc_notify_resolved: //resolved
- userstring=i18n( "Resolved conflicted state of %1." ).tqarg( path );
+ userstring=i18n( "Resolved conflicted state of %1." ).arg( path );
break;
case svn_wc_notify_skip: //skip
if ( content_state == svn_wc_notify_state_missing )
- userstring=i18n("Skipped missing target %1.").tqarg( path );
+ userstring=i18n("Skipped missing target %1.").arg( path );
else
- userstring=i18n("Skipped %1.").tqarg( path );
+ userstring=i18n("Skipped %1.").arg( path );
break;
case svn_wc_notify_update_delete: //update_delete
m_HasChanges = TRUE;
- userstring=i18n( "D %1" ).tqarg( path );
+ userstring=i18n( "D %1" ).arg( path );
break;
case svn_wc_notify_update_add: //update_add
m_HasChanges = TRUE;
- userstring=i18n( "A %1" ).tqarg( path );
+ userstring=i18n( "A %1" ).arg( path );
break;
case svn_wc_notify_update_update: //update_update
{
@@ -195,13 +195,13 @@ void KioListener::contextNotify (const char * path,svn_wc_notify_action_t action
{
if (!m_External) {
if (SVN_IS_VALID_REVNUM(revision)) {
- userstring = i18n("Finished at revision %1.").tqarg(revision);
+ userstring = i18n("Finished at revision %1.").arg(revision);
} else {
userstring = i18n("Finished.");
}
} else {
if (SVN_IS_VALID_REVNUM(revision)) {
- userstring = i18n("Finished external at revision %1.").tqarg(revision);
+ userstring = i18n("Finished external at revision %1.").arg(revision);
} else {
userstring = i18n("Finished external.");
}
@@ -212,30 +212,30 @@ void KioListener::contextNotify (const char * path,svn_wc_notify_action_t action
break;
case svn_wc_notify_update_external: //update_external
m_External = TRUE;
- userstring = i18n("Fetching external item into %1." ).tqarg( path );
+ userstring = i18n("Fetching external item into %1." ).arg( path );
break;
case svn_wc_notify_status_completed: //status_completed
if (SVN_IS_VALID_REVNUM (revision))
- userstring = i18n( "Status against revision: %1.").tqarg( revision );
+ userstring = i18n( "Status against revision: %1.").arg( revision );
break;
case svn_wc_notify_status_external: //status_external
- userstring = i18n("Performing status on external item at %1.").tqarg( path );
+ userstring = i18n("Performing status on external item at %1.").arg( path );
break;
case svn_wc_notify_commit_modified: //commit_modified
- userstring = i18n( "Sending %1.").tqarg( path );
+ userstring = i18n( "Sending %1.").arg( path );
break;
case svn_wc_notify_commit_added: //commit_added
if (mime_type && svn_mime_type_is_binary (mime_type)) {
- userstring = i18n( "Adding (bin) %1.").tqarg( path );
+ userstring = i18n( "Adding (bin) %1.").arg( path );
} else {
- userstring = i18n( "Adding %1.").tqarg( path );
+ userstring = i18n( "Adding %1.").arg( path );
}
break;
case svn_wc_notify_commit_deleted: //commit_deleted
- userstring = i18n( "Deleting %1.").tqarg( path );
+ userstring = i18n( "Deleting %1.").arg( path );
break;
case svn_wc_notify_commit_replaced: //commit_replaced
- userstring = i18n( "Replacing %1.").tqarg( path );
+ userstring = i18n( "Replacing %1.").arg( path );
break;
case svn_wc_notify_commit_postfix_txdelta: //commit_postfix_txdelta
if (!m_FirstTxDelta) {
diff --git a/src/kiosvn/kiosvn.cpp b/src/kiosvn/kiosvn.cpp
index 0773d6d..59c9434 100644
--- a/src/kiosvn/kiosvn.cpp
+++ b/src/kiosvn/kiosvn.cpp
@@ -53,7 +53,7 @@
#include <tqcstring.h>
#include <kmimetype.h>
#include <krun.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <stdlib.h>
#include <math.h>
@@ -671,13 +671,13 @@ void kio_svnProtocol::status(const KURL&wc,bool cR,bool rec)
}
//TQDataStream stream(params, IO_WriteOnly);
setMetaData(TQString::number(m_pData->m_Listener.counter()).rightJustify( 10,'0' )+"path",dlist[j]->path());
- setMetaData(TQString::number(m_pData->m_Listener.counter()).rightJustify( 10,'0' )+"text",TQString::number(dlist[j]->texttqStatus()));
+ setMetaData(TQString::number(m_pData->m_Listener.counter()).rightJustify( 10,'0' )+"text",TQString::number(dlist[j]->textStatus()));
setMetaData(TQString::number(m_pData->m_Listener.counter() ).rightJustify( 10,'0' )+ "prop",
- TQString::number(dlist[j]->proptqStatus()));
+ TQString::number(dlist[j]->propStatus()));
setMetaData(TQString::number(m_pData->m_Listener.counter() ).rightJustify( 10,'0' )+ "reptxt",
- TQString::number(dlist[j]->reposTexttqStatus()));
+ TQString::number(dlist[j]->reposTextStatus()));
setMetaData(TQString::number(m_pData->m_Listener.counter() ).rightJustify( 10,'0' )+ "repprop",
- TQString::number(dlist[j]->reposProptqStatus()));
+ TQString::number(dlist[j]->reposPropStatus()));
setMetaData(TQString::number(m_pData->m_Listener.counter() ).rightJustify( 10,'0' )+ "rev",
TQString::number(dlist[j]->entry().cmtRev()));
m_pData->m_Listener.incCounter();
@@ -724,7 +724,7 @@ void kio_svnProtocol::commit(const KURL::List&url)
for (unsigned j=0;j<url.count();++j) {
TQString userstring;
if (nnum!=svn::Revision::UNDEFINED) {
- userstring = i18n( "Committed revision %1." ).tqarg(nnum.toString());
+ userstring = i18n( "Committed revision %1." ).arg(nnum.toString());
} else {
userstring = i18n ( "Nothing to commit." );
}
diff --git a/src/ksvnwidgets/authdialogimpl.cpp b/src/ksvnwidgets/authdialogimpl.cpp
index f445e78..879e49d 100644
--- a/src/ksvnwidgets/authdialogimpl.cpp
+++ b/src/ksvnwidgets/authdialogimpl.cpp
@@ -35,10 +35,10 @@ AuthDialogImpl::AuthDialogImpl(const TQString & realm,const TQString&user,TQWidg
TQString text = m_StorePasswordButton->text();
m_StorePasswordButton->setText(
m_StorePasswordButton->text()+TQString(" (%1)")
- .tqarg((Kdesvnsettings::passwords_in_wallet()?i18n("into KDE Wallet"):i18n("into subversions simple storage"))));
+ .arg((Kdesvnsettings::passwords_in_wallet()?i18n("into KDE Wallet"):i18n("into subversions simple storage"))));
if (!realm.isEmpty()) {
m_RealmLabel->setText(m_RealmLabel->text()+" "+realm);
- resize( TQSize(334, 158).expandedTo(tqminimumSizeHint()) );
+ resize( TQSize(334, 158).expandedTo(minimumSizeHint()) );
}
}
diff --git a/src/ksvnwidgets/authdlg.ui b/src/ksvnwidgets/authdlg.ui
index b3facca..6b18120 100644
--- a/src/ksvnwidgets/authdlg.ui
+++ b/src/ksvnwidgets/authdlg.ui
@@ -32,7 +32,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<grid>
<property name="name">
@@ -82,7 +82,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@@ -129,7 +129,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>90</width>
<height>20</height>
diff --git a/src/ksvnwidgets/depthform.ui b/src/ksvnwidgets/depthform.ui
index bb738b1..384bf72 100644
--- a/src/ksvnwidgets/depthform.ui
+++ b/src/ksvnwidgets/depthform.ui
@@ -57,7 +57,7 @@
&lt;i&gt;empty depth&lt;/i&gt;&lt;br&gt;Just the named directory, no entries. Updates will not pull in any files or subdirectories not already present.
&lt;/p&gt;
&lt;p&gt;
-&lt;i&gt;Files depth&lt;/i&gt;&lt;br&gt;Folder and its file tqchildren, but not subdirs. Updates will pull in any files not already present, but not subdirectories.
+&lt;i&gt;Files depth&lt;/i&gt;&lt;br&gt;Folder and its file children, but not subdirs. Updates will pull in any files not already present, but not subdirectories.
&lt;/p&gt;
&lt;p&gt;
&lt;i&gt;Immediate depth&lt;/i&gt;&lt;br&gt;
@@ -80,7 +80,7 @@ Equivalent to the pre-1.5 default update behavior.
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
diff --git a/src/ksvnwidgets/depthselector.cpp b/src/ksvnwidgets/depthselector.cpp
index 6e9bb74..4d1675b 100644
--- a/src/ksvnwidgets/depthselector.cpp
+++ b/src/ksvnwidgets/depthselector.cpp
@@ -24,7 +24,7 @@
#include <tqbuttongroup.h>
#include <tqcheckbox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqcombobox.h>
@@ -42,11 +42,11 @@ DepthSelector::DepthSelector(TQWidget *parent, const char *name)
m_recurse->setChecked( TRUE );
m_recurse->setText(i18n( "Recursive" ));
DepthFormLayout->addWidget( m_recurse );
- m_recurse->tqsetSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Fixed);
+ m_recurse->setSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Fixed);
DepthFormLayout->addItem(m_leftspacer);
}
DepthFormLayout->setMargin(0);
- setMinimumSize(tqminimumSizeHint());
+ setMinimumSize(minimumSizeHint());
adjustSize();
}
@@ -56,11 +56,11 @@ DepthSelector::~DepthSelector()
void DepthSelector::addItemWidget(TQWidget*aWidget)
{
DepthFormLayout->removeItem(m_leftspacer);
- aWidget->reparent(this,tqgeometry().topLeft());
+ aWidget->reparent(this,geometry().topLeft());
DepthFormLayout->addWidget(aWidget);
- aWidget->tqsetSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Fixed);
+ aWidget->setSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Fixed);
DepthFormLayout->addItem(m_leftspacer);
- setMinimumSize(tqminimumSizeHint());
+ setMinimumSize(minimumSizeHint());
}
/*!
diff --git a/src/ksvnwidgets/diffbrowser.cpp b/src/ksvnwidgets/diffbrowser.cpp
index 1e87d29..8e273cd 100644
--- a/src/ksvnwidgets/diffbrowser.cpp
+++ b/src/ksvnwidgets/diffbrowser.cpp
@@ -33,7 +33,7 @@
#include <tqfont.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
-#include <tqtextcodec.h>
+#include <textcodec.h>
/*!
\fn DiffBrowser::DiffBrowser(TQWidget*parent=0,const char*name=0)
@@ -96,7 +96,7 @@ void DiffBrowser::saveDiff()
TQFile tfile(saveTo);
if (tfile.exists()) {
if (KMessageBox::warningYesNo(TQT_TQWIDGET(KApplication::activeModalWidget()),
- i18n("File %1 exists - overwrite?").tqarg(saveTo))
+ i18n("File %1 exists - overwrite?").arg(saveTo))
!=KMessageBox::Yes) {
return;
}
diff --git a/src/ksvnwidgets/encodingselector.ui b/src/ksvnwidgets/encodingselector.ui
index cb5249a..e1ce254 100644
--- a/src/ksvnwidgets/encodingselector.ui
+++ b/src/ksvnwidgets/encodingselector.ui
@@ -49,7 +49,7 @@
<property name="text">
<string>Select encoding:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
diff --git a/src/ksvnwidgets/logmessage.ui b/src/ksvnwidgets/logmessage.ui
index 2199705..25e08a8 100644
--- a/src/ksvnwidgets/logmessage.ui
+++ b/src/ksvnwidgets/logmessage.ui
@@ -47,7 +47,7 @@
<property name="text">
<string>Review affected items</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignCenter</set>
</property>
</widget>
@@ -92,7 +92,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@@ -167,7 +167,7 @@
<property name="text">
<string>Enter a log message</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignCenter</set>
</property>
</widget>
@@ -181,7 +181,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout6</cstring>
+ <cstring>layout6</cstring>
</property>
<grid>
<property name="name">
diff --git a/src/ksvnwidgets/logmsg_impl.cpp b/src/ksvnwidgets/logmsg_impl.cpp
index 037a66f..97d67b1 100644
--- a/src/ksvnwidgets/logmsg_impl.cpp
+++ b/src/ksvnwidgets/logmsg_impl.cpp
@@ -40,7 +40,7 @@
#include <tqcheckbox.h>
#include <tqlabel.h>
#include <tqlistview.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqwidget.h>
#include <tqpushbutton.h>
#include <tqfile.h>
@@ -224,7 +224,7 @@ void Logmsg_impl::initHistory()
KConfigGroup cs(Kdesvnsettings::self()->config(),"log_messages");
TQString s = TQString();
unsigned int current = 0;
- TQString key = TQString("log_%0").tqarg(current);
+ TQString key = TQString("log_%0").arg(current);
s = cs.readEntry(key,TQString());
while (s!=TQString()) {
if (current<smax_message_history) {
@@ -233,7 +233,7 @@ void Logmsg_impl::initHistory()
cs.deleteEntry(key);
}
++current;
- key = TQString("log_%0").tqarg(current);
+ key = TQString("log_%0").arg(current);
s = cs.readEntry(key,TQString());
}
}
@@ -270,7 +270,7 @@ void Logmsg_impl::saveHistory(bool canceld)
}
KConfigGroup cs(Kdesvnsettings::self()->config(),"log_messages");
for (unsigned int i = 0; i < sLogHistory.size();++i) {
- cs.writeEntry(TQString("log_%0").tqarg(i),sLogHistory[i]);
+ cs.writeEntry(TQString("log_%0").arg(i),sLogHistory[i]);
}
cs.sync();
} else {
@@ -449,11 +449,11 @@ TQString Logmsg_impl::getLogmessage(const logActionEntries&_on,
void Logmsg_impl::addItemWidget(TQWidget*aWidget)
{
m_DepthSelector->addItemWidget(aWidget);
-/* aWidget->reparent(this,tqgeometry().topLeft());
+/* aWidget->reparent(this,geometry().topLeft());
m_ItemsLayout->addWidget(aWidget);
- kdDebug()<<"SizeHint: "<<aWidget->tqminimumSizeHint()<< endl;
- aWidget->tqsetSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Fixed);
- setMinimumHeight(tqminimumSizeHint().height());*/
+ kdDebug()<<"SizeHint: "<<aWidget->minimumSizeHint()<< endl;
+ aWidget->setSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Fixed);
+ setMinimumHeight(minimumSizeHint().height());*/
}
Logmsg_impl::logActionEntries Logmsg_impl::selectedEntries()
diff --git a/src/ksvnwidgets/revertform.ui b/src/ksvnwidgets/revertform.ui
index 1f413dc..dacca01 100644
--- a/src/ksvnwidgets/revertform.ui
+++ b/src/ksvnwidgets/revertform.ui
@@ -20,7 +20,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
@@ -50,7 +50,7 @@
<property name="name">
<cstring>m_DepthSelect</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
diff --git a/src/ksvnwidgets/revertform_impl.cpp b/src/ksvnwidgets/revertform_impl.cpp
index 91ad876..8b18508 100644
--- a/src/ksvnwidgets/revertform_impl.cpp
+++ b/src/ksvnwidgets/revertform_impl.cpp
@@ -29,7 +29,7 @@
RevertFormImpl::RevertFormImpl(TQWidget*parent,const char*name)
:RevertForm(parent,name)
{
- setMinimumSize(tqminimumSizeHint());
+ setMinimumSize(minimumSizeHint());
}
/*!
diff --git a/src/ksvnwidgets/ssltrustprompt_impl.cpp b/src/ksvnwidgets/ssltrustprompt_impl.cpp
index 1791e80..2aca6b9 100644
--- a/src/ksvnwidgets/ssltrustprompt_impl.cpp
+++ b/src/ksvnwidgets/ssltrustprompt_impl.cpp
@@ -36,7 +36,7 @@ SslTrustPrompt_impl::SslTrustPrompt_impl(const TQString&host,TQWidget *parent, c
:SslTrustPrompt(parent, name)
{
m_MainLabel->setText("<p align=\"center\"><b>"+
- i18n("Error validating server certificate for '%1'").tqarg(host)+
+ i18n("Error validating server certificate for '%1'").arg(host)+
TQString("</b></p>"));
}
diff --git a/src/settings/cmdexecsettings.ui b/src/settings/cmdexecsettings.ui
index 6e73492..c35e2f6 100644
--- a/src/settings/cmdexecsettings.ui
+++ b/src/settings/cmdexecsettings.ui
@@ -29,7 +29,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<grid>
<property name="name">
@@ -84,7 +84,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<grid>
<property name="name">
@@ -102,7 +102,7 @@
<property name="text">
<string>Standard message:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -118,7 +118,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
diff --git a/src/settings/diffmergesettings.ui b/src/settings/diffmergesettings.ui
index 106fb72..86c8e2f 100644
--- a/src/settings/diffmergesettings.ui
+++ b/src/settings/diffmergesettings.ui
@@ -75,7 +75,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<grid>
<property name="name">
@@ -88,13 +88,13 @@
<property name="text">
<string>see "Whats this" for details</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignCenter</set>
</property>
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<grid>
<property name="name">
@@ -107,7 +107,7 @@
<property name="text">
<string>Conflict resolver program:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -118,7 +118,7 @@
<property name="text">
<string>External merge program:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -156,7 +156,7 @@ Default: &lt;tt&gt;kdiff3 %o %m %n -o %t&lt;/tt&gt;
<property name="text">
<string>External diff display:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -220,7 +220,7 @@ When %1 and %2 is given, tdesvn let this display make the diff. For that it it m
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
diff --git a/src/settings/dispcolor_settings.ui b/src/settings/dispcolor_settings.ui
index a395cac..d2bc5c7 100644
--- a/src/settings/dispcolor_settings.ui
+++ b/src/settings/dispcolor_settings.ui
@@ -32,7 +32,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<grid>
<property name="name">
@@ -72,7 +72,7 @@
<property name="text">
<string>Locked items:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -91,7 +91,7 @@
<property name="text">
<string>Not versioned items:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -102,7 +102,7 @@
<property name="text">
<string>Remote changed items:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -113,7 +113,7 @@
<property name="text">
<string>Added items:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -124,7 +124,7 @@
<property name="text">
<string>Deleted items:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -167,7 +167,7 @@
<property name="text">
<string>Conflicted items:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -178,7 +178,7 @@
<property name="text">
<string>Missed items:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -189,7 +189,7 @@
<property name="text">
<string>Local changed items:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -200,7 +200,7 @@
<property name="text">
<string>Item needs lock:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -224,7 +224,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
diff --git a/src/settings/display_settings.ui b/src/settings/display_settings.ui
index b06c50b..82d92e4 100644
--- a/src/settings/display_settings.ui
+++ b/src/settings/display_settings.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout1</cstring>
+ <cstring>layout1</cstring>
</property>
<grid>
<property name="name">
@@ -127,7 +127,7 @@ If networking is disabled, then this flag is ignored.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2_2</cstring>
+ <cstring>layout2_2</cstring>
</property>
<grid>
<property name="name">
@@ -160,7 +160,7 @@ When kde-default is wanted for opening on double click, enter &amp;quot;default&
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<grid>
<property name="name">
@@ -205,7 +205,7 @@ When kde-default is wanted for opening on double click, enter &amp;quot;default&
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
diff --git a/src/settings/revisiontree_settings.ui b/src/settings/revisiontree_settings.ui
index 7373eea..b8a9ce4 100644
--- a/src/settings/revisiontree_settings.ui
+++ b/src/settings/revisiontree_settings.ui
@@ -66,7 +66,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@@ -79,7 +79,7 @@
<property name="text">
<string>Color for added items:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -95,7 +95,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@@ -108,7 +108,7 @@
<property name="text">
<string>Color for deleted items:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -124,7 +124,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@@ -137,7 +137,7 @@
<property name="text">
<string>Color for copied items:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -153,7 +153,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@@ -166,7 +166,7 @@
<property name="text">
<string>Color for renamed items:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -182,7 +182,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout6</cstring>
+ <cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@@ -195,7 +195,7 @@
<property name="text">
<string>Color for modified items:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -219,7 +219,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
diff --git a/src/settings/subversion_settings.ui b/src/settings/subversion_settings.ui
index 6e40fcf..d3caac1 100644
--- a/src/settings/subversion_settings.ui
+++ b/src/settings/subversion_settings.ui
@@ -230,7 +230,7 @@ On networked repositories (eg., not opened via file:// protocol) this may get re
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
diff --git a/src/svnfrontend/blamedisplay_impl.cpp b/src/svnfrontend/blamedisplay_impl.cpp
index 06727a5..d7d3ecc 100644
--- a/src/svnfrontend/blamedisplay_impl.cpp
+++ b/src/svnfrontend/blamedisplay_impl.cpp
@@ -45,8 +45,8 @@
#include <tqvbox.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
-#include <tqlayout.h>
-#include <tqtextcodec.h>
+#include <layout.h>
+#include <textcodec.h>
#define COL_LINENR 0
#define COL_REV 1
@@ -100,7 +100,7 @@ public:
BlameDisplayItem(KListView*,BlameDisplayItem*,const svn::AnnotateLine&,bool,BlameDisplay_impl*);
virtual ~BlameDisplayItem(){}
virtual int compare(TQListViewItem *i, int col, bool ascending)const;
- virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment);
+ virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment);
virtual int rtti()const{return 1000;}
virtual int width( const TQFontMetrics & fm, const TQListView * lv, int c ) const;
@@ -116,7 +116,7 @@ public:
}
TQString _line = m_Content.tLine();
_line.replace("\t"," ");
- setText(COL_LINE,TQString("%1").tqarg(_line));
+ setText(COL_LINE,TQString("%1").arg(_line));
}
protected:
@@ -153,17 +153,17 @@ int BlameDisplayItem::width (const TQFontMetrics & fm, const TQListView * lv, in
void BlameDisplayItem::display()
{
if (m_disp){
- setText(COL_REV,TQString("%1").tqarg(m_Content.revision()));
+ setText(COL_REV,TQString("%1").arg(m_Content.revision()));
setText(COL_AUT,m_Content.tAuthor());
if (m_Content.date().isValid()) {
setText(COL_DATE,KGlobal::locale()->formatDateTime(m_Content.date()));
}
}
- setText(COL_LINENR,TQString("%1").tqarg(m_Content.lineNumber()+1));
+ setText(COL_LINENR,TQString("%1").arg(m_Content.lineNumber()+1));
TQString _line = m_Content.tLine();
_line.replace("\t"," ");
- setText(COL_LINE,TQString("%1").tqarg(_line));
+ setText(COL_LINE,TQString("%1").arg(_line));
}
int BlameDisplayItem::compare(TQListViewItem *item, int col, bool ascending)const
@@ -182,10 +182,10 @@ int BlameDisplayItem::compare(TQListViewItem *item, int col, bool ascending)cons
return k->m_Content.lineNumber()-m_Content.lineNumber();
}
-void BlameDisplayItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment)
+void BlameDisplayItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment)
{
- if (tqalignment & (AlignTop || AlignBottom) == 0)
- tqalignment |= AlignVCenter;
+ if (alignment & (AlignTop || AlignBottom) == 0)
+ alignment |= AlignVCenter;
/* don't copy string */
const TQString & str = text(column);;
@@ -202,7 +202,7 @@ void BlameDisplayItem::paintCell(TQPainter *p, const TQColorGroup &cg, int colum
if (Kdesvnsettings::self()->colored_blame()) {
_bgColor = cb->rev2color(m_Content.revision());
} else {
- _bgColor = listView()->viewport()->tqcolorGroup().base();
+ _bgColor = listView()->viewport()->colorGroup().base();
}
}
@@ -213,7 +213,7 @@ void BlameDisplayItem::paintCell(TQPainter *p, const TQColorGroup &cg, int colum
if (str.isEmpty())
return;
- p->drawText(BORDER, 0, width - 2*BORDER, height(), tqalignment, str);
+ p->drawText(BORDER, 0, width - 2*BORDER, height(), alignment, str);
}
class BlameDisplayData
@@ -344,7 +344,7 @@ const TQColor BlameDisplay_impl::rev2color(svn_revnum_t r )const
{
return m_Data->m_shadingMap[r];
} else {
- return m_BlameList->viewport()->tqcolorGroup().base();
+ return m_BlameList->viewport()->colorGroup().base();
}
}
@@ -411,7 +411,7 @@ void BlameDisplay_impl::showCommit(BlameDisplayItem*bit)
}
KDialogBase* dlg = new KDialogBase(
TQT_TQWIDGET(KApplication::activeModalWidget()),
- "simplelog",true,TQString(i18n("Logmessage for revision %1").tqarg(bit->rev())),
+ "simplelog",true,TQString(i18n("Logmessage for revision %1").arg(bit->rev())),
KDialogBase::Close);
TQWidget* Dialog1Layout = dlg->makeVBoxMainWidget();
KTextBrowser*ptr = new KTextBrowser(Dialog1Layout);
@@ -447,7 +447,7 @@ void BlameDisplay_impl::displayBlame(SimpleLogCb*_cb,const TQString&item,const s
int buttons = KDialogBase::Close|KDialogBase::User1|KDialogBase::User2;
KDialogBase * dlg = new KDialogBase(
TQT_TQWIDGET(KApplication::activeModalWidget()),
- name,true,TQString(i18n("Blame %1")).tqarg(item),buttons,KDialogBase::Close,false,
+ name,true,TQString(i18n("Blame %1")).arg(item),buttons,KDialogBase::Close,false,
KGuiItem(i18n("Goto line")),KGuiItem(i18n("Log message for revision"),"tdesvnlog"));
TQWidget* Dialog1Layout = dlg->makeVBoxMainWidget();
diff --git a/src/svnfrontend/cacheentry.h b/src/svnfrontend/cacheentry.h
index 1b36a95..fd9ae64 100644
--- a/src/svnfrontend/cacheentry.h
+++ b/src/svnfrontend/cacheentry.h
@@ -569,7 +569,7 @@ public:
ValidRemoteOnly():m_List(){}
void operator()(const std::pair<TQString,helpers::ptrEntry>&_data)
{
- if(_data.second.isValid() && _data.second.content()->validRepostqStatus()&&!_data.second.content()->validLocaltqStatus()) {
+ if(_data.second.isValid() && _data.second.content()->validReposStatus()&&!_data.second.content()->validLocalStatus()) {
m_List.push_back(_data.second.content());
}
}
diff --git a/src/svnfrontend/ccontextlistener.cpp b/src/svnfrontend/ccontextlistener.cpp
index 2cf3bd0..691b288 100644
--- a/src/svnfrontend/ccontextlistener.cpp
+++ b/src/svnfrontend/ccontextlistener.cpp
@@ -32,7 +32,7 @@
#include <kfiledialog.h>
#include <tqmap.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqthread.h>
class CContextListenerData
@@ -296,7 +296,7 @@ bool CContextListener::contextSslClientCertPwPrompt (TQString & password,
TQCString npass;
int keep = 1;
int res = KPasswordDialog::getPassword(npass,
- i18n("Enter password for realm %1").tqarg(realm),
+ i18n("Enter password for realm %1").arg(realm),
&keep);
emit waitShow(false);
if (res!=KPasswordDialog::Accepted) {
diff --git a/src/svnfrontend/commandexec.cpp b/src/svnfrontend/commandexec.cpp
index 431125c..81212a9 100644
--- a/src/svnfrontend/commandexec.cpp
+++ b/src/svnfrontend/commandexec.cpp
@@ -40,7 +40,7 @@
#include <ktextbrowser.h>
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqvaluelist.h>
#include <tqvbox.h>
@@ -211,7 +211,7 @@ int CommandExec::exec()
bool found = connect(this,TQT_SIGNAL(executeMe()),this,slotCmd.ascii());
if (!found) {
- slotCmd=i18n("Command \"%1\" not implemented or known").tqarg(m_pCPart->cmd);
+ slotCmd=i18n("Command \"%1\" not implemented or known").arg(m_pCPart->cmd);
KMessageBox::sorry(0,slotCmd,i18n("SVN Error"));
return -1;
}
@@ -606,7 +606,7 @@ bool CommandExec::askRevision()
TQWidget* Dialog1Layout = dlg.makeVBoxMainWidget();
Rangeinput_impl*rdlg;
rdlg = new Rangeinput_impl(Dialog1Layout);
- dlg.resize( TQSize(120,60).expandedTo(dlg.tqminimumSizeHint()));
+ dlg.resize( TQSize(120,60).expandedTo(dlg.minimumSizeHint()));
rdlg->setStartOnly(m_pCPart->single_revision);
if (dlg.exec()==TQDialog::Accepted) {
Rangeinput_impl::revision_range range = rdlg->getRange();
diff --git a/src/svnfrontend/copymoveview.ui b/src/svnfrontend/copymoveview.ui
index 3c29ac2..f16b5b0 100644
--- a/src/svnfrontend/copymoveview.ui
+++ b/src/svnfrontend/copymoveview.ui
@@ -26,7 +26,7 @@
<property name="text">
<string>&lt;p align="right"&gt;Rename&lt;/p&gt;</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter|AlignLeft</set>
</property>
</widget>
@@ -37,7 +37,7 @@
<property name="text">
<string>this long text</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignCenter</set>
</property>
</widget>
@@ -48,13 +48,13 @@
<property name="text">
<string>to</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignLeft</set>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<grid>
<property name="name">
@@ -67,7 +67,7 @@
<property name="text">
<string>/there/</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
diff --git a/src/svnfrontend/copymoveview_impl.cpp b/src/svnfrontend/copymoveview_impl.cpp
index 98e3d60..f635cf8 100644
--- a/src/svnfrontend/copymoveview_impl.cpp
+++ b/src/svnfrontend/copymoveview_impl.cpp
@@ -88,7 +88,7 @@ TQString CopyMoveView_impl::getMoveCopyTo(bool*ok,bool*force,bool move,
TQWidget* Dialog1Layout = dlg.makeVBoxMainWidget();
CopyMoveView_impl*ptr=new CopyMoveView_impl(base,old,(move),Dialog1Layout);
TQString nName = TQString();
- dlg.resize( TQSize(500,160).expandedTo(dlg.tqminimumSizeHint()) );
+ dlg.resize( TQSize(500,160).expandedTo(dlg.minimumSizeHint()) );
if (dlg.exec()!=TQDialog::Accepted) {
if (ok) *ok = false;
} else {
diff --git a/src/svnfrontend/createrepo_dlg.ui b/src/svnfrontend/createrepo_dlg.ui
index 552ba72..0ca5ef5 100644
--- a/src/svnfrontend/createrepo_dlg.ui
+++ b/src/svnfrontend/createrepo_dlg.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout1</cstring>
+ <cstring>layout1</cstring>
</property>
<grid>
<property name="name">
@@ -34,7 +34,7 @@
<property name="text">
<string>Type of repository:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -74,7 +74,7 @@
<property name="text">
<string>Path to repository:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -119,7 +119,7 @@
<string>Create trunk, tags and branches folder</string>
</property>
<property name="whatsThis" stdset="0">
- <string>If this is set then the base tqlayout (&lt;tt&gt;/trunk&lt;/tt&gt;,&lt;tt&gt;/branches&lt;/tt&gt; and &lt;tt&gt;/tags&lt;/tt&gt;) will created after opening the fresh repository.</string>
+ <string>If this is set then the base layout (&lt;tt&gt;/trunk&lt;/tt&gt;,&lt;tt&gt;/branches&lt;/tt&gt; and &lt;tt&gt;/tags&lt;/tt&gt;) will created after opening the fresh repository.</string>
</property>
</widget>
<widget class="TQCheckBox">
diff --git a/src/svnfrontend/dumprepo_dlg.ui b/src/svnfrontend/dumprepo_dlg.ui
index e060c20..5238574 100644
--- a/src/svnfrontend/dumprepo_dlg.ui
+++ b/src/svnfrontend/dumprepo_dlg.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout1</cstring>
+ <cstring>layout1</cstring>
</property>
<grid>
<property name="name">
@@ -42,7 +42,7 @@
<property name="text">
<string>Repository to dump:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -53,7 +53,7 @@
<property name="text">
<string>Dump into:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -105,7 +105,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout6</cstring>
+ <cstring>layout6</cstring>
</property>
<grid>
<property name="name">
@@ -118,7 +118,7 @@
<property name="text">
<string>End revision:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -129,7 +129,7 @@
<property name="text">
<string>Start revision:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
diff --git a/src/svnfrontend/editproperty_impl.cpp b/src/svnfrontend/editproperty_impl.cpp
index 00fb964..9c5ffba 100644
--- a/src/svnfrontend/editproperty_impl.cpp
+++ b/src/svnfrontend/editproperty_impl.cpp
@@ -44,7 +44,7 @@ EditProperty_impl::EditProperty_impl(TQWidget *parent, const char *name)
fileComments += i18n("If present, make the file executable.<br>"
"This property can not be set on a directory. "
"A non-recursive attempt will fail, and a recursive attempt "
- "will set the property only on the file tqchildren of the folder.");
+ "will set the property only on the file children of the folder.");
fileComments += i18n("Keywords to be expanded into the contents of a file.<br>"
"They can be inserted into documents by placing a keyword anchor "
"which is formatted as $KeywordName$.<br>"
@@ -80,7 +80,7 @@ EditProperty_impl::EditProperty_impl(TQWidget *parent, const char *name)
dirComments += i18n("If present, make the file executable.<br>"
"This property can not be set on a directory. "
"A non-recursive attempt will fail, and a recursive attempt "
- "will set the property only on the file tqchildren of the folder.");
+ "will set the property only on the file children of the folder.");
/* TRANSLATORS: Do not translate "example" in the URL because this is according
TRANSLATORS: to http://www.rfc-editor.org/rfc/rfc2606.txt a reserved URL.*/
dirComments += i18n("A newline separated list of module specifiers, each "
diff --git a/src/svnfrontend/editpropsdlg.ui b/src/svnfrontend/editpropsdlg.ui
index c0bab16..68aa585 100644
--- a/src/svnfrontend/editpropsdlg.ui
+++ b/src/svnfrontend/editpropsdlg.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
- <cstring>tqlayout1</cstring>
+ <cstring>layout1</cstring>
</property>
<hbox>
<property name="name">
@@ -37,7 +37,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>107</width>
<height>20</height>
@@ -79,7 +79,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
- <cstring>tqlayout24</cstring>
+ <cstring>layout24</cstring>
</property>
<grid>
<property name="name">
@@ -105,7 +105,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
- <cstring>tqlayout23</cstring>
+ <cstring>layout23</cstring>
</property>
<vbox>
<property name="name">
@@ -121,7 +121,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>60</height>
@@ -154,7 +154,7 @@
<property name="name">
<cstring>helpButton</cstring>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>36</width>
<height>36</height>
@@ -185,7 +185,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>50</height>
diff --git a/src/svnfrontend/filelistviewitem.cpp b/src/svnfrontend/filelistviewitem.cpp
index a285590..812ee69 100644
--- a/src/svnfrontend/filelistviewitem.cpp
+++ b/src/svnfrontend/filelistviewitem.cpp
@@ -118,7 +118,7 @@ void FileListViewItem::setStat(const svn::StatusPtr&stat)
init();
}
-void FileListViewItem::refreshtqStatus(bool childs,TQPtrList<SvnItem>*exclude,bool depsonly)
+void FileListViewItem::refreshStatus(bool childs,TQPtrList<SvnItem>*exclude,bool depsonly)
{
FileListViewItem*it;
@@ -133,18 +133,18 @@ void FileListViewItem::refreshtqStatus(bool childs,TQPtrList<SvnItem>*exclude,bo
it = static_cast<FileListViewItem*>(parent());
if (!childs) {
if (it && (!exclude || exclude->find(it)==-1)) {
- it->refreshtqStatus(false,exclude);
+ it->refreshStatus(false,exclude);
}
} else if (firstChild()){
it = static_cast<FileListViewItem*>(firstChild());
while (it) {
if (!exclude || exclude->find(it)==-1) {
- it->refreshtqStatus(true,exclude);
+ it->refreshStatus(true,exclude);
}
it = static_cast<FileListViewItem*>(it->nextSibling());
}
}
- tqrepaint();
+ repaint();
}
void FileListViewItem::makePixmap()
@@ -192,7 +192,7 @@ void FileListViewItem::update()
setText(COL_STATUS,infoText());
setText(COL_LAST_AUTHOR,cmtAuthor());
setText(COL_LAST_DATE,KGlobal::locale()->formatDateTime(fullDate()));
- setText(COL_LAST_REV,TQString("%1").tqarg(cmtRev()));
+ setText(COL_LAST_REV,TQString("%1").arg(cmtRev()));
setText(COL_IS_LOCKED,lockOwner());
}
@@ -228,7 +228,7 @@ void FileListViewItem::removeChilds()
}
}
-void FileListViewItem::updatetqStatus(const svn::StatusPtr&s)
+void FileListViewItem::updateStatus(const svn::StatusPtr&s)
{
setStat(s);
}
@@ -247,11 +247,11 @@ SvnItem* FileListViewItem::getParentItem()const
return temp->fullName();
}
-void FileListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment)
+void FileListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment)
{
bool colors = Kdesvnsettings::colored_state();
if (!colors||m_bgColor==NONE) {
- KListViewItem::paintCell(p,cg,column,width,tqalignment);
+ KListViewItem::paintCell(p,cg,column,width,alignment);
return;
}
TQColorGroup _cg = cg;
@@ -285,7 +285,7 @@ void FileListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int colum
_bgColor = Kdesvnsettings::color_need_lock();
break;
default:
- KListViewItem::paintCell(p,cg,column,width,tqalignment);
+ KListViewItem::paintCell(p,cg,column,width,alignment);
return;
break;
}
@@ -301,7 +301,7 @@ void FileListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int colum
_cg.setColor(TQColorGroup::Base,_bgColor);
}
}
- TQListViewItem::paintCell(p, _cg, column, width, tqalignment);
+ TQListViewItem::paintCell(p, _cg, column, width, alignment);
}
const svn::Revision&FileListViewItem::correctPeg()const
diff --git a/src/svnfrontend/filelistviewitem.h b/src/svnfrontend/filelistviewitem.h
index cc82456..c1685fa 100644
--- a/src/svnfrontend/filelistviewitem.h
+++ b/src/svnfrontend/filelistviewitem.h
@@ -44,8 +44,8 @@ public:
virtual ~FileListViewItem();
virtual int compare( TQListViewItem* i, int col, bool ascending ) const;
- virtual void updatetqStatus(const svn::StatusPtr&s);
- virtual void refreshtqStatus(bool childs=false,TQPtrList<SvnItem> *exclude = 0,bool depsonly=false);
+ virtual void updateStatus(const svn::StatusPtr&s);
+ virtual void refreshStatus(bool childs=false,TQPtrList<SvnItem> *exclude = 0,bool depsonly=false);
#if 0
virtual void refreshMe();
@@ -60,7 +60,7 @@ public:
virtual SvnItem* getParentItem()const;
virtual FileListViewItem*fItem(){return this;}
virtual void setStat(const svn::StatusPtr&);
- virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment);
+ virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment);
virtual void setOpen(bool o);
virtual void setOpenNoBlock(bool o);
diff --git a/src/svnfrontend/fillcachethread.cpp b/src/svnfrontend/fillcachethread.cpp
index e2ee7f4..92c805e 100644
--- a/src/svnfrontend/fillcachethread.cpp
+++ b/src/svnfrontend/fillcachethread.cpp
@@ -110,7 +110,7 @@ void FillCacheThread::run()
rl.fillCache(Head.revnum());
}
i=Head.revnum();
- m_SvnContextListener->contextNotify(i18n("Cache filled up to revision %1").tqarg(i));
+ m_SvnContextListener->contextNotify(i18n("Cache filled up to revision %1").arg(i));
}
} catch (const svn::Exception&e) {
m_SvnContextListener->contextNotify(e.msg());
diff --git a/src/svnfrontend/fronthelpers/checkoutinfo.ui b/src/svnfrontend/fronthelpers/checkoutinfo.ui
index 048711e..ee7f673 100644
--- a/src/svnfrontend/fronthelpers/checkoutinfo.ui
+++ b/src/svnfrontend/fronthelpers/checkoutinfo.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<grid>
<property name="name">
@@ -64,7 +64,7 @@
<property name="text">
<string>Enter URL:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -96,7 +96,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@@ -134,7 +134,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@@ -144,7 +144,7 @@
<property name="name">
<cstring>m_DepthSelector</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>20</width>
<height>20</height>
diff --git a/src/svnfrontend/fronthelpers/cursorstack.h b/src/svnfrontend/fronthelpers/cursorstack.h
index 4daf061..cadad9b 100644
--- a/src/svnfrontend/fronthelpers/cursorstack.h
+++ b/src/svnfrontend/fronthelpers/cursorstack.h
@@ -39,7 +39,7 @@ public:
* Create instance and changes the application cursor to \a c
* \param c cursortype to set.
*/
- CursorStack(TQt::tqCursorShape c = TQt::WaitCursor)
+ CursorStack(TQt::CursorShape c = TQt::WaitCursor)
{
KApplication::setOverrideCursor(TQCursor(c));
}
diff --git a/src/svnfrontend/fronthelpers/propertylist.cpp b/src/svnfrontend/fronthelpers/propertylist.cpp
index 1b9a2d2..7dd0d9d 100644
--- a/src/svnfrontend/fronthelpers/propertylist.cpp
+++ b/src/svnfrontend/fronthelpers/propertylist.cpp
@@ -71,7 +71,7 @@ void Propertylist::displayList(const svn::PathPropertiesMapListPtr&propList,bool
}
}
viewport()->setUpdatesEnabled(true);
- viewport()->tqrepaint();
+ viewport()->repaint();
}
void Propertylist::clear()
diff --git a/src/svnfrontend/fronthelpers/rangeinput_impl.cpp b/src/svnfrontend/fronthelpers/rangeinput_impl.cpp
index e21eaca..1cd37f6 100644
--- a/src/svnfrontend/fronthelpers/rangeinput_impl.cpp
+++ b/src/svnfrontend/fronthelpers/rangeinput_impl.cpp
@@ -21,7 +21,7 @@
#include "helpers/sub2qt.h"
#include <tqpushbutton.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqradiobutton.h>
#include <knuminput.h>
#include <kdatetimewidget.h>
@@ -36,8 +36,8 @@ Rangeinput_impl::Rangeinput_impl(TQWidget *parent, const char *name)
m_endRevInput->setRange(0,INT_MAX,1,false);
m_startRevInput->setValue(1);
m_endRevInput->setValue(1);
- m_startDateInput->setDateTime(TQDateTime::tqcurrentDateTime ());
- m_stopDateInput->setDateTime(TQDateTime::tqcurrentDateTime ());
+ m_startDateInput->setDateTime(TQDateTime::currentDateTime ());
+ m_stopDateInput->setDateTime(TQDateTime::currentDateTime ());
m_stopDateInput->setEnabled(false);
m_startDateInput->setEnabled(false);
m_stopHeadButton->setChecked(true);
@@ -186,8 +186,8 @@ void Rangeinput_impl::setStartOnly(bool theValue)
m_startRevBox->setTitle(i18n( "Start with revision" ));
}
updateGeometry();
- setMinimumSize(tqminimumSizeHint());
- resize( TQSize(397, 272).expandedTo(tqminimumSizeHint()) );
+ setMinimumSize(minimumSizeHint());
+ resize( TQSize(397, 272).expandedTo(minimumSizeHint()) );
}
#include "rangeinput_impl.moc"
diff --git a/src/svnfrontend/graphtree/revgraphview.cpp b/src/svnfrontend/graphtree/revgraphview.cpp
index bb2bb3c..89d36f7 100644
--- a/src/svnfrontend/graphtree/revgraphview.cpp
+++ b/src/svnfrontend/graphtree/revgraphview.cpp
@@ -412,28 +412,28 @@ const TQString&RevGraphView::getLabelstring(const TQString&nodeName)
TQString res;
switch (it1.data().Action) {
case 'D':
- res = i18n("Deleted at revision %1").tqarg(it1.data().rev);
+ res = i18n("Deleted at revision %1").arg(it1.data().rev);
break;
case 'A':
res = i18n("Added at revision %1 as %2")
- .tqarg(it1.data().rev)
- .tqarg(it1.data().name);
+ .arg(it1.data().rev)
+ .arg(it1.data().name);
break;
case 'C':
case 1:
- res = i18n("Copied to %1 at revision %2").tqarg(it1.data().name).tqarg(it1.data().rev);
+ res = i18n("Copied to %1 at revision %2").arg(it1.data().name).arg(it1.data().rev);
break;
case 2:
- res = i18n("Renamed to %1 at revision %2").tqarg(it1.data().name).tqarg(it1.data().rev);
+ res = i18n("Renamed to %1 at revision %2").arg(it1.data().name).arg(it1.data().rev);
break;
case 'M':
- res = i18n("Modified at revision %1").tqarg(it1.data().rev);
+ res = i18n("Modified at revision %1").arg(it1.data().rev);
break;
case 'R':
- res = i18n("Replaced at revision %1").tqarg(it1.data().rev);
+ res = i18n("Replaced at revision %1").arg(it1.data().rev);
break;
default:
- res=i18n("Revision %1").tqarg(it1.data().rev);
+ res=i18n("Revision %1").arg(it1.data().rev);
break;
}
m_LabelMap[nodeName]=res;
@@ -450,7 +450,7 @@ void RevGraphView::dumpRevtree()
TQTextStream* stream = dotTmpFile->textStream();
if (!stream) {
- showText(i18n("Could not open tempfile %1 for writing.").tqarg(dotTmpFile->name()));
+ showText(i18n("Could not open tempfile %1 for writing.").arg(dotTmpFile->name()));
return;
}
@@ -481,7 +481,7 @@ void RevGraphView::dumpRevtree()
for (it1=m_Tree.begin();it1!=m_Tree.end();++it1) {
*stream << " " << it1.key()
<< "[ "
- << "tqshape=box, "
+ << "shape=box, "
<< "label=\""<<getLabelstring(it1.key())<<"\","
<< "];\n";
for (unsigned j=0;j<it1.data().targets.count();++j) {
@@ -501,9 +501,9 @@ void RevGraphView::dumpRevtree()
if (!renderProcess->start(KProcess::NotifyOnExit,KProcess::Stdout)) {
TQString arguments;
for (unsigned c=0;c<renderProcess->args().count();++c) {
- arguments+=TQString(" %1").tqarg(renderProcess->args()[c].data());
+ arguments+=TQString(" %1").arg(renderProcess->args()[c].data());
}
- TQString error = i18n("Could not start process \"%1\".").tqarg(arguments);
+ TQString error = i18n("Could not start process \"%1\".").arg(arguments);
showText(error);
renderProcess=0;
//delete renderProcess;<
@@ -542,19 +542,19 @@ TQString RevGraphView::toolTip(const TQString&_nodename,bool full)const
res = TQString("<html><body>");
if (!full) {
- res+=TQString("<b>%1</b>").tqarg(it.data().name);
+ res+=TQString("<b>%1</b>").arg(it.data().name);
res += i18n("<br>Revision: %1<br>Author: %2<br>Date: %3<br>Log: %4</html>")
- .tqarg(it.data().rev)
- .tqarg(it.data().Author)
- .tqarg(it.data().Date)
- .tqarg(sm);
+ .arg(it.data().rev)
+ .arg(it.data().Author)
+ .arg(it.data().Date)
+ .arg(sm);
} else {
res+="<table><tr><th colspan=\"2\"><b>"+it.data().name+"</b></th></tr>";
res+=rstart;
- res+=i18n("<b>Revision</b>%1%2%3").tqarg(csep).tqarg(it.data().rev).tqarg(rend);
- res+=rstart+i18n("<b>Author</b>%1%2%3").tqarg(csep).tqarg(it.data().Author).tqarg(rend);
- res+=rstart+i18n("<b>Date</b>%1%2%3").tqarg(csep).tqarg(it.data().Date).tqarg(rend);
- res+=rstart+i18n("<b>Log</b>%1%2%3").tqarg(csep).tqarg(sm).tqarg(rend);
+ res+=i18n("<b>Revision</b>%1%2%3").arg(csep).arg(it.data().rev).arg(rend);
+ res+=rstart+i18n("<b>Author</b>%1%2%3").arg(csep).arg(it.data().Author).arg(rend);
+ res+=rstart+i18n("<b>Date</b>%1%2%3").arg(csep).arg(it.data().Date).arg(rend);
+ res+=rstart+i18n("<b>Log</b>%1%2%3").arg(csep).arg(sm).arg(rend);
res+="</table></body></html>";
}
return res;
diff --git a/src/svnfrontend/graphtree/revisiontree.cpp b/src/svnfrontend/graphtree/revisiontree.cpp
index 335994e..152a2b7 100644
--- a/src/svnfrontend/graphtree/revisiontree.cpp
+++ b/src/svnfrontend/graphtree/revisiontree.cpp
@@ -42,7 +42,7 @@
#include <tqdatetime.h>
#include <tqlabel.h>
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqregexp.h>
#define INTERNALCOPY 1
@@ -104,13 +104,13 @@ bool RtreeData::getLogs(const TQString&reposRoot,const svn::Revision&startr,cons
} else if (Kdesvnsettings::network_on()) {
m_Client->log(reposRoot,endr,startr,m_OldHistory,startr,true,false,0);
} else {
- KMessageBox::error(0,i18n("Could not retrieve logs, reason:\n%1").tqarg(i18n("No logcache possible due broken database and networking not allowed.")));
+ KMessageBox::error(0,i18n("Could not retrieve logs, reason:\n%1").arg(i18n("No logcache possible due broken database and networking not allowed.")));
return false;
}
}
} catch (const svn::Exception&ce) {
kdDebug()<<ce.msg() << endl;
- KMessageBox::error(0,i18n("Could not retrieve logs, reason:\n%1").tqarg(ce.msg()));
+ KMessageBox::error(0,i18n("Could not retrieve logs, reason:\n%1").arg(ce.msg()));
return false;
}
return true;
@@ -138,7 +138,7 @@ RevisionTree::RevisionTree(svn::Client*aClient,
kdDebug()<<"Origin: "<<origin << endl;
m_Data->progress=new KProgressDialog(
- parent,"progressdlg",i18n("Scanning logs"),i18n("Scanning the logs for %1").tqarg(origin),true);
+ parent,"progressdlg",i18n("Scanning logs"),i18n("Scanning the logs for %1").arg(origin),true);
m_Data->progress->setMinimumDuration(100);
m_Data->progress->show();
m_Data->progress->setAllowCancel(true);
@@ -237,7 +237,7 @@ bool RevisionTree::topDownScan()
break;
}
label = i18n("%1<br>Check change entry %2 of %3")
- .tqarg(olabel).tqarg(i).tqarg(m_Data->m_OldHistory[j].changedPaths.count());
+ .arg(olabel).arg(i).arg(m_Data->m_OldHistory[j].changedPaths.count());
m_Data->progress->setLabel(label);
kapp->processEvents();
}
@@ -278,7 +278,7 @@ bool RevisionTree::topDownScan()
cancel=true;
break;
}
- label = i18n("%1<br>Check change entry %2 of %3").tqarg(olabel).tqarg(i).tqarg(m_Data->m_OldHistory[j].changedPaths.count());
+ label = i18n("%1<br>Check change entry %2 of %3").arg(olabel).arg(i).arg(m_Data->m_OldHistory[j].changedPaths.count());
m_Data->progress->setLabel(label);
kapp->processEvents();
}
@@ -331,7 +331,7 @@ bool RevisionTree::topDownScan()
cancel=true;
break;
}
- label = i18n("%1<br>Check change entry %2 of %3").tqarg(olabel).tqarg(i).tqarg(m_Data->m_OldHistory[j].changedPaths.count());
+ label = i18n("%1<br>Check change entry %2 of %3").arg(olabel).arg(i).arg(m_Data->m_OldHistory[j].changedPaths.count());
m_Data->progress->setLabel(label);
kapp->processEvents();
}
@@ -364,7 +364,7 @@ static TQString uniqueNodeName(long rev,const TQString&path)
res.replace("\"","_quot_");
res.replace(" ","_space_");
TQString n; n.sprintf("%05ld",rev);
- res = "\""+n+TQString("_%1\"").tqarg(res);
+ res = "\""+n+TQString("_%1\"").arg(res);
return res;
}
diff --git a/src/svnfrontend/graphtree/revtreewidget.cpp b/src/svnfrontend/graphtree/revtreewidget.cpp
index 2652e3c..171e688 100644
--- a/src/svnfrontend/graphtree/revtreewidget.cpp
+++ b/src/svnfrontend/graphtree/revtreewidget.cpp
@@ -23,7 +23,7 @@
#include <tqvariant.h>
#include <tqsplitter.h>
#include <ktextbrowser.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
#include "revgraphview.h"
@@ -44,7 +44,7 @@ RevTreeWidget::RevTreeWidget(TQObject*lt,svn::Client*cl, TQWidget* parent, const
m_Splitter->setOrientation( Qt::Vertical );
m_RevGraphView = new RevGraphView(lt,cl, m_Splitter, "m_RevGraphView" );
- m_RevGraphView->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 2, m_RevGraphView->sizePolicy().hasHeightForWidth() ) );
+ m_RevGraphView->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 2, m_RevGraphView->sizePolicy().hasHeightForWidth() ) );
connect(m_RevGraphView,TQT_SIGNAL(dispDetails(const TQString&)),this,TQT_SLOT(setDetailText(const TQString&)));
connect(m_RevGraphView,
TQT_SIGNAL(makeNorecDiff(const TQString&,const svn::Revision&,const TQString&,const svn::Revision&,TQWidget*)),
@@ -63,10 +63,10 @@ RevTreeWidget::RevTreeWidget(TQObject*lt,svn::Client*cl, TQWidget* parent, const
);
m_Detailstext = new KTextBrowser( m_Splitter, "m_Detailstext" );
- m_Detailstext->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, m_Detailstext->sizePolicy().hasHeightForWidth() ) );
+ m_Detailstext->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, m_Detailstext->sizePolicy().hasHeightForWidth() ) );
m_Detailstext->setResizePolicy( KTextBrowser::Manual );
RevTreeWidgetLayout->addWidget( m_Splitter );
- resize( TQSize(600, 480).expandedTo(tqminimumSizeHint()) );
+ resize( TQSize(600, 480).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
TQValueList<int> list = Kdesvnsettings::tree_detail_height();
if (list.count()==2 && (list[0]>0||list[1]>0)) {
diff --git a/src/svnfrontend/hotcopydlg.ui b/src/svnfrontend/hotcopydlg.ui
index a226642..6dd3193 100644
--- a/src/svnfrontend/hotcopydlg.ui
+++ b/src/svnfrontend/hotcopydlg.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<grid>
<property name="name">
@@ -31,7 +31,7 @@
<property name="text">
<string>Destination folder:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -58,7 +58,7 @@
<property name="text">
<string>Repository to copy:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter|AlignRight</set>
</property>
</widget>
diff --git a/src/svnfrontend/importdir_logmsg.cpp b/src/svnfrontend/importdir_logmsg.cpp
index 5d3d113..62637e8 100644
--- a/src/svnfrontend/importdir_logmsg.cpp
+++ b/src/svnfrontend/importdir_logmsg.cpp
@@ -24,7 +24,7 @@
#include <klocale.h>
#include <tqcheckbox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqvbox.h>
#include <tqwhatsthis.h>
#include <tqtooltip.h>
@@ -81,7 +81,7 @@ bool Importdir_logmsg::createDir()
void Importdir_logmsg::createDirboxDir(const TQString & which)
{
- m_createDirBox->setText(i18n("Create subdir %1 on import").tqarg(which.isEmpty()?i18n("(Last part)"):which));
+ m_createDirBox->setText(i18n("Create subdir %1 on import").arg(which.isEmpty()?i18n("(Last part)"):which));
}
#include "importdir_logmsg.moc"
diff --git a/src/svnfrontend/itemdisplay.cpp b/src/svnfrontend/itemdisplay.cpp
index fb8795b..1d60730 100644
--- a/src/svnfrontend/itemdisplay.cpp
+++ b/src/svnfrontend/itemdisplay.cpp
@@ -82,13 +82,13 @@ bool ItemDisplay::filterOut(const SvnItem*item)
/*!
- \fn ItemDisplay::filterOut(const svn::tqStatus&)
+ \fn ItemDisplay::filterOut(const svn::Status&)
*/
bool ItemDisplay::filterOut(const svn::StatusPtr&item)
{
bool res = false;
- if (!item->validRepostqStatus()) {
+ if (!item->validReposStatus()) {
if ((!Kdesvnsettings::display_unknown_files() && !item->isVersioned()) ||
(Kdesvnsettings::hide_unchanged_files() && item->isRealVersioned() && !item->isModified() && !item->entry().isDir())) {
res = true;
diff --git a/src/svnfrontend/itemdisplay.h b/src/svnfrontend/itemdisplay.h
index f4d1f28..2c3ffbc 100644
--- a/src/svnfrontend/itemdisplay.h
+++ b/src/svnfrontend/itemdisplay.h
@@ -32,7 +32,7 @@ class SvnItem;
namespace svn
{
- class tqStatus;
+ class Status;
}
class ItemDisplay
diff --git a/src/svnfrontend/loaddmpdlg.ui b/src/svnfrontend/loaddmpdlg.ui
index 0c4070c..470a266 100644
--- a/src/svnfrontend/loaddmpdlg.ui
+++ b/src/svnfrontend/loaddmpdlg.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout9</cstring>
+ <cstring>layout9</cstring>
</property>
<grid>
<property name="name">
@@ -31,7 +31,7 @@
<property name="text">
<string>Load into folder:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="toolTip" stdset="0">
@@ -48,7 +48,7 @@
<property name="text">
<string>Dump file:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -64,7 +64,7 @@
<property name="text">
<string>Load into repository:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
diff --git a/src/svnfrontend/merge_dlg.ui b/src/svnfrontend/merge_dlg.ui
index 82aea40..547b07b 100644
--- a/src/svnfrontend/merge_dlg.ui
+++ b/src/svnfrontend/merge_dlg.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<grid>
<property name="name">
@@ -29,7 +29,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
- <cstring>tqlayout6</cstring>
+ <cstring>layout6</cstring>
</property>
<grid>
<property name="name">
@@ -52,7 +52,7 @@
<property name="text">
<string>Source 1:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -68,7 +68,7 @@
<property name="text">
<string>Source 2:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -79,7 +79,7 @@
<property name="text">
<string>Output to:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -87,7 +87,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<grid>
<property name="name">
@@ -145,7 +145,7 @@
<property name="name">
<cstring>m_RangeInput</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>40</width>
<height>40</height>
diff --git a/src/svnfrontend/mergedlg_impl.cpp b/src/svnfrontend/mergedlg_impl.cpp
index 44a07c5..b0c1d87 100644
--- a/src/svnfrontend/mergedlg_impl.cpp
+++ b/src/svnfrontend/mergedlg_impl.cpp
@@ -53,7 +53,7 @@ MergeDlg_impl::MergeDlg_impl(TQWidget *parent, const char *name,bool src1,bool s
m_OutLabel->hide();
}
adjustSize();
- setMinimumSize(tqminimumSizeHint());
+ setMinimumSize(minimumSizeHint());
m_useExternMerge->setChecked(Kdesvnsettings::extern_merge_default());
}
@@ -190,7 +190,7 @@ bool MergeDlg_impl::getMergeRange(Rangeinput_impl::revision_range&range,bool*for
dlg.setHelp("merging-items","tdesvn");
TQWidget* Dialog1Layout = dlg.makeVBoxMainWidget();
ptr = new MergeDlg_impl(Dialog1Layout,"merge_range_dlg",false,false,false);
- dlg.resize( TQSize(480,360).expandedTo(dlg.tqminimumSizeHint()) );
+ dlg.resize( TQSize(480,360).expandedTo(dlg.minimumSizeHint()) );
if (dlg.exec()!=TQDialog::Accepted) {
return false;
}
diff --git a/src/svnfrontend/propertiesdlg.cpp b/src/svnfrontend/propertiesdlg.cpp
index ec1f24d..717b0c2 100644
--- a/src/svnfrontend/propertiesdlg.cpp
+++ b/src/svnfrontend/propertiesdlg.cpp
@@ -29,7 +29,7 @@
#include <tqlabel.h>
#include <tqheader.h>
#include <kpushbutton.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
#include <klocale.h>
diff --git a/src/svnfrontend/stopdlg.cpp b/src/svnfrontend/stopdlg.cpp
index e67d126..305d5d6 100644
--- a/src/svnfrontend/stopdlg.cpp
+++ b/src/svnfrontend/stopdlg.cpp
@@ -27,7 +27,7 @@
#include <twin.h>
#include <tqtimer.h>
#include <tqpushbutton.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqwidgetlist.h>
#include <kprogress.h>
@@ -49,15 +49,15 @@ StopDlg::StopDlg(TQObject*listener,TQWidget *parent, const char *name,const TQSt
mCancelText = actionButton(KDialogBase::Cancel)->text();
TQFrame* mainWidget = plainPage();
- tqlayout = new TQVBoxLayout(mainWidget, 10);
+ layout = new TQVBoxLayout(mainWidget, 10);
mLabel = new TQLabel(text, mainWidget);
- tqlayout->addWidget(mLabel);
+ layout->addWidget(mLabel);
m_ProgressBar=new KProgress(15,mainWidget);
m_ProgressBar->setCenterIndicator (false);
m_ProgressBar->setTextEnabled(false);
- tqlayout->addWidget(m_ProgressBar);
+ layout->addWidget(m_ProgressBar);
m_NetBar = new KProgress(15,mainWidget);
- tqlayout->addWidget(m_NetBar);
+ layout->addWidget(m_NetBar);
mWait = false;
m_LogWindow = 0;
@@ -162,9 +162,9 @@ void StopDlg::slotExtraMessage(const TQString&msg)
if (!m_LogWindow) {
TQFrame* mainWidget = plainPage();
m_LogWindow = new KTextBrowser(mainWidget);
- tqlayout->addWidget(m_LogWindow);
+ layout->addWidget(m_LogWindow);
m_LogWindow->show();
- resize( TQSize(500, 400).expandedTo(tqminimumSizeHint()) );
+ resize( TQSize(500, 400).expandedTo(minimumSizeHint()) );
}
if (m_lastLogLines >= Kdesvnsettings::self()->cmdline_log_minline() &&
isHidden() ) {
@@ -184,11 +184,11 @@ void StopDlg::slotNetProgres(long long int current, long long int max)
TQString s1 = helpers::ByteToString()(current);
if (max > -1 && max != m_NetBar->totalSteps()) {
TQString s2 = helpers::ByteToString()(max);
- m_NetBar->setFormat(i18n("%1 of %2").tqarg(s1).tqarg(s2));
+ m_NetBar->setFormat(i18n("%1 of %2").arg(s1).arg(s2));
m_NetBar->setTotalSteps(max);
}
if (max == -1) {
- m_NetBar->setFormat(i18n("%1 transferred.").tqarg(s1));
+ m_NetBar->setFormat(i18n("%1 transferred.").arg(s1));
m_NetBar->setTotalSteps(current+1);
}
m_NetBar->setValue(current);
diff --git a/src/svnfrontend/stopdlg.h b/src/svnfrontend/stopdlg.h
index 973d30e..635957f 100644
--- a/src/svnfrontend/stopdlg.h
+++ b/src/svnfrontend/stopdlg.h
@@ -62,7 +62,7 @@ protected:
bool m_netBarShown;
TQTime m_StopTick;
KTextBrowser*m_LogWindow;
- TQVBoxLayout*tqlayout;
+ TQVBoxLayout*layout;
TQString m_lastLog;
unsigned int m_lastLogLines;
diff --git a/src/svnfrontend/svnactions.cpp b/src/svnfrontend/svnactions.cpp
index 6e102ea..6374ac5 100644
--- a/src/svnfrontend/svnactions.cpp
+++ b/src/svnfrontend/svnactions.cpp
@@ -78,10 +78,10 @@
#include <tqstring.h>
#include <tqmap.h>
#include <tqpushbutton.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqvaluelist.h>
#include <tqvbox.h>
-#include <tqstylesheet.h>
+#include <stylesheet.h>
#include <tqregexp.h>
#include <tqimage.h>
#include <tqthread.h>
@@ -442,7 +442,7 @@ void SvnActions::makeTree(const TQString&what,const svn::Revision&_rev,const svn
}
kdDebug()<<"Logs for "<<reposRoot<<endl;
TQWidget*disp;
- KDialogBase dlg(m_Data->m_ParentList->realWidget(),"historylist",true,i18n("History of %1").tqarg(info.url().mid(reposRoot.length())),
+ KDialogBase dlg(m_Data->m_ParentList->realWidget(),"historylist",true,i18n("History of %1").arg(info.url().mid(reposRoot.length())),
KDialogBase::Ok,
KDialogBase::Ok,true);
TQWidget* Dialog1Layout = dlg.makeVBoxMainWidget();
@@ -599,7 +599,7 @@ void SvnActions::slotMakeCat(const svn::Revision&start, const TQString&what, con
TQByteArray co = file.readAll();
if (co.size()) {
- KDialogBase*dlg = createDialog(&ptr,TQString(i18n("Content of %1")).tqarg(disp),false,"cat_display_dlg");
+ KDialogBase*dlg = createDialog(&ptr,TQString(i18n("Content of %1")).arg(disp),false,"cat_display_dlg");
if (dlg) {
ptr->setFont(KGlobalSettings::fixedFont());
ptr->setWordWrap(TQTextEdit::NoWrap);
@@ -791,7 +791,7 @@ TQString SvnActions::getInfo(const TQString& _what,const svn::Revision&rev,const
text+=rb+i18n("Lock comment")+cs+
(*it).lockEntry().Comment()+re;
} else {
- svn::SharedPointer<svn::tqStatus> d;
+ svn::SharedPointer<svn::Status> d;
if (checkReposLockCache(_what,d)&& d && d->lockEntry().Locked()) {
text+=rb+i18n("Lock token")+cs+(d->lockEntry().Token())+re;
text+=rb+i18n("Owner")+cs+(d->lockEntry().Owner())+re;
@@ -876,7 +876,7 @@ void SvnActions::slotProperties()
TQValueList<TQString> delList;
dlg.changedItems(setList,delList);
changeProperties(setList,delList,k->fullName());
- k->refreshtqStatus();
+ k->refreshStatus();
EMIT_FINISHED;
}
@@ -972,18 +972,18 @@ bool SvnActions::makeCommit(const svn::Targets&targets)
for (unsigned int i = 0; i < _Cache.count();++i) {
_p = _Cache[i]->path();
if (_Cache[i]->isRealVersioned()&& (
- _Cache[i]->texttqStatus()==svn_wc_status_modified||
- _Cache[i]->texttqStatus()==svn_wc_status_added||
- _Cache[i]->texttqStatus()==svn_wc_status_replaced||
- _Cache[i]->texttqStatus()==svn_wc_status_deleted||
- _Cache[i]->proptqStatus()==svn_wc_status_modified
+ _Cache[i]->textStatus()==svn_wc_status_modified||
+ _Cache[i]->textStatus()==svn_wc_status_added||
+ _Cache[i]->textStatus()==svn_wc_status_replaced||
+ _Cache[i]->textStatus()==svn_wc_status_deleted||
+ _Cache[i]->propStatus()==svn_wc_status_modified
) ) {
- if (_Cache[i]->texttqStatus()==svn_wc_status_deleted) {
+ if (_Cache[i]->textStatus()==svn_wc_status_deleted) {
_check.append(Logmsg_impl::logActionEntry(_p,i18n("Delete"),Logmsg_impl::logActionEntry::DELETE));
} else {
_check.append(Logmsg_impl::logActionEntry(_p,i18n("Commit"),Logmsg_impl::logActionEntry::COMMIT));
}
- } else if (_Cache[i]->texttqStatus()==svn_wc_status_missing) {
+ } else if (_Cache[i]->textStatus()==svn_wc_status_missing) {
_uncheck.append(Logmsg_impl::logActionEntry(_p,i18n("Delete and Commit"),Logmsg_impl::logActionEntry::MISSING_DELETE));
} else if (!_Cache[i]->isVersioned()) {
_uncheck.append(Logmsg_impl::logActionEntry(_p,i18n("Add and Commit"),Logmsg_impl::logActionEntry::ADD_COMMIT));
@@ -1031,7 +1031,7 @@ bool SvnActions::makeCommit(const svn::Targets&targets)
return false;
}
EMIT_REFRESH;
- emit sendNotify(i18n("Committed revision %1.").tqarg(nnum.toString()));
+ emit sendNotify(i18n("Committed revision %1.").arg(nnum.toString()));
return true;
}
@@ -1232,7 +1232,7 @@ void SvnActions::makeDiffinternal(const TQString&p1,const svn::Revision&r1,const
TQByteArray ex;
KTempDir tdir;
tdir.setAutoDelete(true);
- TQString tn = TQString("%1/%2").tqarg(tdir.name()).tqarg("/svndiff");
+ TQString tn = TQString("%1/%2").arg(tdir.name()).arg("/svndiff");
bool ignore_content = Kdesvnsettings::diff_ignore_content();
TQWidget*parent = p?p:m_Data->m_ParentList->realWidget();
TQStringList extraOptions;
@@ -1296,7 +1296,7 @@ void SvnActions::makeNorecDiff(const TQString&p1,const svn::Revision&r1,const TQ
KTempDir tdir;
tdir.setAutoDelete(true);
kdDebug()<<"Non recourse diff"<<endl;
- TQString tn = TQString("%1/%2").tqarg(tdir.name()).tqarg("/svndiff");
+ TQString tn = TQString("%1/%2").arg(tdir.name()).arg("/svndiff");
bool ignore_content = Kdesvnsettings::diff_ignore_content();
try {
StopDlg sdlg(m_Data->m_SvnContextListener,_p?_p:m_Data->m_ParentList->realWidget(),0,"Diffing","Diffing - hit cancel for abort");
@@ -1458,8 +1458,8 @@ void SvnActions::prepareUpdate(bool ask)
return;
}
rdlg->setStartOnly(true);
- /* just here cause tqlayout has changed meanwhile */
- dlg->resize( TQSize(120,60).expandedTo(dlg->tqminimumSizeHint()) );
+ /* just here cause layout has changed meanwhile */
+ dlg->resize( TQSize(120,60).expandedTo(dlg->minimumSizeHint()) );
int result;
if ((result=dlg->exec())==TQDialog::Accepted) {
Rangeinput_impl::revision_range range = rdlg->getRange();
@@ -1511,7 +1511,7 @@ void SvnActions::makeAdd(bool rec)
++liter;
if (cur->isVersioned()) {
KMessageBox::error(m_Data->m_ParentList->realWidget(),i18n("<center>The entry<br>%1<br>is versioned - break.</center>")
- .tqarg(cur->fullName()));
+ .arg(cur->fullName()));
return;
}
items.push_back(svn::Path(cur->fullName()));
@@ -1521,7 +1521,7 @@ void SvnActions::makeAdd(bool rec)
#if 0
while ((cur=liter.current())!=0){
++liter;
- //cur->refreshtqStatus();
+ //cur->refreshStatus();
//emit sigRefreshCurrent(static_cast<FileListViewItem*>(cur->parent()));
}
@@ -1721,7 +1721,7 @@ void SvnActions::slotRevert()
while ((cur=liter.current())!=0){
if (!cur->isVersioned()) {
KMessageBox::error(m_Data->m_ParentList->realWidget(),i18n("<center>The entry<br>%1<br>is not versioned - break.</center>")
- .tqarg(cur->fullName()));
+ .arg(cur->fullName()));
return;
}
displist.append(cur->fullName());
@@ -2178,7 +2178,7 @@ bool SvnActions::makeMove(const TQString&Old,const TQString&New,bool force)
return false;
}
if (nnum != svn::Revision::UNDEFINED) {
- emit sendNotify(i18n("Committed revision %1.").tqarg(nnum.toString()));
+ emit sendNotify(i18n("Committed revision %1.").arg(nnum.toString()));
}
EMIT_REFRESH;
return true;
@@ -2295,15 +2295,15 @@ void SvnActions::makeUnlock(const TQStringList&what,bool breakit)
/*!
- \fn SvnActions::maketqStatus(const TQString&what, svn::StatusEntries&dlist)
+ \fn SvnActions::makeStatus(const TQString&what, svn::StatusEntries&dlist)
*/
-bool SvnActions::maketqStatus(const TQString&what, svn::StatusEntries&dlist, svn::Revision&where,bool rec,bool all)
+bool SvnActions::makeStatus(const TQString&what, svn::StatusEntries&dlist, svn::Revision&where,bool rec,bool all)
{
bool display_ignores = Kdesvnsettings::display_ignored_files();
- return maketqStatus(what,dlist,where,rec,all,display_ignores);
+ return makeStatus(what,dlist,where,rec,all,display_ignores);
}
-bool SvnActions::maketqStatus(const TQString&what, svn::StatusEntries&dlist, svn::Revision&where,bool rec,bool all,bool display_ignores,bool updates)
+bool SvnActions::makeStatus(const TQString&what, svn::StatusEntries&dlist, svn::Revision&where,bool rec,bool all,bool display_ignores,bool updates)
{
bool disp_remote_details = Kdesvnsettings::details_on_remote_listing();
TQString ex;
@@ -2326,7 +2326,7 @@ void SvnActions::checkAddItems(const TQString&path,bool print_error_box)
svn::StatusEntries rlist;
TQStringList displist;
svn::Revision where = svn::Revision::HEAD;
- if (!maketqStatus(path,dlist,where,true,true,false,false)) {
+ if (!makeStatus(path,dlist,where,true,true,false,false)) {
return;
}
for (unsigned int i = 0; i<dlist.size();++i) {
@@ -2402,7 +2402,7 @@ void SvnActions::stopFillCache()
}
delete m_FCThread;
m_FCThread = 0;
- emit sigCachetqStatus(-1,-1);
+ emit sigCacheStatus(-1,-1);
}
}
@@ -2446,14 +2446,14 @@ void SvnActions::checkModthread()
for (unsigned int i = 0; i < m_CThread->getList().count();++i) {
svn::StatusPtr ptr = m_CThread->getList()[i];
if (m_CThread->getList()[i]->isRealVersioned()&& (
- m_CThread->getList()[i]->texttqStatus()==svn_wc_status_modified||
- m_CThread->getList()[i]->texttqStatus()==svn_wc_status_added||
- m_CThread->getList()[i]->texttqStatus()==svn_wc_status_deleted||
- m_CThread->getList()[i]->texttqStatus()==svn_wc_status_replaced||
- m_CThread->getList()[i]->proptqStatus()==svn_wc_status_modified
+ m_CThread->getList()[i]->textStatus()==svn_wc_status_modified||
+ m_CThread->getList()[i]->textStatus()==svn_wc_status_added||
+ m_CThread->getList()[i]->textStatus()==svn_wc_status_deleted||
+ m_CThread->getList()[i]->textStatus()==svn_wc_status_replaced||
+ m_CThread->getList()[i]->propStatus()==svn_wc_status_modified
) ) {
m_Data->m_Cache.insertKey(ptr,ptr->path());
- } else if (m_CThread->getList()[i]->texttqStatus()==svn_wc_status_conflicted) {
+ } else if (m_CThread->getList()[i]->textStatus()==svn_wc_status_conflicted) {
m_Data->m_conflictCache.insertKey(ptr,ptr->path());
}
}
@@ -2478,11 +2478,11 @@ void SvnActions::checkUpdateThread()
bool newer=false;
for (unsigned int i = 0; i < m_UThread->getList().count();++i) {
svn::StatusPtr ptr = m_UThread->getList()[i];
- if (ptr->validRepostqStatus()) {
+ if (ptr->validReposStatus()) {
m_Data->m_UpdateCache.insertKey(ptr,ptr->path());
- ptr->texttqStatus();
- ptr->proptqStatus();
- if (!(ptr->validLocaltqStatus())) {
+ ptr->textStatus();
+ ptr->propStatus();
+ if (!(ptr->validLocalStatus())) {
newer = true;
}
}
@@ -2514,7 +2514,7 @@ bool SvnActions::checkUpdatesRunning()
void SvnActions::addModifiedCache(const svn::StatusPtr&what)
{
- if (what->texttqStatus()==svn_wc_status_conflicted) {
+ if (what->textStatus()==svn_wc_status_conflicted) {
m_Data->m_conflictCache.insertKey(what,what->path());
} else {
m_Data->m_Cache.insertKey(what,what->path());
@@ -2539,9 +2539,9 @@ bool SvnActions::checkReposLockCache(const TQString&path)
return m_Data->m_repoLockCache.findSingleValid(path,false);
}
-bool SvnActions::checkReposLockCache(const TQString&path,svn::SharedPointer<svn::tqStatus>&t)
+bool SvnActions::checkReposLockCache(const TQString&path,svn::SharedPointer<svn::Status>&t)
{
- /// @todo create a method where svn::tqStatus* will be a parameter so no copy is needed but just reading content
+ /// @todo create a method where svn::Status* will be a parameter so no copy is needed but just reading content
return m_Data->m_repoLockCache.findSingleValid(path,t);
}
@@ -2599,7 +2599,7 @@ void SvnActions::customEvent(TQCustomEvent * e)
return;
} else if (e&&e->type()==EVENT_LOGCACHE_STATUS && m_FCThread && m_FCThread->running()) {
FillCacheStatusEvent*fev=(FillCacheStatusEvent*)e;
- emit sigCachetqStatus(fev->current(),fev->max());
+ emit sigCacheStatus(fev->current(),fev->max());
}
}
@@ -2638,11 +2638,11 @@ void SvnActions::removeFromUpdateCache(const TQStringList&what,bool exact_only)
bool SvnActions::isUpdated(const TQString&path)const
{
- svn::SharedPointer<svn::tqStatus> d;
+ svn::SharedPointer<svn::Status> d;
return m_Data->m_UpdateCache.findSingleValid(path,d);
}
-bool SvnActions::getUpdated(const TQString&path,svn::SharedPointer<svn::tqStatus>&d)const
+bool SvnActions::getUpdated(const TQString&path,svn::SharedPointer<svn::Status>&d)const
{
return m_Data->m_UpdateCache.findSingleValid(path,d);
}
diff --git a/src/svnfrontend/svnactions.h b/src/svnfrontend/svnactions.h
index 02f0bcb..dc7645a 100644
--- a/src/svnfrontend/svnactions.h
+++ b/src/svnfrontend/svnactions.h
@@ -95,15 +95,15 @@ public:
void makeLock(const TQStringList&,const TQString&,bool);
void makeUnlock(const TQStringList&,bool);
- bool maketqStatus(const TQString&what, svn::StatusEntries&dlist, svn::Revision&where, bool rec=false,bool all=true);
- bool maketqStatus(const TQString&what, svn::StatusEntries&dlist, svn::Revision&where, bool rec,bool all,bool display_ignored,bool updates=false);
+ bool makeStatus(const TQString&what, svn::StatusEntries&dlist, svn::Revision&where, bool rec=false,bool all=true);
+ bool makeStatus(const TQString&what, svn::StatusEntries&dlist, svn::Revision&where, bool rec,bool all,bool display_ignored,bool updates=false);
bool makeList(const TQString&url,svn::DirEntries&dlist,svn::Revision&where,bool rec=false);
bool createModifiedCache(const TQString&base);
bool checkModifiedCache(const TQString&path);
bool checkConflictedCache(const TQString&path);
bool checkReposLockCache(const TQString&path);
- bool checkReposLockCache(const TQString&path,svn::SharedPointer<svn::tqStatus>&t);
+ bool checkReposLockCache(const TQString&path,svn::SharedPointer<svn::Status>&t);
void addModifiedCache(const svn::StatusPtr&what);
void deleteFromModifiedCache(const TQString&what);
@@ -152,7 +152,7 @@ public:
bool createUpdateCache(const TQString&what);
bool checkUpdateCache(const TQString&path)const;
bool isUpdated(const TQString&path)const;
- bool getUpdated(const TQString&path,svn::SharedPointer<svn::tqStatus>&d)const;
+ bool getUpdated(const TQString&path,svn::SharedPointer<svn::Status>&d)const;
void clearUpdateCache();
void removeFromUpdateCache(const TQStringList&what,bool exact_only);
void stopCheckModThread();
@@ -242,7 +242,7 @@ signals:
void sigRefreshIcons(bool);
void sigExtraLogMsg(const TQString&);
void sigGotourl(const TQString&);
- void sigCachetqStatus(TQ_LONG,TQ_LONG);
+ void sigCacheStatus(TQ_LONG,TQ_LONG);
protected slots:
virtual void wroteStdin(KProcess*);
diff --git a/src/svnfrontend/svnfiletip.cpp b/src/svnfrontend/svnfiletip.cpp
index 3619f7e..bf772e8 100644
--- a/src/svnfrontend/svnfiletip.cpp
+++ b/src/svnfrontend/svnfiletip.cpp
@@ -28,7 +28,7 @@
#include <tqlabel.h>
#include <tqtooltip.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpainter.h>
#include <tqscrollview.h>
#include <tqtimer.h>
@@ -46,12 +46,12 @@ SvnFileTip::SvnFileTip(TQScrollView*parent)
{
m_iconLabel = new TQLabel(this);
m_textLabel = new TQLabel(this);
- m_textLabel->tqsetAlignment(TQt::AlignAuto | TQt::AlignTop);
+ m_textLabel->setAlignment(TQt::AlignAuto | TQt::AlignTop);
- TQGridLayout* tqlayout = new TQGridLayout(this, 1, 2, 8, 0);
- tqlayout->addWidget(m_iconLabel, 0, 0);
- tqlayout->addWidget(m_textLabel, 0, 1);
- tqlayout->setResizeMode(TQLayout::Fixed);
+ TQGridLayout* layout = new TQGridLayout(this, 1, 2, 8, 0);
+ layout->addWidget(m_iconLabel, 0, 0);
+ layout->addWidget(m_textLabel, 0, 1);
+ layout->setResizeMode(TQLayout::Fixed);
setPalette( TQToolTip::palette() );
setMargin( 1 );
@@ -190,7 +190,7 @@ void SvnFileTip::drawContents( TQPainter *p )
}
if ( m_corners[m_corner].isNull())
- m_corners[m_corner].load( locate( "data", TQString::tqfromLatin1( "konqueror/pics/%1.png" ).tqarg( names[m_corner] ) ) );
+ m_corners[m_corner].load( locate( "data", TQString::fromLatin1( "konqueror/pics/%1.png" ).arg( names[m_corner] ) ) );
TQPixmap &pix = m_corners[m_corner];
diff --git a/src/svnfrontend/svnitem.cpp b/src/svnfrontend/svnitem.cpp
index 55015a3..dee0435 100644
--- a/src/svnfrontend/svnitem.cpp
+++ b/src/svnfrontend/svnitem.cpp
@@ -68,7 +68,7 @@ protected:
};
SvnItem_p::SvnItem_p()
- :ref_count(),m_Stat(new svn::tqStatus())
+ :ref_count(),m_Stat(new svn::Status())
{
init();
}
@@ -238,11 +238,11 @@ TQPixmap SvnItem::getPixmap(const TQPixmap&_p,int size,bool overlay)
SvnActions*wrap = getWrapper();
bool mod = false;
TQPixmap p2 = TQPixmap();
- if (p_Item->m_Stat->texttqStatus()==svn_wc_status_conflicted) {
+ if (p_Item->m_Stat->textStatus()==svn_wc_status_conflicted) {
m_bgColor = CONFLICT;
if (overlay)
p2 = tdesvnPartFactory::instance()->iconLoader()->loadIcon("tdesvnconflicted",KIcon::Desktop,size);
- } else if (p_Item->m_Stat->texttqStatus ()==svn_wc_status_missing) {
+ } else if (p_Item->m_Stat->textStatus ()==svn_wc_status_missing) {
m_bgColor = MISSING;
} else if (isLocked()||wrap->checkReposLockCache(fullName())) {
if (overlay) p2 = tdesvnPartFactory::instance()->iconLoader()->loadIcon("tdesvnlocked",KIcon::Desktop,size);
@@ -253,10 +253,10 @@ TQPixmap SvnItem::getPixmap(const TQPixmap&_p,int size,bool overlay)
} else if (wrap->isUpdated(p_Item->m_Stat->path())) {
if (overlay) p2 = tdesvnPartFactory::instance()->iconLoader()->loadIcon("tdesvnupdates",KIcon::Desktop,size);
m_bgColor = UPDATES;
- } else if (p_Item->m_Stat->texttqStatus()==svn_wc_status_deleted) {
+ } else if (p_Item->m_Stat->textStatus()==svn_wc_status_deleted) {
if (overlay) p2 = tdesvnPartFactory::instance()->iconLoader()->loadIcon("tdesvndeleted",KIcon::Desktop,size);
m_bgColor = DELETED;
- } else if (p_Item->m_Stat->texttqStatus()==svn_wc_status_added ) {
+ } else if (p_Item->m_Stat->textStatus()==svn_wc_status_added ) {
if (overlay) p2 = tdesvnPartFactory::instance()->iconLoader()->loadIcon("tdesvnadded",KIcon::Desktop,size);
m_bgColor = ADDED;
} else if (isModified()) {
@@ -358,26 +358,26 @@ bool SvnItem::isRealVersioned()const
bool SvnItem::isIgnored()const
{
- return p_Item->m_Stat->texttqStatus()==svn_wc_status_ignored;
+ return p_Item->m_Stat->textStatus()==svn_wc_status_ignored;
}
bool SvnItem::isRemoteAdded()const
{
return getWrapper()->isUpdated(p_Item->m_Stat->path()) &&
- p_Item->m_Stat->validRepostqStatus()&&!p_Item->m_Stat->validLocaltqStatus();
+ p_Item->m_Stat->validReposStatus()&&!p_Item->m_Stat->validLocalStatus();
}
TQString SvnItem::infoText()const
{
TQString info_text = "";
if (getWrapper()->isUpdated(p_Item->m_Stat->path())) {
- if (p_Item->m_Stat->validRepostqStatus()&&!p_Item->m_Stat->validLocaltqStatus()) {
+ if (p_Item->m_Stat->validReposStatus()&&!p_Item->m_Stat->validLocalStatus()) {
info_text = i18n("Added in repository");
} else {
info_text = i18n("Needs update");
}
} else {
- switch(p_Item->m_Stat->texttqStatus ()) {
+ switch(p_Item->m_Stat->textStatus ()) {
case svn_wc_status_modified:
info_text = i18n("Locally modified");
break;
@@ -412,7 +412,7 @@ TQString SvnItem::infoText()const
break;
}
if (info_text.isEmpty()) {
- switch (p_Item->m_Stat->proptqStatus ()) {
+ switch (p_Item->m_Stat->propStatus ()) {
case svn_wc_status_modified:
info_text = i18n("Property modified");
break;
@@ -444,7 +444,7 @@ TQString SvnItem::lockOwner()const
if (p_Item->m_Stat->entry().lockEntry().Locked()) {
return p_Item->m_Stat->entry().lockEntry().Owner();
}
- svn::SharedPointer<svn::tqStatus> tmp;
+ svn::SharedPointer<svn::Status> tmp;
if (getWrapper()->checkReposLockCache(fullName(),tmp) && tmp) {
return tmp->lockEntry().Owner();
}
@@ -457,8 +457,8 @@ TQString SvnItem::lockOwner()const
*/
bool SvnItem::isModified()const
{
- return p_Item->m_Stat->texttqStatus ()==svn_wc_status_modified||p_Item->m_Stat->proptqStatus()==svn_wc_status_modified
- ||p_Item->m_Stat->texttqStatus ()==svn_wc_status_replaced;
+ return p_Item->m_Stat->textStatus ()==svn_wc_status_modified||p_Item->m_Stat->propStatus()==svn_wc_status_modified
+ ||p_Item->m_Stat->textStatus ()==svn_wc_status_replaced;
}
const svn::StatusPtr& SvnItem::stat()const
@@ -472,22 +472,22 @@ const svn::StatusPtr& SvnItem::stat()const
*/
bool SvnItem::isNormal()const
{
- return p_Item->m_Stat->texttqStatus()==svn_wc_status_normal;
+ return p_Item->m_Stat->textStatus()==svn_wc_status_normal;
}
bool SvnItem::isMissing()const
{
- return p_Item->m_Stat->texttqStatus()==svn_wc_status_missing;
+ return p_Item->m_Stat->textStatus()==svn_wc_status_missing;
}
bool SvnItem::isDeleted()const
{
- return p_Item->m_Stat->texttqStatus()==svn_wc_status_deleted;
+ return p_Item->m_Stat->textStatus()==svn_wc_status_deleted;
}
bool SvnItem::isConflicted()const
{
- return p_Item->m_Stat->texttqStatus()==svn_wc_status_conflicted;
+ return p_Item->m_Stat->textStatus()==svn_wc_status_conflicted;
}
/*!
diff --git a/src/svnfrontend/svnitem.h b/src/svnfrontend/svnitem.h
index 11458fa..76c2533 100644
--- a/src/svnfrontend/svnitem.h
+++ b/src/svnfrontend/svnitem.h
@@ -68,7 +68,7 @@ public:
virtual TQString getParentDir()const=0;
virtual SvnItem* getParentItem()const=0;
virtual const svn::Revision&correctPeg()const=0;
- virtual void refreshtqStatus(bool childs=false,TQPtrList<SvnItem> *exclude = 0,bool depsonly=false)=0;
+ virtual void refreshStatus(bool childs=false,TQPtrList<SvnItem> *exclude = 0,bool depsonly=false)=0;
TQPixmap getPixmap(int size,bool overlay=true);
TQPixmap getPixmap(const TQPixmap&,int size,bool overlay=true);
diff --git a/src/svnfrontend/svnlogdlg.ui b/src/svnfrontend/svnlogdlg.ui
index 1c139cb..5b1ca1e 100644
--- a/src/svnfrontend/svnlogdlg.ui
+++ b/src/svnfrontend/svnlogdlg.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@@ -29,7 +29,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<grid>
<property name="name">
@@ -81,7 +81,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>107</width>
<height>20</height>
@@ -246,7 +246,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@@ -321,7 +321,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>42</width>
<height>20</height>
diff --git a/src/svnfrontend/svnlogdlgimp.cpp b/src/svnfrontend/svnlogdlgimp.cpp
index a81ce18..fb14366 100644
--- a/src/svnfrontend/svnlogdlgimp.cpp
+++ b/src/svnfrontend/svnlogdlgimp.cpp
@@ -38,7 +38,7 @@
#include <tqdatetime.h>
#include <tqheader.h>
#include <tqsplitter.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqpopupmenu.h>
#include <list>
@@ -100,7 +100,7 @@ LogListViewItem::LogListViewItem(KListView*_parent,const svn::LogEntry&_entry)
setMultiLinesEnabled(false);
_revision=_entry.revision;
fullDate=svn::DateTime(_entry.date);
- setText(COL_REV,TQString("%1").tqarg(_revision));
+ setText(COL_REV,TQString("%1").arg(_revision));
setText(COL_AUTHOR,_entry.author);
setText(COL_DATE,helpers::sub2qt::apr_time2qtString(_entry.date));
_message = _entry.message;
@@ -154,7 +154,7 @@ LogChangePathItem::LogChangePathItem(KListView*parent,const svn::LogChangePathEn
_source = e.copyFromPath;
if (e.copyFromRevision>-1)
{
- setText(2,i18n("%1 at revision %2").tqarg(e.copyFromPath).tqarg(e.copyFromRevision));
+ setText(2,i18n("%1 at revision %2").arg(e.copyFromPath).arg(e.copyFromRevision));
}
}
@@ -262,7 +262,7 @@ void SvnLogDlgImp::dispLog(const svn::SharedPointer<svn::LogEntriesMap>&_log,con
m_Entries = _log;
kdDebug()<<"What: "<<what << endl;
if (!what.isEmpty()){
- setCaption(i18n("SVN Log of %1").tqarg(what));
+ setCaption(i18n("SVN Log of %1").arg(what));
} else {
setCaption(i18n("SVN Log"));
}
@@ -444,9 +444,9 @@ void SvnLogDlgImp::saveSize()
TQRect desk = TQApplication::desktop()->screenGeometry(scnum);
KConfigGroupSaver cs(Kdesvnsettings::self()->config(), groupName);
TQSize sizeToSave = size();
- Kdesvnsettings::self()->config()->writeEntry( TQString::tqfromLatin1("Width %1").tqarg( desk.width()),
+ Kdesvnsettings::self()->config()->writeEntry( TQString::fromLatin1("Width %1").arg( desk.width()),
TQString::number( sizeToSave.width()), true, false);
- Kdesvnsettings::self()->config()->writeEntry( TQString::tqfromLatin1("Height %1").tqarg( desk.height()),
+ Kdesvnsettings::self()->config()->writeEntry( TQString::fromLatin1("Height %1").arg( desk.height()),
TQString::number( sizeToSave.height()), true, false);
}
@@ -455,11 +455,11 @@ TQSize SvnLogDlgImp::dialogSize()
int w, h;
int scnum = TQApplication::desktop()->screenNumber(parentWidget());
TQRect desk = TQApplication::desktop()->screenGeometry(scnum);
- w = tqsizeHint().width();
- h = tqsizeHint().height();
+ w = sizeHint().width();
+ h = sizeHint().height();
KConfigGroupSaver cs(Kdesvnsettings::self()->config(), groupName);
- w = Kdesvnsettings::self()->config()->readNumEntry( TQString::tqfromLatin1("Width %1").tqarg( desk.width()), w );
- h = Kdesvnsettings::self()->config()->readNumEntry( TQString::tqfromLatin1("Height %1").tqarg( desk.height()), h );
+ w = Kdesvnsettings::self()->config()->readNumEntry( TQString::fromLatin1("Width %1").arg( desk.width()), w );
+ h = Kdesvnsettings::self()->config()->readNumEntry( TQString::fromLatin1("Height %1").arg( desk.height()), h );
return( TQSize( w, h ) );
}
diff --git a/src/svnfrontend/tcontextlistener.cpp b/src/svnfrontend/tcontextlistener.cpp
index 53d7892..486af86 100644
--- a/src/svnfrontend/tcontextlistener.cpp
+++ b/src/svnfrontend/tcontextlistener.cpp
@@ -188,9 +188,9 @@ void ThreadContextListener::contextProgress(long long int current, long long int
TQString s1 = helpers::ByteToString()(current);
if (max>-1) {
TQString s2 = helpers::ByteToString()(max);
- msg = i18n("%1 of %2 transferred.").tqarg(s1).tqarg(s2);
+ msg = i18n("%1 of %2 transferred.").arg(s1).arg(s2);
} else {
- msg = i18n("%1 transferred.").tqarg(s1);
+ msg = i18n("%1 transferred.").arg(s1);
}
_notify->msg = msg;
ev->setData((void*)_notify);
diff --git a/src/svnfrontend/tdesvnfilelist.cpp b/src/svnfrontend/tdesvnfilelist.cpp
index 131ea18..23563fd 100644
--- a/src/svnfrontend/tdesvnfilelist.cpp
+++ b/src/svnfrontend/tdesvnfilelist.cpp
@@ -65,7 +65,7 @@
#include <tqpainter.h>
#include <tqstyle.h>
#include <tqapplication.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqtooltip.h>
#include <tqregexp.h>
@@ -235,7 +235,7 @@ tdesvnfilelist::tdesvnfilelist(KActionCollection*aCollect,TQWidget *parent, cons
this,TQT_SLOT(slotDropped(TQDropEvent*,TQListViewItem*)));
connect(m_SvnWrapper,TQT_SIGNAL(sigGotourl(const TQString&)),this,TQT_SLOT(_openURL(const TQString&)));
- connect(m_SvnWrapper,TQT_SIGNAL(sigCachetqStatus(TQ_LONG,TQ_LONG)),this,TQT_SIGNAL(sigCachetqStatus(TQ_LONG,TQ_LONG)));
+ connect(m_SvnWrapper,TQT_SIGNAL(sigCacheStatus(TQ_LONG,TQ_LONG)),this,TQT_SIGNAL(sigCacheStatus(TQ_LONG,TQ_LONG)));
connect(m_SvnWrapper,TQT_SIGNAL(sigThreadsChanged()),this,TQT_SLOT(enableActions()));
m_pList->connectDirTimer(TQT_TQOBJECT(this));
@@ -655,7 +655,7 @@ bool tdesvnfilelist::checkDirs(const TQString&_what,FileListViewItem * _parent)
}
// prevent this from checking unversioned folder. FIXME: what happen when we do open url on a non-working-copy folder??
if (!isWorkingCopy()|| (!_parent) || ((_parent) && (_parent->isVersioned()))) {
- if (!m_SvnWrapper->maketqStatus(what,dlist,m_pList->m_remoteRevision) ) {
+ if (!m_SvnWrapper->makeStatus(what,dlist,m_pList->m_remoteRevision) ) {
kdDebug() << "unable makeStatus" <<endl;
return false;
}
@@ -682,7 +682,7 @@ bool tdesvnfilelist::checkDirs(const TQString&_what,FileListViewItem * _parent)
// current item is not versioned
if (!(*it)->isVersioned() && !filterOut((*it))) {
- // if empty, we may want to create a default svn::tqStatus for each folder inside this _parent
+ // if empty, we may want to create a default svn::Status for each folder inside this _parent
// iterate over TQDir and create new filelistviewitem
checkUnversionedDirs(_parent);
}
@@ -706,7 +706,7 @@ bool tdesvnfilelist::checkDirs(const TQString&_what,FileListViewItem * _parent)
if (ownupdates) {
kdDebug()<<"Enable update"<<endl;
viewport()->setUpdatesEnabled(true);
- viewport()->tqrepaint();
+ viewport()->repaint();
}
return true;
}
@@ -723,7 +723,7 @@ void tdesvnfilelist::insertDirs(FileListViewItem * _parent,svn::StatusEntries&dl
for (it = dlist.begin();it!=dlist.end();++it) {
/* if (_t.elapsed()>300) {
viewport()->setUpdatesEnabled(true);
- viewport()->tqrepaint();
+ viewport()->repaint();
viewport()->setUpdatesEnabled(false);
_t.restart();
}*/
@@ -756,7 +756,7 @@ void tdesvnfilelist::insertDirs(FileListViewItem * _parent,svn::StatusEntries&dl
void tdesvnfilelist::slotDirAdded(const TQString&newdir,FileListViewItem*k)
{
if (k) {
- k->refreshtqStatus();
+ k->refreshStatus();
}
if (!isWorkingCopy()) {
if (k) {
@@ -779,7 +779,7 @@ void tdesvnfilelist::slotDirAdded(const TQString&newdir,FileListViewItem*k)
}
svn::StatusPtr stat;
try {
- stat = m_SvnWrapper->svnclient()->singletqStatus(newdir);
+ stat = m_SvnWrapper->svnclient()->singleStatus(newdir);
} catch (const svn::ClientException&e) {
m_LastException = e.msg();
kdDebug()<<"Catched on singlestatus"<< endl;
@@ -1051,7 +1051,7 @@ void tdesvnfilelist::slotClientException(const TQString&what)
void tdesvnfilelist::slotNotifyMessage(const TQString&what)
{
emit sigLogMessage(what);
- kapp->tqprocessEvents(20);
+ kapp->processEvents(20);
}
void tdesvnfilelist::slotChangeToRepository()
@@ -1103,7 +1103,7 @@ void tdesvnfilelist::slotItemDoubleClicked(TQListViewItem*item)
}
} else {
if ( KRun::runCommand(feditor + " " + fki->kdeName(rev).prettyURL()) <= 0) {
- KMessageBox::error(this,i18n("Failed: %1 %2").tqarg(feditor).tqarg(fki->fullName()));
+ KMessageBox::error(this,i18n("Failed: %1 %2").arg(feditor).arg(fki->fullName()));
}
}
}
@@ -1115,7 +1115,7 @@ void tdesvnfilelist::slotCleanupAction()
if (!which) which = static_cast<FileListViewItem*>(firstChild());
if (!which||!which->isDir()) return;
if (m_SvnWrapper->makeCleanup(which->fullName())) {
- which->refreshtqStatus(true);
+ which->refreshStatus(true);
}
}
@@ -1126,7 +1126,7 @@ void tdesvnfilelist::slotResolved()
if (!which) which = static_cast<FileListViewItem*>(firstChild());
if (!which) return;
m_SvnWrapper->slotResolved(which->fullName());
- which->refreshtqStatus(true);
+ which->refreshStatus(true);
slotRescanIcons(false);
}
@@ -1273,7 +1273,7 @@ void tdesvnfilelist::refreshCurrentTree()
if (item->fullName()==baseUri()) {
if (!refreshItem(item)) {
setUpdatesEnabled(true);
- viewport()->tqrepaint();
+ viewport()->repaint();
return;
} else {
refreshRecursive(item);
@@ -1286,7 +1286,7 @@ void tdesvnfilelist::refreshCurrentTree()
}
kdDebug()<<"Refresh time: "<<t.elapsed()<<" ms"<<endl;
setUpdatesEnabled(true);
- viewport()->tqrepaint();
+ viewport()->repaint();
TQTimer::singleShot(1,this,TQT_SLOT(readSupportData()));
//m_pList->startScan();
}
@@ -1301,7 +1301,7 @@ void tdesvnfilelist::refreshCurrent(SvnItem*cur)
setUpdatesEnabled(false);
refreshRecursive(cur->fItem());
setUpdatesEnabled(true);
- viewport()->tqrepaint();
+ viewport()->repaint();
}
bool tdesvnfilelist::refreshRecursive(FileListViewItem*_parent,bool down)
@@ -1327,7 +1327,7 @@ bool tdesvnfilelist::refreshRecursive(FileListViewItem*_parent,bool down)
TQString what = (_parent!=0?_parent->fullName():baseUri());
svn::StatusEntries dlist;
- if (!m_SvnWrapper->maketqStatus(what,dlist,m_pList->m_remoteRevision)) {
+ if (!m_SvnWrapper->makeStatus(what,dlist,m_pList->m_remoteRevision)) {
kdDebug()<<"Fehler bei makestatus fuer "<<what <<endl;
return false;
}
@@ -1351,7 +1351,7 @@ bool tdesvnfilelist::refreshRecursive(FileListViewItem*_parent,bool down)
++clistIter;
if (k->fullName()==(*it)->path()) {
currentSync.removeRef(k);
- k->updatetqStatus(*it);
+ k->updateStatus(*it);
if (filterOut(k)) {
dispchanged=true;
delete k;
@@ -1657,7 +1657,7 @@ void tdesvnfilelist::contentsDragMoveEvent( TQDragMoveEvent* event)
if (tmpRect!=m_pList->mOldDropHighlighter) {
cleanHighLighter();
m_pList->mOldDropHighlighter=tmpRect;
- viewport()->tqrepaint(tmpRect);
+ viewport()->repaint(tmpRect);
kapp->processEvents();
}
}
@@ -1673,7 +1673,7 @@ void tdesvnfilelist::viewportPaintEvent(TQPaintEvent *ev)
KListView::viewportPaintEvent(ev);
if (m_pList->mOldDropHighlighter.isValid() && ev->rect().intersects(m_pList->mOldDropHighlighter)) {
TQPainter painter(viewport());
- tqstyle().tqdrawPrimitive(TQStyle::PE_FocusRect, &painter, m_pList->mOldDropHighlighter, tqcolorGroup(),
+ tqstyle().tqdrawPrimitive(TQStyle::PE_FocusRect, &painter, m_pList->mOldDropHighlighter, colorGroup(),
TQStyle::Style_FocusAtBorder);
}
}
@@ -1683,7 +1683,7 @@ void tdesvnfilelist::cleanHighLighter()
if (m_pList->mOldDropHighlighter.isValid()) {
TQRect rect=m_pList->mOldDropHighlighter;
m_pList->mOldDropHighlighter=TQRect();
- viewport()->tqrepaint(rect, true);
+ viewport()->repaint(rect, true);
}
}
@@ -2038,7 +2038,7 @@ void tdesvnfilelist::dispDummy()
TQLabel dummy(this,0,WStyle_NoBorder|WShowModal);
TQSize csize = size();
dummy.setText(i18n("Please wait until job is finished"));
- dummy.resize(dummy.tqminimumSizeHint());
+ dummy.resize(dummy.minimumSizeHint());
if (dummy.width()<=width()&&dummy.height()<=height()) {
dummy.move(csize.width()/2-dummy.width()/2,csize.height()/2-dummy.height()/2);
}
@@ -2307,7 +2307,7 @@ void tdesvnfilelist::slotMkBaseDirs()
targets.append(parentDir+"/trunk");
targets.append(parentDir+"/branches");
targets.append(parentDir+"/tags");
- TQString msg = i18n("Automatic generated base tqlayout by tdesvn");
+ TQString msg = i18n("Automatic generated base layout by tdesvn");
isopen = m_SvnWrapper->makeMkdir(targets,msg);
if (isopen) {
slotDirAdded(targets[0],0);
@@ -2401,9 +2401,9 @@ bool tdesvnfilelist::refreshItem(FileListViewItem*item)
return false;
}
try {
- item->setStat(svnclient()->singletqStatus(item->fullName(),false,m_pList->m_remoteRevision));
+ item->setStat(svnclient()->singleStatus(item->fullName(),false,m_pList->m_remoteRevision));
} catch (const svn::ClientException&e) {
- item->setStat(new svn::tqStatus());
+ item->setStat(new svn::Status());
return false;
}
return true;
@@ -2600,7 +2600,7 @@ void tdesvnfilelist::_dirwatchTimeout()
m_pList->dirItems.clear();
viewport()->setUpdatesEnabled(true);
if (repaintit) {
-// viewport()->tqrepaint();
+// viewport()->repaint();
}
}
@@ -2683,7 +2683,7 @@ void tdesvnfilelist::contentsMouseMoveEvent( TQMouseEvent *e )
FileListViewItem*item = isExecuteArea( vp ) ? static_cast<FileListViewItem*>(itemAt( vp )) : 0L;
if (item) {
- vp.setY( tqitemRect( item ).y() );
+ vp.setY( itemRect( item ).y() );
TQRect rect( viewportToContents( vp ), TQSize(20, item->height()) );
m_pList->m_fileTip->setItem( static_cast<SvnItem*>(item), rect, item->pixmap(0));
m_pList->m_fileTip->setPreview(KGlobalSettings::showFilePreview(item->fullName())/*&&isWorkingCopy()*/
@@ -2758,7 +2758,7 @@ void tdesvnfilelist::slotSettingsChanged()
if (m_pList->reReadSettings()) {
refreshCurrentTree();
} else {
- viewport()->tqrepaint();
+ viewport()->repaint();
}
enableActions();
sort();
@@ -2783,7 +2783,7 @@ void tdesvnfilelist::slotRelocate()
path = k->fullName();
fromUrl = k->Url();
CheckoutInfo_impl*ptr;
- KDialogBase * dlg = createDialog(&ptr,i18n("Relocate path %1").tqarg(path),true,"relocate_dlg");
+ KDialogBase * dlg = createDialog(&ptr,i18n("Relocate path %1").arg(path),true,"relocate_dlg");
if (dlg) {
ptr->setStartUrl(fromUrl);
ptr->disableAppend(true);
@@ -2839,9 +2839,9 @@ void tdesvnfilelist::checkUnversionedDirs( FileListViewItem * _parent )
// else
// entry.kind = svn_node_file;
//
-// svn::tqStatus stat(fi->fileName(), &wc_stat);
+// svn::Status stat(fi->fileName(), &wc_stat);
- svn::StatusPtr stat(new svn::tqStatus(fi->absFilePath()));
+ svn::StatusPtr stat(new svn::Status(fi->absFilePath()));
// start copying insertDirs
FileListViewItem * item;
@@ -2886,13 +2886,13 @@ void tdesvnfilelist::rescanIconsRec(FileListViewItem*startAt,bool checkNewer,boo
if (!_s) {
return;
}
- svn::SharedPointer<svn::tqStatus> d;
+ svn::SharedPointer<svn::Status> d;
while (_s) {
//_s->makePixmap();
if (!no_update) {
if (m_SvnWrapper->getUpdated(_s->stat()->path(),d) && d) {
- _s->updatetqStatus(d);
+ _s->updateStatus(d);
} else {
_s->update();
}
@@ -3077,7 +3077,7 @@ void tdesvnfilelist::slotUnfoldTree()
}
if (t.elapsed()>=200) {
sdlg.slotTick();
- kapp->tqprocessEvents(20);
+ kapp->processEvents(20);
t.restart();
}
((FileListViewItem*)item)->setOpenNoBlock(true);
@@ -3087,8 +3087,8 @@ void tdesvnfilelist::slotUnfoldTree()
}
setFocus();
setUpdatesEnabled(true);
- viewport()->tqrepaint();
- tqrepaint();
+ viewport()->repaint();
+ repaint();
m_SvnWrapper->slotCancel(false);
}
@@ -3132,7 +3132,7 @@ void tdesvnfilelist::slotChangeProperties(const svn::PropertiesMap&pm,const TQVa
FileListViewItem* which = singleSelected();
kdDebug()<<(which?which->fullName():"nix") << " -> " << path<<endl;
if (which && which->fullName()==path) {
- which->refreshtqStatus();
+ which->refreshStatus();
refreshCurrent(which);
_propListTimeout();
}
diff --git a/src/svnfrontend/tdesvnfilelist.h b/src/svnfrontend/tdesvnfilelist.h
index 97cb902..b121138 100644
--- a/src/svnfrontend/tdesvnfilelist.h
+++ b/src/svnfrontend/tdesvnfilelist.h
@@ -190,7 +190,7 @@ signals:
void sigUrlChanged(const TQString&);
void sigProplist(const svn::PathPropertiesMapListPtr&,bool,const TQString&);
void sigListError();
- void sigCachetqStatus(TQ_LONG,TQ_LONG);
+ void sigCacheStatus(TQ_LONG,TQ_LONG);
public slots:
virtual void refreshCurrentTree();
diff --git a/src/svnqt/cache/DatabaseException.cpp b/src/svnqt/cache/DatabaseException.cpp
index 880c041..199a5f9 100644
--- a/src/svnqt/cache/DatabaseException.cpp
+++ b/src/svnqt/cache/DatabaseException.cpp
@@ -7,6 +7,6 @@ svn::cache::DatabaseException::DatabaseException(const TQString&msg,int aNumber)
: Exception(msg),m_number(aNumber)
{
if (aNumber>-1) {
- setMessage(TQString("(Code %1) %2").tqarg(aNumber).tqarg(msg));
+ setMessage(TQString("(Code %1) %2").arg(aNumber).arg(msg));
}
}
diff --git a/src/svnqt/cache/LogCache.cpp b/src/svnqt/cache/LogCache.cpp
index fd62eee..4dcb27b 100644
--- a/src/svnqt/cache/LogCache.cpp
+++ b/src/svnqt/cache/LogCache.cpp
@@ -154,7 +154,7 @@ public:
int i = 0;
TQString _key = dbFile;
while (TQSqlDatabase::contains(_key)) {
- _key = TQString("%1-%2").tqarg(dbFile).tqarg(i++);
+ _key = TQString("%1-%2").arg(dbFile).arg(i++);
}
// qDebug("The repository key is now: %s",_key.TOUTF8().data());
TQDataBase _db = TQSqlDatabase::addDatabase(SQLTYPE,_key);
diff --git a/src/svnqt/cache/ReposLog.cpp b/src/svnqt/cache/ReposLog.cpp
index d63d1d3..34aa99f 100644
--- a/src/svnqt/cache/ReposLog.cpp
+++ b/src/svnqt/cache/ReposLog.cpp
@@ -360,15 +360,15 @@ bool svn::cache::ReposLog::log(const svn::Path&what,const svn::Revision&_start,
svn::Revision peg = date2numberRev(_peg,true);
svn::Revision end = date2numberRev(_end,true);
svn::Revision start = date2numberRev(_start,true);
- TQString query_string = TQString(s_q).tqarg(what.native()).tqarg(what.native()).tqarg((peg==svn::Revision::UNDEFINED?"":TQString(" AND revision<=%1").tqarg(peg.revnum())));
+ TQString query_string = TQString(s_q).arg(what.native()).arg(what.native()).arg((peg==svn::Revision::UNDEFINED?"":TQString(" AND revision<=%1").arg(peg.revnum())));
if (peg==svn::Revision::UNDEFINED) {
peg = latestCachedRev();
}
if (!itemExists(peg,what)) {
- throw svn::cache::DatabaseException(TQString("Entry '%1' does not exists at revision %2").tqarg(what.native()).tqarg(peg.toString()));
+ throw svn::cache::DatabaseException(TQString("Entry '%1' does not exists at revision %2").arg(what.native()).arg(peg.toString()));
}
if (limit>0) {
- query_string+=TQString(" LIMIT %1").tqarg(limit);
+ query_string+=TQString(" LIMIT %1").arg(limit);
}
TQSqlQuery _q(TQString(),m_Database);
TQSqlQuery _q2(TQString(),m_Database);
@@ -384,7 +384,7 @@ bool svn::cache::ReposLog::log(const svn::Path&what,const svn::Revision&_start,
target[revision].author=_q.value(1).toString();
target[revision].date=_q.value(2).toLongLong();
target[revision].message=_q.value(3).toString();
- query_string=s_e.tqarg(revision);
+ query_string=s_e.arg(revision);
_q2.prepare(query_string);
if (!_q2.exec()) {
qDebug("Could not select values: %s",_q2.lastError().text().TOUTF8().data());
@@ -416,7 +416,7 @@ bool svn::cache::ReposLog::itemExists(const svn::Revision&peg,const svn::Path&pa
#if 0
static TQString _s1("select revision from changeditems where changeditem='%1' and action='A' and revision<=%2 order by revision desc limit 1");
TQSqlQuery _q(TQString(),m_Database);
- TQString query_string=TQString(_s1).tqarg(path.native()).tqarg(peg.revnum());
+ TQString query_string=TQString(_s1).arg(path.native()).arg(peg.revnum());
if (!_q.exec(query_string)) {
qDebug("Could not select values: %s",_q.lastError().text().TOUTF8().data());
qDebug(_q.lastQuery().TOUTF8().data());
@@ -429,10 +429,10 @@ bool svn::cache::ReposLog::itemExists(const svn::Revision&peg,const svn::Path&pa
static TQString _s2("select revision from changeditem where changeditem in (%1) and action='D' and revision>%2 and revision<=%3 order by revision desc limit 1");
TQStringList p_list;
while (_p.length()>0) {
- p_list.append(TQString("'%1'").tqarg(_p.native()));
+ p_list.append(TQString("'%1'").arg(_p.native()));
_p.removeLast();
}
- query_string=TQString(_s2).tqarg(p_list.join(",")).tqarg();
+ query_string=TQString(_s2).arg(p_list.join(",")).arg();
#endif
return true;
}
diff --git a/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp b/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp
index 46e165f..d104e66 100644
--- a/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp
+++ b/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp
@@ -81,7 +81,7 @@ public:
sqlite3_stmt *stmt;
- uint skippedtqStatus: 1; // the status of the fetchNext() that's skipped
+ uint skippedStatus: 1; // the status of the fetchNext() that's skipped
uint skipRow: 1; // skip the next fetchNext()?
uint utf8: 1;
TQSqlRecord rInf;
@@ -90,7 +90,7 @@ public:
static const uint initial_cache_size = 128;
TQSQLite3ResultPrivate::TQSQLite3ResultPrivate(TQSQLite3Result* res) : q(res), access(0),
- stmt(0), skippedtqStatus(false), skipRow(false), utf8(false)
+ stmt(0), skippedStatus(false), skipRow(false), utf8(false)
{
}
@@ -98,7 +98,7 @@ void TQSQLite3ResultPrivate::cleanup()
{
finalize();
rInf.clear();
- skippedtqStatus = false;
+ skippedStatus = false;
skipRow = false;
q->setAt(TQSql::BeforeFirst);
q->setActive(false);
@@ -143,7 +143,7 @@ bool TQSQLite3ResultPrivate::fetchNext(TQSqlCachedResult::ValueCache &values, in
// already fetched
Q_ASSERT(!initialFetch);
skipRow = false;
- return skippedtqStatus;
+ return skippedStatus;
}
skipRow = initialFetch;
@@ -226,7 +226,7 @@ bool TQSQLite3Result::reset (const TQString &query)
return false;
}
- d->skippedtqStatus = d->fetchNext(cache(), 0, true);
+ d->skippedStatus = d->fetchNext(cache(), 0, true);
setSelect(!d->rInf.isEmpty());
setActive(true);
diff --git a/src/svnqt/cache/test/sqlite.cpp b/src/svnqt/cache/test/sqlite.cpp
index 07b5148..937c332 100644
--- a/src/svnqt/cache/test/sqlite.cpp
+++ b/src/svnqt/cache/test/sqlite.cpp
@@ -3,7 +3,7 @@
#include <tqstringlist.h>
#include <iostream>
#include <tqapplication.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include "svnqt/client.hpp"
#include "svnqt/svnqttypes.hpp"
diff --git a/src/svnqt/client.hpp b/src/svnqt/client.hpp
index 4fb6015..68d0aa0 100644
--- a/src/svnqt/client.hpp
+++ b/src/svnqt/client.hpp
@@ -125,7 +125,7 @@ namespace svn
* @param revision list specific revision when browsing remote, on working copies parameter will ignored
* @param detailed_remote if on remote listing detailed item info should get if possible
* that may slow so should configureable in frontends!
- * @return vector with tqStatus entries.
+ * @return vector with Status entries.
*/
virtual StatusEntries
status (const Path& path,
@@ -146,10 +146,10 @@ namespace svn
* @param path File to gather status.
* @param update if check against repository if new updates are there (for WC only)
* @param revision list specific revision when browsing remote, on working copies parameter will ignored
- * @return a tqStatus with Statis.isVersioned = FALSE
+ * @return a Status with Statis.isVersioned = FALSE
*/
virtual StatusPtr
- singletqStatus (const Path& path,bool update=false,const Revision revision = svn::Revision::HEAD) throw (ClientException)=0;
+ singleStatus (const Path& path,bool update=false,const Revision revision = svn::Revision::HEAD) throw (ClientException)=0;
/**
* Executes a revision checkout.
@@ -428,7 +428,7 @@ namespace svn
* @param native_eol Either "LF", "CR" or "CRLF" or NULL.
* @param ignore_externals don't process externals definitions as part of this operation.
* @param recurse if true, export recursively.<br>
- Otherwise, export just the directory represented by from and its immediate non-directory tqchildren.
+ Otherwise, export just the directory represented by from and its immediate non-directory children.
*/
virtual svn_revnum_t
doExport (const Path & srcPath,
diff --git a/src/svnqt/client_impl.hpp b/src/svnqt/client_impl.hpp
index 25d5b62..4e2ea60 100644
--- a/src/svnqt/client_impl.hpp
+++ b/src/svnqt/client_impl.hpp
@@ -96,7 +96,7 @@ namespace svn
* @param revision list specific revision when browsing remote, on working copies parameter will ignored
* @param detailed_remote if on remote listing detailed item info should get if possible
* that may slow so should configureable in frontends!
- * @return vector with tqStatus entries.
+ * @return vector with Status entries.
*/
virtual StatusEntries
status (const Path& path,
@@ -117,10 +117,10 @@ namespace svn
* @param path File to gather status.
* @param update if check against repository if new updates are there (for WC only)
* @param revision list specific revision when browsing remote, on working copies parameter will ignored
- * @return a tqStatus with Statis.isVersioned = FALSE
+ * @return a Status with Statis.isVersioned = FALSE
*/
virtual StatusPtr
- singletqStatus (const Path& path,bool update=false,const Revision revision = svn::Revision::HEAD) throw (ClientException);
+ singleStatus (const Path& path,bool update=false,const Revision revision = svn::Revision::HEAD) throw (ClientException);
/**
* Executes a revision checkout.
@@ -398,7 +398,7 @@ namespace svn
* @param overwrite overwrite existing files
* @param native_eol Either "LF", "CR" or "CRLF" or NULL.
* @param ignore_externals don't process externals definitions as part of this operation.
- * @param recurse if true, export recursively. Otherwise, export just the directory represented by from and its immediate non-directory tqchildren.
+ * @param recurse if true, export recursively. Otherwise, export just the directory represented by from and its immediate non-directory children.
*/
virtual svn_revnum_t
doExport (const Path & srcPath,
diff --git a/src/svnqt/client_status.cpp b/src/svnqt/client_status.cpp
index 4468b0d..1c58610 100644
--- a/src/svnqt/client_status.cpp
+++ b/src/svnqt/client_status.cpp
@@ -269,7 +269,7 @@ namespace svn
}
static StatusEntries
- localtqStatus (const Path& path,
+ localStatus (const Path& path,
Depth depth,
const bool get_all,
const bool update,
@@ -342,28 +342,28 @@ namespace svn
status = (svn_wc_status2_t *) item->value;
filePath = (const char *) item->key;
- entries.push_back (StatusPtr(new tqStatus(filePath, status)));
+ entries.push_back (StatusPtr(new Status(filePath, status)));
}
return entries;
}
static StatusPtr
- dirEntryTotqStatus (const Path& path, DirEntryPtr dirEntry)
+ dirEntryToStatus (const Path& path, DirEntryPtr dirEntry)
{
TQString url = path.path();
url += TQString::FROMUTF8("/");
url += dirEntry->name();
- return StatusPtr(new tqStatus (url, dirEntry));
+ return StatusPtr(new Status (url, dirEntry));
}
static StatusPtr
- infoEntryTotqStatus(const Path&,const InfoEntry&infoEntry)
+ infoEntryToStatus(const Path&,const InfoEntry&infoEntry)
{
- return StatusPtr(new tqStatus(infoEntry.url(),infoEntry));
+ return StatusPtr(new Status(infoEntry.url(),infoEntry));
}
static StatusEntries
- remotetqStatus (Client * client,
+ remoteStatus (Client * client,
const Path& path,
Depth depth,
const bool ,
@@ -385,7 +385,7 @@ namespace svn
DirEntryPtr dirEntry = *it;
if (dirEntry->name().isEmpty())
continue;
- entries.push_back(dirEntryTotqStatus (path, dirEntry));
+ entries.push_back(dirEntryToStatus (path, dirEntry));
}
return entries;
}
@@ -402,16 +402,16 @@ namespace svn
const StringArray & changelists) throw (ClientException)
{
if (Url::isValid (path.path())) {
- return remotetqStatus (this, path, depth, get_all, update,
+ return remoteStatus (this, path, depth, get_all, update,
no_ignore,revision,m_context,detailed_remote);
} else {
- return localtqStatus (path, depth, get_all, update,
+ return localStatus (path, depth, get_all, update,
no_ignore, hide_externals,changelists, m_context);
}
}
static StatusPtr
- localSingletqStatus (const Path& path, Context * context,bool update=false)
+ localSingleStatus (const Path& path, Context * context,bool update=false)
{
svn_error_t *error;
apr_hash_t *status_hash;
@@ -470,26 +470,26 @@ namespace svn
status = (svn_wc_status2_t *) item->value;
filePath = (const char *) item->key;
- return StatusPtr(new tqStatus (filePath, status));
+ return StatusPtr(new Status (filePath, status));
};
static StatusPtr
- remoteSingletqStatus (Client * client, const Path& path,const Revision revision, Context * )
+ remoteSingleStatus (Client * client, const Path& path,const Revision revision, Context * )
{
InfoEntries infoEntries = client->info(path,DepthEmpty,revision,Revision(Revision::UNDEFINED));
if (infoEntries.size () == 0)
- return StatusPtr(new tqStatus());
+ return StatusPtr(new Status());
else
- return infoEntryTotqStatus (path, infoEntries [0]);
+ return infoEntryToStatus (path, infoEntries [0]);
}
StatusPtr
- Client_impl::singletqStatus (const Path& path,bool update,const Revision revision) throw (ClientException)
+ Client_impl::singleStatus (const Path& path,bool update,const Revision revision) throw (ClientException)
{
if (Url::isValid (path.path()))
- return remoteSingletqStatus (this, path,revision, m_context);
+ return remoteSingleStatus (this, path,revision, m_context);
else
- return localSingletqStatus (path, m_context,update);
+ return localSingleStatus (path, m_context,update);
}
bool
diff --git a/src/svnqt/diff_data.cpp b/src/svnqt/diff_data.cpp
index f1837ce..756e771 100644
--- a/src/svnqt/diff_data.cpp
+++ b/src/svnqt/diff_data.cpp
@@ -130,7 +130,7 @@ namespace svn
close();
TQFile fi(m_outFileName);
if (!fi.open(IO_ReadOnly|IO_Raw)) {
- throw ClientException(TQString("%1 '%2'").tqarg(fi.errorString()).tqarg(m_outFileName));
+ throw ClientException(TQString("%1 '%2'").arg(fi.errorString()).arg(m_outFileName));
}
TQByteArray res = fi.readAll();
diff --git a/src/svnqt/dirent.cpp b/src/svnqt/dirent.cpp
index 7a42ae7..9015d13 100644
--- a/src/svnqt/dirent.cpp
+++ b/src/svnqt/dirent.cpp
@@ -60,7 +60,7 @@ namespace svn
hasProps (dirEntry->has_props != 0),
createdRev (dirEntry->created_rev), time (dirEntry->time), m_Lock()
{
- lastAuthor = dirEntry->last_author == 0 ? TQString::tqfromLatin1("") : TQString::FROMUTF8(dirEntry->last_author);
+ lastAuthor = dirEntry->last_author == 0 ? TQString::fromLatin1("") : TQString::FROMUTF8(dirEntry->last_author);
}
DirEntry_Data (const DirEntry & src)
diff --git a/src/svnqt/exception.cpp b/src/svnqt/exception.cpp
index bc25345..1824572 100644
--- a/src/svnqt/exception.cpp
+++ b/src/svnqt/exception.cpp
@@ -121,7 +121,7 @@ namespace svn
{
message += TQString::FROMUTF8("In file ");
message += TQString::FROMUTF8(error->file);
- message += TQString(" Line %1").tqarg(error->line);
+ message += TQString(" Line %1").arg(error->line);
}
}
while (next != NULL && next->message != NULL)
diff --git a/src/svnqt/log_entry.cpp b/src/svnqt/log_entry.cpp
index f641b17..720642d 100644
--- a/src/svnqt/log_entry.cpp
+++ b/src/svnqt/log_entry.cpp
@@ -96,8 +96,8 @@ namespace svn
const char *message_;
svn_compat_log_revprops_out(&author_, &date_, &message_, log_entry->revprops);
- author = author_ == 0 ? TQString::tqfromLatin1("") : TQString::FROMUTF8(author_);
- message = message_ == 0 ? TQString::tqfromLatin1("") : TQString::FROMUTF8(message_);
+ author = author_ == 0 ? TQString::fromLatin1("") : TQString::FROMUTF8(author_);
+ message = message_ == 0 ? TQString::fromLatin1("") : TQString::FROMUTF8(message_);
setDate(date_);
revision = log_entry->revision;
if (log_entry->changed_paths) {
@@ -125,8 +125,8 @@ namespace svn
setDate(date_);
revision = revision_;
- author = author_ == 0 ? TQString::tqfromLatin1("") : TQString::FROMUTF8(author_);
- message = message_ == 0 ? TQString::tqfromLatin1("") : TQString::FROMUTF8(message_);
+ author = author_ == 0 ? TQString::fromLatin1("") : TQString::FROMUTF8(author_);
+ message = message_ == 0 ? TQString::fromLatin1("") : TQString::FROMUTF8(message_);
}
void LogEntry::setDate(const char*date_)
diff --git a/src/svnqt/path.cpp b/src/svnqt/path.cpp
index 4281de7..4e0b14d 100644
--- a/src/svnqt/path.cpp
+++ b/src/svnqt/path.cpp
@@ -213,7 +213,7 @@ namespace svn
if (pos == -1)
{
filename = basename;
- ext = TQString::tqfromLatin1("");
+ ext = TQString::fromLatin1("");
}
else
{
diff --git a/src/svnqt/revision.hpp b/src/svnqt/revision.hpp
index 5acaab2..178397e 100644
--- a/src/svnqt/revision.hpp
+++ b/src/svnqt/revision.hpp
@@ -38,7 +38,7 @@
// qt
#include <tqglobal.h>
#include <tqstring.h>
-#include <tqtextstream.h>
+#include <textstream.h>
// subversion api
#include "svn_types.h"
diff --git a/src/svnqt/status.cpp b/src/svnqt/status.cpp
index a7913f6..c5e47a3 100644
--- a/src/svnqt/status.cpp
+++ b/src/svnqt/status.cpp
@@ -175,7 +175,7 @@ namespace svn
m_hasReal=true;
}
- tqStatus::tqStatus (const tqStatus & src)
+ Status::Status (const Status & src)
: m_Data(new Status_private())
{
if( &src != this )
@@ -188,37 +188,37 @@ namespace svn
}
}
- tqStatus::tqStatus (const TQString&path, svn_wc_status2_t * status)
+ Status::Status (const TQString&path, svn_wc_status2_t * status)
: m_Data(new Status_private())
{
m_Data->init(path, status);
}
- tqStatus::tqStatus (const char*path, svn_wc_status2_t * status)
+ Status::Status (const char*path, svn_wc_status2_t * status)
: m_Data(new Status_private())
{
m_Data->init(TQString::FROMUTF8(path),status);
}
- tqStatus::tqStatus(const TQString&url,const DirEntryPtr&src)
+ Status::Status(const TQString&url,const DirEntryPtr&src)
: m_Data(new Status_private())
{
m_Data->init(url,src);
}
- tqStatus::tqStatus(const TQString&url,const InfoEntry&src)
+ Status::Status(const TQString&url,const InfoEntry&src)
: m_Data(new Status_private())
{
m_Data->init(url,src);
}
- tqStatus::~tqStatus ()
+ Status::~Status ()
{
delete m_Data;
}
- tqStatus &
- tqStatus::operator=(const tqStatus & status)
+ Status &
+ Status::operator=(const Status & status)
{
if (this == &status)
return *this;
@@ -231,89 +231,89 @@ namespace svn
}
const LockEntry&
- tqStatus::lockEntry () const
+ Status::lockEntry () const
{
return m_Data->m_Lock;
}
svn_wc_status_kind
- tqStatus::reposProptqStatus () const
+ Status::reposPropStatus () const
{
return m_Data->_repos_prop_status;
}
svn_wc_status_kind
- tqStatus::reposTexttqStatus () const
+ Status::reposTextStatus () const
{
return m_Data->_repos_text_status;
}
bool
- tqStatus::isSwitched () const
+ Status::isSwitched () const
{
return m_Data->_switched != 0;
}
bool
- tqStatus::isCopied () const
+ Status::isCopied () const
{
return m_Data->_copied;
}
bool
- tqStatus::isLocked () const
+ Status::isLocked () const
{
return m_Data->m_Lock.Locked();
}
bool
- tqStatus::isModified()const
+ Status::isModified()const
{
- return texttqStatus()==svn_wc_status_modified||proptqStatus()==svn_wc_status_modified
- ||texttqStatus ()==svn_wc_status_replaced;
+ return textStatus()==svn_wc_status_modified||propStatus()==svn_wc_status_modified
+ ||textStatus ()==svn_wc_status_replaced;
}
bool
- tqStatus::isRealVersioned()const
+ Status::isRealVersioned()const
{
return m_Data->m_hasReal;
}
bool
- tqStatus::isVersioned () const
+ Status::isVersioned () const
{
return m_Data->m_isVersioned;
}
svn_wc_status_kind
- tqStatus::proptqStatus () const
+ Status::propStatus () const
{
return m_Data->_prop_status;
}
svn_wc_status_kind
- tqStatus::texttqStatus () const
+ Status::textStatus () const
{
return m_Data->_text_status;
}
const Entry&
- tqStatus::entry () const
+ Status::entry () const
{
return m_Data->m_entry;
}
const TQString&
- tqStatus::path () const
+ Status::path () const
{
return m_Data->m_Path;
}
bool
- tqStatus::validRepostqStatus()const
+ Status::validReposStatus()const
{
- return reposTexttqStatus()!=svn_wc_status_none||reposProptqStatus()!=svn_wc_status_none;
+ return reposTextStatus()!=svn_wc_status_none||reposPropStatus()!=svn_wc_status_none;
}
bool
- tqStatus::validLocaltqStatus()const
+ Status::validLocalStatus()const
{
- return texttqStatus()!=svn_wc_status_none||proptqStatus()!=svn_wc_status_none;
+ return textStatus()!=svn_wc_status_none||propStatus()!=svn_wc_status_none;
}
}
diff --git a/src/svnqt/status.hpp b/src/svnqt/status.hpp
index 3b6e03e..281f905 100644
--- a/src/svnqt/status.hpp
+++ b/src/svnqt/status.hpp
@@ -53,13 +53,13 @@ namespace svn
*/
class Status_private;
- class SVNTQT_EXPORT tqStatus
+ class SVNTQT_EXPORT Status
{
public:
/**
* copy constructor
*/
- tqStatus (const tqStatus & src);
+ Status (const Status & src);
/**
* default constructor
@@ -67,27 +67,27 @@ namespace svn
* @param path path for this status entry
* @param status status entry
*/
- tqStatus (const TQString&path=TQString(), svn_wc_status2_t * status = NULL);
+ Status (const TQString&path=TQString(), svn_wc_status2_t * status = NULL);
/**
* default constructor
*
* @param path path for this status entry
* @param status status entry
*/
- tqStatus (const char*path, svn_wc_status2_t * status = NULL);
+ Status (const char*path, svn_wc_status2_t * status = NULL);
/**
* converting constructor
*/
- tqStatus(const TQString&path,const DirEntryPtr&src);
+ Status(const TQString&path,const DirEntryPtr&src);
/**
* converting constructor
*/
- tqStatus(const TQString&path,const InfoEntry&src);
+ Status(const TQString&path,const InfoEntry&src);
/**
* destructor
*/
- virtual ~tqStatus ();
+ virtual ~Status ();
/**
* @return path of status entry
@@ -105,13 +105,13 @@ namespace svn
* @return file status property enum of the "textual" component.
*/
svn_wc_status_kind
- texttqStatus () const;
+ textStatus () const;
/**
* @return file status property enum of the "property" component.
*/
svn_wc_status_kind
- proptqStatus () const;
+ propStatus () const;
/**
* @retval TRUE if under version control
@@ -152,28 +152,28 @@ namespace svn
* @return the entry's text status in the repository
*/
svn_wc_status_kind
- reposTexttqStatus () const;
+ reposTextStatus () const;
/**
* @return the entry's prop status in the repository
*/
svn_wc_status_kind
- reposProptqStatus () const;
+ reposPropStatus () const;
const LockEntry&
lockEntry () const;
bool
- validRepostqStatus()const;
+ validReposStatus()const;
bool
- validLocaltqStatus()const;
+ validLocalStatus()const;
/**
* assignment operator
*/
- tqStatus &
- operator = (const tqStatus &);
+ Status &
+ operator = (const Status &);
private:
Status_private*m_Data;
};
diff --git a/src/svnqt/svnqttypes.hpp b/src/svnqt/svnqttypes.hpp
index 5b470f2..5d16658 100644
--- a/src/svnqt/svnqttypes.hpp
+++ b/src/svnqt/svnqttypes.hpp
@@ -41,7 +41,7 @@ namespace svn
class InfoEntry;
class LogEntry;
class Revision;
- class tqStatus;
+ class Status;
class Targets;
class Path;
class StringArray;
@@ -61,7 +61,7 @@ namespace svn
/// shared_pointer for LogEntriesMap
typedef SharedPointer<LogEntriesMap> LogEntriesMapPtr;
- typedef SharedPointer<tqStatus> StatusPtr;
+ typedef SharedPointer<Status> StatusPtr;
typedef TQLIST<StatusPtr> StatusEntries;
typedef TQLIST<Revision> Revisions;
diff --git a/src/svnqt/tests/lsdir.cpp b/src/svnqt/tests/lsdir.cpp
index 1ac0140..f3a2f6f 100644
--- a/src/svnqt/tests/lsdir.cpp
+++ b/src/svnqt/tests/lsdir.cpp
@@ -15,8 +15,8 @@ int main(int,char**)
m_Svnclient->setContext(m_CurrentContext);
svn::DirEntries dlist;
- TQString p = TQString("file://%1").tqarg(TESTREPOPATH);
- TQString l = TQString("%1").tqarg(TESTCOPATH);
+ TQString p = TQString("file://%1").arg(TESTREPOPATH);
+ TQString l = TQString("%1").arg(TESTCOPATH);
try {
dlist = m_Svnclient->list(svn::Path(p),svn::Revision::HEAD,svn::Revision::HEAD,svn::DepthInfinity,true);
diff --git a/src/svnqt/url.cpp b/src/svnqt/url.cpp
index 2478997..6f55356 100644
--- a/src/svnqt/url.cpp
+++ b/src/svnqt/url.cpp
@@ -64,10 +64,10 @@ namespace svn
{
bool cs = false;
if (
- url.tqstartsWith("file://",cs) ||
- url.tqstartsWith("/") ||
- url.tqstartsWith("svn+file://",cs) ||
- url.tqstartsWith("ksvn+file://",cs) )
+ url.startsWith("file://",cs) ||
+ url.startsWith("/") ||
+ url.startsWith("svn+file://",cs) ||
+ url.startsWith("ksvn+file://",cs) )
{
return true;
}
diff --git a/src/svnqt/version_check.cpp b/src/svnqt/version_check.cpp
index 44c79d3..ceb8e49 100644
--- a/src/svnqt/version_check.cpp
+++ b/src/svnqt/version_check.cpp
@@ -52,8 +52,8 @@ namespace svn {
{
if (curr_version_string.length()==0) {
curr_version_string =
- TQString("%1.%2.%3.%4").tqarg(svn_client_version()->major).tqarg(svn_client_version()->minor)
- .tqarg(svn_client_version()->patch).tqarg(svn_client_version()->tag);
+ TQString("%1.%2.%3.%4").arg(svn_client_version()->major).arg(svn_client_version()->minor)
+ .arg(svn_client_version()->patch).arg(svn_client_version()->tag);
}
return curr_version_string;
}
diff --git a/src/svnqt/wc.cpp b/src/svnqt/wc.cpp
index 4729696..bf3b5dd 100644
--- a/src/svnqt/wc.cpp
+++ b/src/svnqt/wc.cpp
@@ -116,7 +116,7 @@ namespace svn
TQString result = "";
const svn_wc_entry_t *entry;
entry = getEntry( path );
- result = entry ? TQString::FROMUTF8(entry->repos) : TQString::tqfromLatin1("");
+ result = entry ? TQString::FROMUTF8(entry->repos) : TQString::fromLatin1("");
return result;
}
diff --git a/src/tdesvn.cpp b/src/tdesvn.cpp
index 05ed762..8002350 100644
--- a/src/tdesvn.cpp
+++ b/src/tdesvn.cpp
@@ -81,11 +81,11 @@ tdesvn::tdesvn()
// and a status bar
statusBar()->show();
- m_bookmarkFile = locateLocal("appdata",TQString::tqfromLatin1("bookmarks.xml"),true);
+ m_bookmarkFile = locateLocal("appdata",TQString::fromLatin1("bookmarks.xml"),true);
m_BookmarkManager = KBookmarkManager::managerForFile(m_bookmarkFile,false);
m_BookmarkManager->setShowNSBookmarks(false);
- m_BookmarkManager->setEditorOptions(TQString::tqfromLatin1("KDE Svn"),false);
+ m_BookmarkManager->setEditorOptions(TQString::fromLatin1("KDE Svn"),false);
m_BookmarksActionmenu = new KActionMenu(i18n("&Bookmarks"),"bookmark",actionCollection(),"bookmarks");
m_BookmarksActionmenu->setDelayed(false);
@@ -201,7 +201,7 @@ void tdesvn::load(const KURL& url,bool addRescent)
}
}
if (!ret) {
- changeStatusbar(i18n("Could not open url %1").tqarg(url.prettyURL()));
+ changeStatusbar(i18n("Could not open url %1").arg(url.prettyURL()));
if (rac) {
rac->removeURL(url);
}
diff --git a/src/tdesvn_part.cpp b/src/tdesvn_part.cpp
index 1aa3be2..dd33ddf 100644
--- a/src/tdesvn_part.cpp
+++ b/src/tdesvn_part.cpp
@@ -156,8 +156,8 @@ void tdesvnPart::slotDispPopup(const TQString&name,TQWidget**target)
KAboutData* tdesvnPart::createAboutData()
{
- m_Extratext = TQString(I18N_NOOP("Built with Subversion library: %1\n")).tqarg(svn::Version::linked_version());
- m_Extratext+=TQString(I18N_NOOP("Running Subversion library: %1")).tqarg(svn::Version::running_version());
+ m_Extratext = TQString(I18N_NOOP("Built with Subversion library: %1\n")).arg(svn::Version::linked_version());
+ m_Extratext+=TQString(I18N_NOOP("Running Subversion library: %1")).arg(svn::Version::running_version());
KAboutData*about = new KAboutData("tdesvnpart", I18N_NOOP("tdesvn Part"), version, description,
KAboutData::License_GPL, "(C) 2005-2007 Rajko Albrecht",0,
@@ -208,7 +208,7 @@ void tdesvnPart::setupActions()
kdDebug()<<"Appname = " << (TQString)kapp->instanceName() << endl;
KAction * t = KStdAction::preferences(this, TQT_SLOT(slotShowSettings()), actionCollection(),"tdesvnpart_pref");
- t->setText(i18n("&Configure %1...").tqarg("Kdesvn"));
+ t->setText(i18n("&Configure %1...").arg("Kdesvn"));
if (TQString(kapp->instanceName())!=TQString("tdesvn")) {
(void)new KAction(i18n("&About tdesvn part"), "tdesvn", 0, this, TQT_SLOT(showAboutApplication()), actionCollection(), "help_about_tdesvnpart");
(void)new KAction(i18n("Kdesvn &Handbook"), "help", 0, this, TQT_SLOT(appHelpActivated()), actionCollection(), "help_tdesvn");
diff --git a/src/tdesvnd/tdesvnd_dcop.cpp b/src/tdesvnd/tdesvnd_dcop.cpp
index 9575f78..fde8fd0 100644
--- a/src/tdesvnd/tdesvnd_dcop.cpp
+++ b/src/tdesvnd/tdesvnd_dcop.cpp
@@ -238,7 +238,7 @@ TQStringList tdesvnd_dcop::get_sslclientcertpw(TQString realm)
TQStringList resList;
TQCString npass;
int keep = 1;
- int res = KPasswordDialog::getPassword(npass,i18n("Enter password for realm %1").tqarg(realm),&keep);
+ int res = KPasswordDialog::getPassword(npass,i18n("Enter password for realm %1").arg(realm),&keep);
if (res!=KPasswordDialog::Accepted) {
return resList;
}
diff --git a/src/tdesvnview.cpp b/src/tdesvnview.cpp
index f354e0a..48a9e2f 100644
--- a/src/tdesvnview.cpp
+++ b/src/tdesvnview.cpp
@@ -34,13 +34,13 @@
#include "svnqttypes.hpp"
#include <tqpainter.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqfileinfo.h>
#include <tqheader.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
#include <tqsplitter.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqvbox.h>
#include <kurl.h>
@@ -75,7 +75,7 @@ tdesvnView::tdesvnView(KActionCollection*aCollection,TQWidget *parent,const char
m_infoSplitter = new TQSplitter(m_Splitter);
m_infoSplitter->setOrientation( Qt::Horizontal );
- m_infoSplitter->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 1, m_infoSplitter->sizePolicy().hasHeightForWidth() ) );
+ m_infoSplitter->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 1, m_infoSplitter->sizePolicy().hasHeightForWidth() ) );
m_LogWindow=new KTextBrowser(m_infoSplitter);
Propertylist*pl = new Propertylist(m_infoSplitter);
pl->setCommitchanges(true);
@@ -83,7 +83,7 @@ tdesvnView::tdesvnView(KActionCollection*aCollection,TQWidget *parent,const char
connect(m_flist,TQT_SIGNAL(sigProplist(const svn::PathPropertiesMapListPtr&,bool,const TQString&)),
pl,TQT_SLOT(displayList(const svn::PathPropertiesMapListPtr&,bool,const TQString&)));
- m_flist->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 1, m_flist->sizePolicy().hasHeightForWidth() ) );
+ m_flist->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 1, m_flist->sizePolicy().hasHeightForWidth() ) );
m_topLayout->addWidget(m_Splitter);
connect(m_flist,TQT_SIGNAL(sigLogMessage(const TQString&)),this,TQT_SLOT(slotAppendLog(const TQString&)));
@@ -92,9 +92,9 @@ tdesvnView::tdesvnView(KActionCollection*aCollection,TQWidget *parent,const char
connect(m_flist,TQT_SIGNAL(sigUrlOpend(bool)),parent,TQT_SLOT(slotUrlOpened(bool)));
connect(m_flist,TQT_SIGNAL(sigSwitchUrl(const KURL&)),this,TQT_SIGNAL(sigSwitchUrl(const KURL&)));
connect(m_flist,TQT_SIGNAL(sigUrlChanged( const TQString& )),this,TQT_SLOT(slotUrlChanged(const TQString&)));
- connect(m_flist,TQT_SIGNAL(sigCachetqStatus(TQ_LONG,TQ_LONG)),this,TQT_SLOT(fillCachetqStatus(TQ_LONG,TQ_LONG)));
+ connect(m_flist,TQT_SIGNAL(sigCacheStatus(TQ_LONG,TQ_LONG)),this,TQT_SLOT(fillCacheStatus(TQ_LONG,TQ_LONG)));
connect(this,TQT_SIGNAL(sigMakeBaseDirs()),m_flist,TQT_SLOT(slotMkBaseDirs()));
- KConfigGroup cs(Kdesvnsettings::self()->config(),"tdesvn-maintqlayout");
+ KConfigGroup cs(Kdesvnsettings::self()->config(),"tdesvn-mainlayout");
TQString t1 = cs.readEntry("split1",TQString());
if (!t1.isEmpty()) {
TQTextStream st1(&t1,IO_ReadOnly);
@@ -116,7 +116,7 @@ void tdesvnView::slotAppendLog(const TQString& text)
tdesvnView::~tdesvnView()
{
- KConfigGroup cs(Kdesvnsettings::self()->config(),"tdesvn-maintqlayout");
+ KConfigGroup cs(Kdesvnsettings::self()->config(),"tdesvn-mainlayout");
TQString t1,t2;
TQTextStream st1(&t1,IO_WriteOnly);
st1 << *m_Splitter;
@@ -462,7 +462,7 @@ void tdesvnView::setCanceled(bool how)
m_ReposCancel = how;
}
-void tdesvnView::fillCachetqStatus(TQ_LONG current,TQ_LONG max)
+void tdesvnView::fillCacheStatus(TQ_LONG current,TQ_LONG max)
{
if (current>-1 && max>-1) {
kdDebug()<<"Fillcache "<<current<<" von "<<max<<endl;
diff --git a/src/tdesvnview.h b/src/tdesvnview.h
index 3988ed7..42a5e01 100644
--- a/src/tdesvnview.h
+++ b/src/tdesvnview.h
@@ -117,7 +117,7 @@ public slots:
/* repositorylistener methods */
virtual void setCanceled(bool);
- virtual void fillCachetqStatus(TQ_LONG,TQ_LONG);
+ virtual void fillCacheStatus(TQ_LONG,TQ_LONG);
protected slots:
virtual void slotOnURL(const TQString& url);
diff --git a/src/urldlg.cpp b/src/urldlg.cpp
index c1ae158..6e20b0e 100644
--- a/src/urldlg.cpp
+++ b/src/urldlg.cpp
@@ -20,7 +20,7 @@
#include "urldlg.h"
#include <kcombobox.h>
#include <kurlrequester.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kconfig.h>
#include <klocale.h>
#include <kglobal.h>
@@ -55,10 +55,10 @@ void UrlDlg::init_dlg()
KHistoryCombo * combo = new KHistoryCombo(0,"history_combo");
combo->setDuplicatesEnabled(false);
KConfig *kc = KGlobal::config();
- KConfigGroupSaver ks( kc, TQString::tqfromLatin1("Open-repository settings") );
- int max = kc->readNumEntry( TQString::tqfromLatin1("Maximum history"), 15 );
+ KConfigGroupSaver ks( kc, TQString::fromLatin1("Open-repository settings") );
+ int max = kc->readNumEntry( TQString::fromLatin1("Maximum history"), 15 );
combo->setMaxCount( max );
- TQStringList list = kc->readListEntry( TQString::tqfromLatin1("History") );
+ TQStringList list = kc->readListEntry( TQString::fromLatin1("History") );
combo->setHistoryItems(list);
combo->setMinimumWidth(100);
combo->adjustSize();
@@ -76,7 +76,7 @@ void UrlDlg::init_dlg()
enableButton( KDialogBase::User1, false );
connect( this, TQT_SIGNAL(user1Clicked()), TQT_SLOT(slotClear()));
urlRequester_->adjustSize();
- resize(TQSize(400,tqsizeHint().height()));
+ resize(TQSize(400,sizeHint().height()));
}
/*!
@@ -88,8 +88,8 @@ void UrlDlg::accept()
if (combo) {
combo->addToHistory(urlRequester_->url());
KConfig *kc = KGlobal::config();
- KConfigGroupSaver ks(kc, TQString::tqfromLatin1("Open-repository settings"));
- kc->writeEntry(TQString::tqfromLatin1("History"), combo->historyItems());
+ KConfigGroupSaver ks(kc, TQString::fromLatin1("Open-repository settings"));
+ kc->writeEntry(TQString::fromLatin1("History"), combo->historyItems());
kc->sync();
}
KDialogBase::accept();