Commit c0b93f66 authored by André Wöbbeking's avatar André Wöbbeking

normalized SIGNAL and SLOT signatures

svn path=/trunk/KDE/kdesdk/cervisia/; revision=1298936
parent 4806b9be
......@@ -94,7 +94,7 @@ AddRepositoryDialog::AddRepositoryDialog(KConfig& cfg, const QString& repo,
"server"), mainWidget);
layout->addWidget(m_retrieveCvsignoreFile);
connect( repo_edit, SIGNAL(textChanged(const QString&)),
connect( repo_edit, SIGNAL(textChanged(QString)),
this, SLOT(repoChanged()) );
connect( m_useDifferentCompression, SIGNAL(toggled(bool)),
this, SLOT(compressionToggled(bool)) );
......
......@@ -163,8 +163,8 @@ AnnotateView::AnnotateView(QWidget *parent, const char *name)
ToolTip* toolTip = new ToolTip(viewport());
connect(toolTip, SIGNAL(queryToolTip(const QPoint&, QRect&, QString&)),
this, SLOT(slotQueryToolTip(const QPoint&, QRect&, QString&)));
connect(toolTip, SIGNAL(queryToolTip(QPoint,QRect&,QString&)),
this, SLOT(slotQueryToolTip(QPoint,QRect&,QString&)));
configChanged();
......
This diff is collapsed.
......@@ -97,7 +97,7 @@ void CervisiaShell::setupActions()
action->setToolTip( hint );
action->setWhatsThis( hint );
action = KStandardAction::quit( this, SLOT( close() ), actionCollection() );
action = KStandardAction::quit( this, SLOT(close()), actionCollection() );
hint = i18n("Exits Cervisia");
action->setToolTip( hint );
action->setWhatsThis( hint );
......
......@@ -130,8 +130,8 @@ CheckoutDialog::CheckoutDialog(KConfig& cfg, OrgKdeCervisiaCvsserviceCvsserviceI
branch_label->setBuddy( branchCombo );
grid->addWidget(branch_label, 2, 0, Qt::AlignLeft | Qt::AlignVCenter);
connect( branchCombo, SIGNAL( textChanged( const QString&)),
this, SLOT( branchTextChanged() ));
connect( branchCombo, SIGNAL(textChanged(QString)),
this, SLOT(branchTextChanged()));
recursive_box = new QCheckBox(i18n("Re&cursive checkout"), mainWidget);
grid->addMultiCellWidget(recursive_box, 6, 6, 0, 1);
......@@ -144,8 +144,8 @@ CheckoutDialog::CheckoutDialog(KConfig& cfg, OrgKdeCervisiaCvsserviceCvsserviceI
KUrlCompletion* comp = new KUrlCompletion();
workdir_edit->setCompletionObject(comp);
workdir_edit->setAutoDeleteCompletionObject(true);
connect( workdir_edit, SIGNAL(returnPressed(const QString&)),
comp, SLOT(addItem(const QString&)) );
connect( workdir_edit, SIGNAL(returnPressed(QString)),
comp, SLOT(addItem(QString)) );
QPushButton* dir_button = new QPushButton("...", mainWidget);
connect( dir_button, SIGNAL(clicked()),
......
......@@ -72,8 +72,8 @@ CvsInitDialog::CvsInitDialog(QWidget* parent)
connect( dirButton, SIGNAL(clicked()),
this, SLOT(dirButtonClicked()) );
connect( m_directoryEdit, SIGNAL(textChanged(const QString&)),
this, SLOT(lineEditTextChanged(const QString&)));
connect( m_directoryEdit, SIGNAL(textChanged(QString)),
this, SLOT(lineEditTextChanged(QString)));
enableButton(Ok, false);
......
......@@ -167,7 +167,7 @@ bool CvsJob::execute()
if( !d->directory.isEmpty() )
d->childproc->setWorkingDirectory(d->directory);
connect(d->childproc, SIGNAL(finished(int, QProcess::ExitStatus)),
connect(d->childproc, SIGNAL(finished(int,QProcess::ExitStatus)),
SLOT(slotProcessFinished()));
connect(d->childproc, SIGNAL(readyReadStandardOutput()),
SLOT(slotReceivedStdout()));
......
......@@ -69,8 +69,8 @@ Repository::Repository()
// so we watch it for changes
d->configFileName = KStandardDirs::locate("config", "cvsservicerc");
KDirWatch* fileWatcher = new KDirWatch(this);
connect(fileWatcher, SIGNAL(dirty(const QString&)),
this, SLOT(slotConfigDirty(const QString&)));
connect(fileWatcher, SIGNAL(dirty(QString)),
this, SLOT(slotConfigDirty(QString)));
fileWatcher->addFile(d->configFileName);
}
......@@ -90,8 +90,8 @@ Repository::Repository(const QString& repository)
// so we watch it for changes
d->configFileName = KStandardDirs::locate("config", "cvsservicerc");
KDirWatch* fileWatcher = new KDirWatch(this);
connect(fileWatcher, SIGNAL(dirty(const QString&)),
this, SLOT(slotConfigDirty(const QString&)));
connect(fileWatcher, SIGNAL(dirty(QString)),
this, SLOT(slotConfigDirty(QString)));
fileWatcher->addFile(d->configFileName);
}
......
......@@ -187,7 +187,7 @@ bool SshAgent::startSshAgent()
m_agentProcess = new KProcess(this);
connect(m_agentProcess, SIGNAL(finished(int, QProcess::ExitStatus)),
connect(m_agentProcess, SIGNAL(finished(int,QProcess::ExitStatus)),
SLOT(slotProcessFinished()));
connect(m_agentProcess, SIGNAL(readyReadStandardOutput()),
SLOT(slotReceivedOutput()));
......
......@@ -129,8 +129,8 @@ LogListView::LogListView(KConfig& cfg, QWidget *parent, const char *name)
Cervisia::ToolTip* toolTip = new Cervisia::ToolTip(viewport());
connect(toolTip, SIGNAL(queryToolTip(const QPoint&, QRect&, QString&)),
this, SLOT(slotQueryToolTip(const QPoint&, QRect&, QString&)));
connect(toolTip, SIGNAL(queryToolTip(QPoint,QRect&,QString&)),
this, SLOT(slotQueryToolTip(QPoint,QRect&,QString&)));
// without this restoreLayout() can't change the column widths
for (int i = 0; i < columns(); ++i)
......
......@@ -43,7 +43,7 @@ LogMessageEdit::LogMessageEdit(QWidget* parent)
#endif
#if 0
// a mouse click stops the completion process
connect( this, SIGNAL(clicked(int, int)), SLOT(stopCompletion()) );
connect( this, SIGNAL(clicked(int,int)), SLOT(stopCompletion()) );
#endif
}
......
......@@ -92,8 +92,8 @@ void LogPlainView::searchText(int options, const QString& pattern)
{
m_find = new KFind(pattern, options, this);
connect(m_find, SIGNAL(highlight(const QString&, int, int)),
this, SLOT(searchHighlight(const QString&, int, int)));
connect(m_find, SIGNAL(highlight(QString,int,int)),
this, SLOT(searchHighlight(QString,int,int)));
connect(m_find, SIGNAL(findNext()),
this, SLOT(findNext()));
......
......@@ -90,8 +90,8 @@ LogTreeView::LogTreeView(QWidget *parent, const char *name)
Cervisia::ToolTip* toolTip = new Cervisia::ToolTip(viewport());
connect(toolTip, SIGNAL(queryToolTip(const QPoint&, QRect&, QString&)),
this, SLOT(slotQueryToolTip(const QPoint&, QRect&, QString&)));
connect(toolTip, SIGNAL(queryToolTip(QPoint,QRect&,QString&)),
this, SLOT(slotQueryToolTip(QPoint,QRect&,QString&)));
}
......
......@@ -79,7 +79,7 @@ bool ProtocolView::startJob(bool isUpdateJob)
// disconnect 3rd party slots from our signals
disconnect( SIGNAL(receivedLine(QString)) );
disconnect( SIGNAL(jobFinished(bool, int)) );
disconnect( SIGNAL(jobFinished(bool,int)) );
return job->execute();
}
......@@ -89,7 +89,7 @@ void ProtocolView::contextMenuEvent(QContextMenuEvent* event)
{
QMenu *menu = QTextEdit::createStandardContextMenu();
QAction* clearAction = menu->addAction(i18n("Clear"), this, SLOT( clear() ));
QAction* clearAction = menu->addAction(i18n("Clear"), this, SLOT(clear()));
if( document()->isEmpty() )
clearAction->setEnabled(false);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment