Commit 01aa6534 authored by Martin Koller's avatar Martin Koller

further KF5 changes

parent c61d2c89
......@@ -54,6 +54,7 @@ set(libcervisia_SRCS
qttableview.cpp
tooltip.cpp
settingsdialog.cpp
debug.cpp
)
qt5_add_dbus_interfaces( libcervisia_SRCS cvsservice/org.kde.cervisia.cvsservice.xml )
......@@ -111,7 +112,9 @@ set(cervisiapart_PART_SRCS ${libcervisia_SRCS}
globalignorelist.cpp
addignoremenu.cpp
editwithmenu.cpp
logmessageedit.cpp )
logmessageedit.cpp
debug.cpp
)
qt5_add_dbus_adaptor(cervisiapart_PART_SRCS org.kde.cervisia.protocolview.xml protocolview.h ProtocolView)
......
......@@ -23,7 +23,7 @@
#include <QHeaderView>
#include <qpainter.h>
#include <kcolorscheme.h>
#include <KGlobalSettings>
#include <QApplication>
#include "cervisiasettings.h"
#include "loginfo.h"
......@@ -136,7 +136,7 @@ void AnnotateViewDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
if ( index.column() == AnnotateViewItem::ContentColumn )
painter->setFont(view->font());
else
painter->setFont(KGlobalSettings::generalFont());
painter->setFont(QApplication::font());
painter->drawText(option.rect.x() + BORDER, option.rect.y(), option.rect.width() - 2*BORDER, option.rect.height(), align, str);
......@@ -151,7 +151,7 @@ QSize AnnotateViewDelegate::sizeHint(const QStyleOptionViewItem &option, const Q
if ( index.column() == AnnotateViewItem::ContentColumn )
opt.font = view->font();
else
opt.font = KGlobalSettings::generalFont();
opt.font = QApplication::font();
QSize s = QStyledItemDelegate::sizeHint(opt, index);
s.setWidth(s.width() + 2*BORDER);
......@@ -171,7 +171,7 @@ AnnotateView::AnnotateView(QWidget *parent)
setRootIsDecorated(false);
setAutoScroll(false);
setSelectionMode(QAbstractItemView::SingleSelection); // to be able to show the found item
header()->setResizeMode(QHeaderView::ResizeToContents);
header()->setSectionResizeMode(QHeaderView::ResizeToContents);
header()->setStretchLastSection(false);
header()->hide();
setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
......
......@@ -41,7 +41,7 @@
#include <kstandardaction.h>
#include <kxmlguifactory.h>
#include <krun.h>
#include <kdebug.h>
#include <QDebug>
#include <kmessagebox.h>
#include <kglobal.h>
#include <ktoolinvocation.h>
......@@ -78,6 +78,7 @@
#include "patchoptiondialog.h"
#include "addignoremenu.h"
#include "editwithmenu.h"
#include "debug.h"
#include "cvsjobinterface.h"
#include "version.h"
......@@ -129,7 +130,7 @@ CervisiaPart::CervisiaPart( QWidget *parentWidget,
else
// create a reference to the service
cvsService = new OrgKdeCervisiaCvsserviceCvsserviceInterface(m_cvsServiceInterfaceName, "/CvsService",QDBusConnection::sessionBus(), this);
//kDebug(8050) << "m_cvsServiceInterfaceName:" << m_cvsServiceInterfaceName;
//qCDebug(log_cervisia) << "m_cvsServiceInterfaceName:" << m_cvsServiceInterfaceName;
//kdDebug(8050) << "cvsService->service():" << cvsService->service()<<endl;
// Create UI
KConfigGroup conf( config(), "LookAndFeel");
......@@ -724,7 +725,7 @@ void CervisiaPart::popupRequested(const QPoint& p)
}
}
else
kDebug(8050) << "can't get XML definition for" << xmlName << ", factory()=" << factory();
qCDebug(log_cervisia) << "can't get XML definition for" << xmlName << ", factory()=" << factory();
}
void CervisiaPart::updateActions()
......@@ -1012,8 +1013,8 @@ void CervisiaPart::slotCommit()
opt_commitRecursive);
QString cmdline;
QDBusObjectPath cvsJob = cvsJobPath;
kDebug(8050) << " commit: cvsJob.path():" << cvsJob.path();
kDebug(8050) << " list:" << list << "dlg.logMessage():" << dlg.logMessage()
qCDebug(log_cervisia) << " commit: cvsJob.path():" << cvsJob.path();
qCDebug(log_cervisia) << " list:" << list << "dlg.logMessage():" << dlg.logMessage()
<< "opt_commitRecursive" << opt_commitRecursive;
if(cvsJob.path().isEmpty())
return;
......@@ -1460,7 +1461,7 @@ void CervisiaPart::slotImport()
QDBusObjectPath cvsJob = cvsJobPath;
QString cmdline;
//kdDebug()<<" cvsJob.path() :"<<cvsJob.path()<<endl;
////qDebug()<<" cvsJob.path() :"<<cvsJob.path()<<endl;
if(cvsJob.path().isEmpty())
return;
OrgKdeCervisiaCvsserviceCvsjobInterface cvsjobinterface(m_cvsServiceInterfaceName,cvsJob.path(),QDBusConnection::sessionBus(), this);
......
......@@ -22,7 +22,7 @@
#include "sshagent.h"
#include <kdebug.h>
#include <QDebug>
#include <kprocess.h>
#include <cvsjobadaptor.h>
......
......@@ -20,7 +20,7 @@
#include "cvsloginjob.h"
#include <kdebug.h>
#include <QDebug>
#include <klocale.h>
#include <kpassworddialog.h>
......
......@@ -29,7 +29,7 @@
#include <kmessagebox.h>
#include <kshell.h>
#include <kglobal.h>
#include <kdebug.h>
#include <QDebug>
#include "cvsjob.h"
#include "cvsloginjob.h"
......
......@@ -21,7 +21,7 @@
#include "sshagent.h"
#include <qregexp.h>
#include <kdebug.h>
#include <QDebug>
#include <kdeversion.h>
#include <kprocess.h>
......
/* This file is part of the KDE project
Copyright (C) 2015 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "debug.h"
Q_LOGGING_CATEGORY(log_cervisia, "log_cervisia")
/* This file is part of the KDE project
Copyright (C) 2015 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef DEBUG_H
#define DEBUG_H
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(log_cervisia)
#endif
......@@ -29,11 +29,12 @@
#include <kconfig.h>
#include <kconfiggroup.h>
#include <kdebug.h>
#include <QDebug>
#include <kcolorscheme.h>
#include <klocale.h>
#include "cervisiasettings.h"
#include "debug.h"
class DiffViewItem
{
......@@ -198,7 +199,7 @@ QString DiffView::stringAtOffset(int offset)
{
if (offset >= items.count())
{
kDebug(8050) << "Internal error: lineAtOffset";
qCDebug(log_cervisia) << "Internal error: lineAtOffset";
}
return items.at(offset)->line;
}
......@@ -216,7 +217,7 @@ int DiffView::findLine(int lineno)
if ( items[i]->no == lineno )
return i;
kDebug(8050) << "Internal Error: Line" << lineno << "not found";
qCDebug(log_cervisia) << "Internal Error: Line" << lineno << "not found";
return -1;
}
......
......@@ -21,7 +21,7 @@ using namespace Cervisia;
#include <QMenu>
#include <kdebug.h>
#include <QDebug>
#include <kiconloader.h>
#include <kmimetype.h>
#include <KMimeTypeTrader>
......@@ -37,7 +37,7 @@ EditWithMenu::EditWithMenu(const KUrl& url, QWidget* parent)
KMimeType::Ptr type = KMimeType::findByUrl(url, 0, true);
if( type->name() == KMimeType::defaultMimeType() )
{
kDebug(8050) << "Couldn't find mime type!";
qCDebug(log_cervisia) << "Couldn't find mime type!";
return;
}
......
......@@ -20,7 +20,7 @@
using namespace Cervisia;
#include <qdir.h>
#include <kdebug.h>
#include <QDebug>
#include <QTemporaryFile>
#include "cvsserviceinterface.h"
......
......@@ -33,7 +33,7 @@
#include <qsplitter.h>
#include <kconfig.h>
#include <kdebug.h>
#include <QDebug>
#include <kfinddialog.h>
#include <kglobalsettings.h>
//#include <KTreeWidgetSearchLine>
......@@ -61,6 +61,7 @@
#include "misc.h"
#include "progressdialog.h"
#include "patchoptiondialog.h"
#include "debug.h"
LogDialog::LogDialog(KConfig& cfg, QWidget *parent)
......@@ -73,14 +74,15 @@ LogDialog::LogDialog(KConfig& cfg, QWidget *parent)
QVBoxLayout *mainLayout = new QVBoxLayout;
setLayout(mainLayout);
QPushButton *okButton = buttonBox->button(QDialogButtonBox::Ok);
okButton = buttonBox->button(QDialogButtonBox::Ok);
okButton->setDefault(true);
okButton->setShortcut(Qt::CTRL | Qt::Key_Return);
QPushButton *user1Button = new QPushButton;
connect(okButton, &QPushButton::clicked, this, &LogDialog::slotOk);
user1Button = new QPushButton;
buttonBox->addButton(user1Button, QDialogButtonBox::ActionRole);
QPushButton *user2Button = new QPushButton;
user2Button = new QPushButton;
buttonBox->addButton(user2Button, QDialogButtonBox::ActionRole);
QPushButton *user3Button = new QPushButton;
user3Button = new QPushButton;
buttonBox->addButton(user3Button, QDialogButtonBox::ActionRole);
connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
......@@ -449,20 +451,6 @@ bool LogDialog::parseCvsLog(OrgKdeCervisiaCvsserviceCvsserviceInterface* service
return true; // successful
}
//Adapt code and connect okbutton or other to new slot. It doesn't exist in qdialog
void LogDialog::slotButtonClicked(int button)
{
if ( button == QDialog::Ok )
{
// ok button (used for "view") shall not close the dialog
slotOk();
return;
}
//Adapt code and connect okbutton or other to new slot. It doesn't exist in qdialog
QDialog::slotButtonClicked(button);
}
void LogDialog::slotOk()
{
// make sure that the user selected a revision
......@@ -494,12 +482,12 @@ void LogDialog::slotOk()
if( dlg.execute() )
{
// make file read-only
chmod(QFile::encodeName(tempFileName), 0400);
QFile::setPermissions(tempFileName, QFileDevice::ReadOwner);
// open file in preferred editor
KUrl url;
url.setPath(tempFileName);
(void) new KRun(url, 0, true, false);
(void) new KRun(url, 0, true);
}
}
......@@ -612,7 +600,7 @@ void LogDialog::revisionSelected(QString rev, bool rmb)
updateButtons();
return;
}
kDebug(8050) << "Internal error: Revision not found " << rev << ".";
qCDebug(log_cervisia) << "Internal error: Revision not found " << rev << ".";
}
......
......@@ -34,6 +34,8 @@ class KComboBox;
class QLabel;
class QSplitter;
class QTabWidget;
class QPushButton;
class QDialogButtonBox;
class KTextEdit;
class OrgKdeCervisiaCvsserviceCvsserviceInterface;
class KConfig;
......@@ -92,6 +94,8 @@ private:
KTextEdit *commentbox[2];
KTextEdit *tagsbox[2];
KComboBox *tagcombo[2];
QPushButton *user1Button, *user2Button, *user3Button, *okButton;
QDialogButtonBox *buttonBox;
OrgKdeCervisiaCvsserviceCvsserviceInterface* cvsService;
KConfig& partConfig;
......
......@@ -27,7 +27,9 @@
#include <QKeyEvent>
#include <QHeaderView>
#include <klocale.h>
#include <KConfigGroup>
#include <KConfig>
#include <klocalizedstring.h>
#include "loginfo.h"
#include "misc.h"
......
......@@ -21,8 +21,8 @@
#include <kfind.h>
#include <kfinddialog.h>
#include <klocale.h>
#include <QScrollBar>
#include <KLocalizedString>
#include "loginfo.h"
using namespace Cervisia;
......@@ -46,17 +46,17 @@ void LogPlainView::addRevision(const LogInfo& logInfo)
// assemble revision information lines
QString logEntry;
logEntry += "<b>" + i18n("revision %1", Qt::escape(logInfo.m_revision)) +
logEntry += "<b>" + i18n("revision %1", logInfo.m_revision.toHtmlEscaped()) +
"</b>";
logEntry += " &nbsp;[<a href=\"revA#" + Qt::escape(logInfo.m_revision) + "\">" +
logEntry += " &nbsp;[<a href=\"revA#" + logInfo.m_revision.toHtmlEscaped() + "\">" +
i18n("Select for revision A") +
"</a>]";
logEntry += " [<a href=\"revB#" + Qt::escape(logInfo.m_revision) + "\">" +
logEntry += " [<a href=\"revB#" + logInfo.m_revision.toHtmlEscaped() + "\">" +
i18n("Select for revision B") +
"</a>]<br>";
logEntry += "<i>" +
i18n("date: %1; author: %2", Qt::escape(logInfo.dateTimeToString()),
Qt::escape(logInfo.m_author)) +
i18n("date: %1; author: %2", logInfo.dateTimeToString().toHtmlEscaped(),
logInfo.m_author.toHtmlEscaped()) +
"</i><br><br>";
insertHtml(logEntry);
......@@ -69,7 +69,7 @@ void LogPlainView::addRevision(const LogInfo& logInfo)
for( LogInfo::TTagInfoSeq::const_iterator it = logInfo.m_tags.begin();
it != logInfo.m_tags.end(); ++it )
{
insertHtml("<br><i>" + Qt::escape((*it).toString()) + "</i>");
insertHtml("<br><i>" + (*it).toString().toHtmlEscaped() + "</i>");
}
// add an empty line when we had tags or branches
......
......@@ -22,7 +22,7 @@
#include <QApplication>
#include <qpainter.h>
#include <kdebug.h>
#include <QDebug>
#include <kglobal.h>
#include <kcolorscheme.h>
......@@ -207,15 +207,15 @@ void LogTreeView::addRevision(const Cervisia::LogInfo& logInfo)
items.append(item);
#if 0
kDebug(8050) << "Dump:";
kDebug(8050) << "Rows:" << numRows() << "Cols:" << numCols();
qCDebug(log_cervisia) << "Dump:";
qCDebug(log_cervisia) << "Rows:" << numRows() << "Cols:" << numCols();
foreach (LogTreeItem* treeItem, items)
{
kDebug(8050) << "Rev:" << treeItem->m_logInfo.m_revision;
kDebug(8050) << "row:" << treeItem->row << ", col:" << treeItem->col;
kDebug(8050) << "fob:" << treeItem->firstonbranch;
qCDebug(log_cervisia) << "Rev:" << treeItem->m_logInfo.m_revision;
qCDebug(log_cervisia) << "row:" << treeItem->row << ", col:" << treeItem->col;
qCDebug(log_cervisia) << "fob:" << treeItem->firstonbranch;
}
kDebug(8050) << "End Dump";
qCDebug(log_cervisia) << "End Dump";
#endif
}
......
......@@ -34,7 +34,7 @@
#include <kmessagebox.h>
#include <QTemporaryFile>
#include <kuser.h>
#include <kdebug.h>
#include <QDebug>
#include "cvsserviceinterface.h"
#include "progressdialog.h"
......@@ -180,10 +180,10 @@ QString Cervisia::NormalizeRepository(const QString& repository)
port = rx.cap(6);
path = rx.cap(7);
kDebug(8050) << "username=" << userName;
kDebug(8050) << "hostname=" << hostName;
kDebug(8050) << "port =" << port;
kDebug(8050) << "path =" << path;
qCDebug(log_cervisia) << "username=" << userName;
qCDebug(log_cervisia) << "hostname=" << hostName;
qCDebug(log_cervisia) << "port =" << port;
qCDebug(log_cervisia) << "path =" << path;
if( port.isEmpty() )
port = "2401";
......@@ -194,7 +194,7 @@ QString Cervisia::NormalizeRepository(const QString& repository)
QString canonicalForm = ":pserver:" + userName + '@' + hostName +
':' + port + path;
kDebug(8050) << "canonicalForm=" << canonicalForm
qCDebug(log_cervisia) << "canonicalForm=" << canonicalForm
<< endl;
return canonicalForm;
}
......
......@@ -25,17 +25,19 @@
#include <qtimer.h>
#include <QGridLayout>
#include <QEventLoop>
#include <QMovie>
#include <KTextEdit>
#include <cvsjobinterface.h>
#include <kanimatedbutton.h>
#include <kapplication.h>
#include <QLabel>
#include <QApplication>
#include <KConfigGroup>
#include <QDialogButtonBox>
#include <QPushButton>
#include <QVBoxLayout>
#include "cervisiasettings.h"
#include "debug.h"
struct ProgressDialog::Private
......@@ -52,7 +54,7 @@ struct ProgressDialog::Private
QEventLoop eventLoop;
QTimer* timer;
KAnimatedButton* gear;
QLabel* gear;
KTextEdit* resultbox;
};
......@@ -84,7 +86,7 @@ ProgressDialog::ProgressDialog(QWidget* parent, const QString& heading,const QSt
d->jobPath = path.path();
d->cvsJob = new OrgKdeCervisiaCvsserviceCvsjobInterface(cvsServiceNameService, path.path(), QDBusConnection::sessionBus(), this);
kDebug(8050) << "cvsServiceNameService:" << cvsServiceNameService
qCDebug(log_cervisia) << "cvsServiceNameService:" << cvsServiceNameService
<< "CvsjobInterface" << path.path() << "valid:" << d->cvsJob->isValid();
d->errorId1 = "cvs " + errorIndicator + ':';
......@@ -106,23 +108,25 @@ void ProgressDialog::setupGui(const QString& heading)
{
QWidget* dummy = new QWidget(this);
QVBoxLayout *mainLayout = new QVBoxLayout;
mainLayout->addWidget(dummy);
QGridLayout* layout = new QGridLayout(dummy);
mainLayout->addWidget(layout);
mainLayout->addLayout(layout);
QLabel* textLabel = new QLabel(heading, dummy);
mainLayout->addWidget(textLabel);
layout->addWidget(textLabel, 0, 0);
d->gear = new KAnimatedButton(dummy);
mainLayout->addWidget(gear);
d->gear->setIconSize(QSize(32, 32));
d->gear->setIcons("kde");
d->gear = new QLabel(dummy);
mainLayout->addWidget(d->gear);
#warning TODO
//d->gear->setIconSize(QSize(32, 32));
//d->gear->setIcons("kde");
layout->addWidget(d->gear, 0, 1);
d->resultbox = new KTextEdit(dummy);
mainLayout->addWidget(resultbox);
mainLayout->addWidget(d->resultbox);
d->resultbox->setReadOnly(true);
QFontMetrics fm(d->resultbox->fontMetrics());
d->resultbox->setMinimumSize(fm.width("0")*70, fm.lineSpacing()*8);
......@@ -135,7 +139,7 @@ bool ProgressDialog::execute()
// get command line and display it
QString cmdLine = d->cvsJob->cvsCommand();
d->resultbox->insertPlainText(cmdLine);
kDebug(8050) << "cmdLine:" << cmdLine;
qCDebug(log_cervisia) << "cmdLine:" << cmdLine;
QDBusConnection::sessionBus().connect(QString(), d->jobPath,
"org.kde.cervisia.cvsservice.cvsjob",
......@@ -194,7 +198,7 @@ QStringList ProgressDialog::getOutput() const
void ProgressDialog::slotReceivedOutputNonGui(QString buffer)
{
kDebug(8050) << buffer;
qCDebug(log_cervisia) << buffer;
d->buffer += buffer;
......@@ -209,7 +213,7 @@ void ProgressDialog::slotReceivedOutputNonGui(QString buffer)
void ProgressDialog::slotReceivedOutput(QString buffer)
{
kDebug(8050) << buffer;
qCDebug(log_cervisia) << buffer;
d->buffer += buffer;
processOutput();
}
......@@ -222,7 +226,7 @@ void ProgressDialog::slotJobExited(bool normalExit, int status)
if( !d->isShown )
stopNonGuiPart();
d->gear->stop();
d->gear->movie()->stop();
if( !d->buffer.isEmpty() )
{
d->buffer += '\n';
......@@ -291,7 +295,7 @@ void ProgressDialog::startGuiPart()
show();
d->isShown = true;
d->gear->start();
d->gear->movie()->start();
QApplication::restoreOverrideCursor();
}
......
......@@ -46,7 +46,7 @@ ProtocolView::ProtocolView(const QString& appId, QWidget *parent)
setUndoRedoEnabled(false);
setTabChangesFocus(true);
//kDebug(8050) << "protocol view appId :" << appId;
//qCDebug(log_cervisia) << "protocol view appId :" << appId;
job = new OrgKdeCervisiaCvsserviceCvsjobInterface(appId, "/NonConcurrentJob",QDBusConnection::sessionBus(), this);
......@@ -101,7 +101,7 @@ void ProtocolView::contextMenuEvent(QContextMenuEvent* event)
void ProtocolView::cancelJob()
{
kDebug(8050);
qCDebug(log_cervisia);
job->cancel();
}
......@@ -125,7 +125,7 @@ void ProtocolView::slotReceivedOutput(QString buffer)
void ProtocolView::slotJobExited(bool normalExit, int exitStatus)
{
kDebug(8050);
qCDebug(log_cervisia);
QString msg;
if( normalExit )
......
......@@ -31,7 +31,7 @@
#include <kconfig.h>
#include <klocale.h>
#include <kmessagebox.h>
#include <kdebug.h>
#include <QDebug>
#include <kconfiggroup.h>
#include <KConfigGroup>
#include <QDialogButtonBox>
......@@ -100,7 +100,7 @@ RepositoryListItem::RepositoryListItem(QTreeWidget* parent, const QString& repo,
: QTreeWidgetItem(parent)
, m_isLoggedIn(loggedin)
{
kDebug(8050) << "repo=" << repo;
qCDebug(log_cervisia) << "repo=" << repo;
setText(0, repo);
changeLoginStatusColumn();
......@@ -304,7 +304,7 @@ void RepositoryDialog::readConfigFile()
const KConfigGroup repoGroup = m_serviceConfig->group(QLatin1String("Repository-") +
ritem->repository());
kDebug(8050) << "repository=" << ritem->repository();
qCDebug(log_cervisia) << "repository=" << ritem->repository();
QString rsh = repoGroup.readEntry("rsh", QString());
QString server = repoGroup.readEntry("cvs_server", QString());
......@@ -440,7 +440,7 @@ void RepositoryDialog::slotLoginClicked()
if( !item )
return;
kDebug(8050) << "repo=" << item->repository();
qCDebug(log_cervisia) << "repo=" << item->repository();
QDBusReply<QDBusObjectPath> job = m_cvsService->login(item->repository());
if( !job.isValid() )
......@@ -522,7 +522,7 @@ void RepositoryDialog::writeRepositoryData(RepositoryListItem* item)
KConfigGroup repoGroup = m_serviceConfig->group(QLatin1String("Repository-") +
item->repository());
kDebug(8050) << "repository=" << item->repository();
qCDebug(log_cervisia) << "repository=" << item->repository();
repoGroup.writeEntry("rsh", item->rsh());
repoGroup.writeEntry("cvs_server", item->server());
......
......@@ -29,14 +29,13 @@
#include <qpushbutton.h>
#include <qtextcodec.h>
#include <qtextstream.h>