diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:49 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:49 -0600 |
commit | 548395e018d377eaa8fede0fba271da8b6c49fc9 (patch) | |
tree | 6b6acd1baf1a63c2dfb1735461d8a1e2e20f8385 /src/svnfrontend/svnlogdlgimp.cpp | |
parent | bb7be2361770a435b3e2e8ae2ac4250bf9810bb4 (diff) | |
download | tdesvn-548395e018d377eaa8fede0fba271da8b6c49fc9.tar.gz tdesvn-548395e018d377eaa8fede0fba271da8b6c49fc9.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit bb7be2361770a435b3e2e8ae2ac4250bf9810bb4.
Diffstat (limited to 'src/svnfrontend/svnlogdlgimp.cpp')
-rw-r--r-- | src/svnfrontend/svnlogdlgimp.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/svnfrontend/svnlogdlgimp.cpp b/src/svnfrontend/svnlogdlgimp.cpp index fb14366..a81ce18 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 <textstream.h> +#include <tqtextstream.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").arg(_revision)); + setText(COL_REV,TQString("%1").tqarg(_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").arg(e.copyFromPath).arg(e.copyFromRevision)); + setText(2,i18n("%1 at revision %2").tqarg(e.copyFromPath).tqarg(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").arg(what)); + setCaption(i18n("SVN Log of %1").tqarg(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::fromLatin1("Width %1").arg( desk.width()), + Kdesvnsettings::self()->config()->writeEntry( TQString::tqfromLatin1("Width %1").tqarg( desk.width()), TQString::number( sizeToSave.width()), true, false); - Kdesvnsettings::self()->config()->writeEntry( TQString::fromLatin1("Height %1").arg( desk.height()), + Kdesvnsettings::self()->config()->writeEntry( TQString::tqfromLatin1("Height %1").tqarg( 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 = sizeHint().width(); - h = sizeHint().height(); + w = tqsizeHint().width(); + h = tqsizeHint().height(); KConfigGroupSaver cs(Kdesvnsettings::self()->config(), groupName); - 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 ); + 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 ); return( TQSize( w, h ) ); } |