forked from qt-creator/qt-creator
CVS: Modernize
* Use pragma once * Use some more overrides * Tiny clean-ups here and there Change-Id: I951afa8ed31c5f414d4ae872c79f80db19909ee0 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -25,31 +25,17 @@
|
||||
|
||||
#include "cvsutils.h"
|
||||
|
||||
#include <QDebug>
|
||||
#include <QRegExp>
|
||||
#include <QStringList>
|
||||
|
||||
namespace Cvs {
|
||||
namespace Internal {
|
||||
|
||||
CvsRevision::CvsRevision(const QString &rev) :
|
||||
revision(rev)
|
||||
{
|
||||
}
|
||||
CvsRevision::CvsRevision(const QString &rev) : revision(rev)
|
||||
{ }
|
||||
|
||||
CvsLogEntry::CvsLogEntry(const QString &f) :
|
||||
file(f)
|
||||
{
|
||||
}
|
||||
|
||||
QDebug operator<<(QDebug d, const CvsLogEntry &e)
|
||||
{
|
||||
QDebug nospace = d.nospace();
|
||||
nospace << "File: " << e.file << e.revisions.size() << '\n';
|
||||
foreach (const CvsRevision &r, e.revisions)
|
||||
nospace << " " << r.revision << ' ' << r.date << ' ' << r.commitId << '\n';
|
||||
return d;
|
||||
}
|
||||
CvsLogEntry::CvsLogEntry(const QString &f) : file(f)
|
||||
{ }
|
||||
|
||||
/* Parse:
|
||||
\code
|
||||
|
||||
Reference in New Issue
Block a user