diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:35:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:35:10 -0600 |
commit | 1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f (patch) | |
tree | 11037eed53e1cd90dad4e194f9dea542ad28607f /cervisia/updateview.cpp | |
parent | 3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b (diff) | |
download | tdesdk-1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f.tar.gz tdesdk-1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'cervisia/updateview.cpp')
-rw-r--r-- | cervisia/updateview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cervisia/updateview.cpp b/cervisia/updateview.cpp index 47ab5c65..52e44b2e 100644 --- a/cervisia/updateview.cpp +++ b/cervisia/updateview.cpp @@ -35,7 +35,7 @@ using Cervisia::Entry; -using Cervisia::EntrytqStatus; +using Cervisia::EntryStatus; UpdateView::UpdateView(KConfig& partConfig, TQWidget *parent, const char *name) @@ -65,13 +65,13 @@ UpdateView::UpdateView(KConfig& partConfig, TQWidget *parent, const char *name) for (int col = 0; col < columns(); ++col) setColumnWidthMode(col, TQListView::Manual); - restoreLayout(&m_partConfig, TQString::tqfromLatin1("UpdateView")); + restoreLayout(&m_partConfig, TQString::fromLatin1("UpdateView")); } UpdateView::~UpdateView() { - saveLayout(&m_partConfig, TQString::tqfromLatin1("UpdateView")); + saveLayout(&m_partConfig, TQString::fromLatin1("UpdateView")); } @@ -548,7 +548,7 @@ void UpdateView::updateColors() /** - * Process one line from the output of 'cvs update'. If parseAstqStatus + * Process one line from the output of 'cvs update'. If parseAsStatus * is true, it is assumed that the output is from a command * 'cvs update -n', i.e. cvs actually changes no files. */ @@ -556,7 +556,7 @@ void UpdateView::processUpdateLine(TQString str) { if (str.length() > 2 && str[1] == ' ') { - EntrytqStatus status(Cervisia::Unknown); + EntryStatus status(Cervisia::Unknown); switch (str[0].latin1()) { case 'C': @@ -586,8 +586,8 @@ void UpdateView::processUpdateLine(TQString str) updateItem(str.mid(2), status, false); } - const TQString removedFileStart(TQString::tqfromLatin1("cvs server: ")); - const TQString removedFileEnd(TQString::tqfromLatin1(" is no longer in the repository")); + const TQString removedFileStart(TQString::fromLatin1("cvs server: ")); + const TQString removedFileEnd(TQString::fromLatin1(" is no longer in the repository")); if (str.startsWith(removedFileStart) && str.endsWith(removedFileEnd)) { } @@ -600,7 +600,7 @@ void UpdateView::processUpdateLine(TQString str) } -void UpdateView::updateItem(const TQString& filePath, EntrytqStatus status, bool isdir) +void UpdateView::updateItem(const TQString& filePath, EntryStatus status, bool isdir) { if (isdir && filePath == TQChar('.')) return; |