Commit bfc9a649 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix minor EBN issues

parent d2cbd663
......@@ -43,28 +43,28 @@ ConfigDlg::ConfigDlg(GlobalGUIConfig* c, TraceData* data,
_classCS = 0;
_fileCS = 0;
connect(objectCombo, SIGNAL(activated(const QString &)),
this, SLOT(objectActivated(const QString &)));
connect(objectCombo, SIGNAL(editTextChanged(const QString &)),
this, SLOT(objectActivated(const QString &)));
connect(objectCombo, SIGNAL(activated(QString)),
this, SLOT(objectActivated(QString)));
connect(objectCombo, SIGNAL(editTextChanged(QString)),
this, SLOT(objectActivated(QString)));
connect(objectCheck, &QAbstractButton::toggled,
this, &ConfigDlg::objectCheckChanged);
connect(objectColor, &KColorButton::changed,
this, &ConfigDlg::objectColorChanged);
connect(classCombo, SIGNAL(activated(const QString &)),
this, SLOT(classActivated(const QString &)));
connect(classCombo, SIGNAL(editTextChanged(const QString &)),
this, SLOT(classActivated(const QString &)));
connect(classCombo, SIGNAL(activated(QString)),
this, SLOT(classActivated(QString)));
connect(classCombo, SIGNAL(editTextChanged(QString)),
this, SLOT(classActivated(QString)));
connect(classCheck, &QAbstractButton::toggled,
this, &ConfigDlg::classCheckChanged);
connect(classColor, &KColorButton::changed,
this, &ConfigDlg::classColorChanged);
connect(fileCombo, SIGNAL(activated(const QString &)),
this, SLOT(fileActivated(const QString &)));
connect(fileCombo, SIGNAL(editTextChanged(const QString &)),
this, SLOT(fileActivated(const QString &)));
connect(fileCombo, SIGNAL(activated(QString)),
this, SLOT(fileActivated(QString)));
connect(fileCombo, SIGNAL(editTextChanged(QString)),
this, SLOT(fileActivated(QString)));
connect(fileCheck, &QAbstractButton::toggled,
this, &ConfigDlg::fileCheckChanged);
connect(fileColor, &KColorButton::changed,
......
......@@ -42,7 +42,7 @@
#include <QTemporaryFile>
#include <QTimer>
#include <QUrl>
#include <QtDBus/QDBusConnection>
#include <QDBusConnection>
#include <ktoggleaction.h>
#include <ktoolbarpopupaction.h>
......@@ -427,7 +427,7 @@ void TopLevel::createMiscActions()
action = actionCollection()->addAction( QStringLiteral("file_add") );
action->setText( i18n( "&Add..." ) );
connect(action, SIGNAL(triggered(bool) ), SLOT(add()));
connect(action, SIGNAL(triggered(bool)), SLOT(add()));
hint = i18n("<b>Add Profile Data</b>"
"<p>This opens an additional profile data file in the current window.</p>");
action->setWhatsThis( hint );
......@@ -486,7 +486,7 @@ void TopLevel::createMiscActions()
action->setToolTip( hint );
action->setWhatsThis( hint );
_openRecent = KStandardAction::openRecent(this, SLOT(load(const QUrl&)),
_openRecent = KStandardAction::openRecent(this, SLOT(load(QUrl)),
actionCollection());
KStandardAction::showStatusbar(this,
......@@ -661,8 +661,8 @@ void TopLevel::createMiscActions()
// cost types are dependent on loaded data, thus KSelectAction
// is filled in setData()
connect( _saCost, SIGNAL(triggered(const QString&)),
this, SLOT(eventTypeSelected(const QString&)));
connect( _saCost, SIGNAL(triggered(QString)),
this, SLOT(eventTypeSelected(QString)));
_saCost2 = actionCollection()->add<KSelectAction>(QStringLiteral("view_cost_type2"));
_saCost2->setText(i18n("Secondary Event Type"));
......@@ -672,8 +672,8 @@ void TopLevel::createMiscActions()
_saCost2->setWhatsThis( hint );
_saCost2->setItems(dummyItems);
connect( _saCost2, SIGNAL(triggered(const QString&)),
this, SLOT(eventType2Selected(const QString&)));
connect( _saCost2, SIGNAL(triggered(QString)),
this, SLOT(eventType2Selected(QString)));
saGroup = actionCollection()->add<KSelectAction>(QStringLiteral("view_group_type"));
saGroup->setText(i18n("Grouping"));
......@@ -713,7 +713,7 @@ void TopLevel::createMiscActions()
_taSplitDir->setWhatsThis( hint );
// copied from KMail...
KStandardAction::tipOfDay( this, SLOT( slotShowTip() ), actionCollection() );
KStandardAction::tipOfDay( this, SLOT(slotShowTip()), actionCollection() );
}
void TopLevel::createActions()
......
......@@ -22,8 +22,6 @@
#include "tracedata.h"
#include <QObject>
#define TRACE_DEBUG 0
#define TRACE_ASSERTIONS 0
......
......@@ -1841,7 +1841,7 @@ void TreeMapWidget::contextMenuEvent( QContextMenuEvent* e )
{
//qDebug() << "TreeMapWidget::contextMenuEvent";
if ( receivers( SIGNAL(contextMenuRequested(TreeMapItem*, const QPoint &)) ) )
if ( receivers( SIGNAL(contextMenuRequested(TreeMapItem*,QPoint)) ) )
e->accept();
if ( e->reason() == QContextMenuEvent::Keyboard ) {
......
......@@ -44,7 +44,7 @@
#include <QWhatsThis>
#ifdef QT_DBUS_SUPPORT
#include <QtDBus/QDBusConnection>
#include <QDBusConnection>
#endif
#include "partselection.h"
......@@ -562,8 +562,8 @@ void QCGTopLevel::createActions()
_eventTypeBox->setMinimumContentsLength(25);
hint = tr("Select primary event type of costs");
_eventTypeBox->setToolTip( hint );
connect( _eventTypeBox, SIGNAL(activated(const QString&)),
this, SLOT(eventTypeSelected(const QString&)));
connect( _eventTypeBox, SIGNAL(activated(QString)),
this, SLOT(eventTypeSelected(QString)));
}
void QCGTopLevel::createMenu()
......
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