Git commit 771daae4de6c643ae7846c9af456307a71be7e17 by Yuri Chornoivan.
Committed on 06/10/2018 at 09:44.
Pushed by yurchor into branch 'master'.
Fix minor EBN issues
M +2 -2 kopete/addaccountwizard/addaccountwizard.cpp
M +3 -3 kopete/chatwindow/chatmessagepart.cpp
M +6 -6 kopete/chatwindow/chattexteditpart.cpp
M +15 -15 kopete/chatwindow/chatview.cpp
M +4 -4 kopete/chatwindow/emoticonselector.cpp
M +18 -18 kopete/chatwindow/kopetechatwindow.cpp
M +1 -1 kopete/chatwindow/kopetechatwindowsettings.kcfg
M +4 -4 kopete/chatwindow/kopeteemailwindow.cpp
M +7 -7 kopete/config/accounts/kopeteaccountconfig.cpp
M +1 -1 kopete/config/appearance/contactlistlayouteditwidget.cpp
M +26 -26 kopete/contactlist/contactlistmodel.cpp
M +2 -2 kopete/contactlist/kabcexport.cpp
M +6 -6 kopete/contactlist/kopetecontactlistview.cpp
M +3 -3 kopete/contactlist/kopetegrouplistaction.cpp
M +2 -2 kopete/contactlist/kopetelviprops.cpp
M +5 -5 kopete/identity/accountidentitydialog.cpp
M +20 -20 kopete/identity/identitystatuswidget.cpp
M +1 -1 kopete/infoeventwidget.cpp
M +1 -1 kopete/kopeteaccountstatusbaricon.cpp
M +10 -10 kopete/kopetedbusinterface_p.cpp
M +2 -2 kopete/kopeteidentitystatusbaricon.cpp
M +25 -25 kopete/kopetewindow.cpp
M +4 -4 kopete/statusmenu/kopetestatusgroupaction.cpp
M +8 -8 kopete/statusmenu/kopetestatusrootaction.cpp
M +4 -4 kopete/systemtray.cpp
M +9 -9 libkopete/chatsessionmemberslistmodel.cpp
M +4 -4 libkopete/contactlist/xmlcontactstorage.cpp
M +7 -7 libkopete/kopeteaccount.cpp
M +3 -3 libkopete/kopeteaccountmanager.cpp
M +2 -1 libkopete/kopeteappearancesettings.kcfg
M +19 -19 libkopete/kopetechatsession.cpp
M +9 -9 libkopete/kopetechatsessionmanager.cpp
M +1 -1 libkopete/kopetecommand.cpp
M +14 -14 libkopete/kopetecommandhandler.cpp
M +5 -5 libkopete/kopetecontact.cpp
M +10 -10 libkopete/kopetecontactlist.cpp
M +2 -2 libkopete/kopetegroup.cpp
M +9 -9 libkopete/kopeteidentity.cpp
M +3 -3 libkopete/kopeteidentitymanager.cpp
M +1 -1 libkopete/kopeteidletimer.cpp
M +2 -2 libkopete/kopeteinfoeventmanager.cpp
M +1 -1 libkopete/kopetemessageevent.cpp
M +2 -2 libkopete/kopetemessagehandler.cpp
M +1 -1 libkopete/kopetemessagehandlerchain.cpp
M +21 -21 libkopete/kopetemetacontact.cpp
M +1 -1 libkopete/kopetepassword.cpp
M +2 -2 libkopete/kopetepluginmanager.cpp
M +2 -2 libkopete/kopeteprotocol.cpp
M +1 -1 libkopete/kopetestatusitems.cpp
M +3 -3 libkopete/kopetestatusmanager.cpp
M +5 -5 libkopete/kopetetransfermanager.cpp
M +1 -1 libkopete/kopetewalletmanager.cpp
M +7 -7 libkopete/private/kopeteviewmanager.cpp
M +2 -2 libkopete/ui/accountselector.cpp
M +1 -1 libkopete/ui/addressbookselectordialog.cpp
M +6 -6 libkopete/ui/addressbookselectorwidget.cpp
M +3 -3 libkopete/ui/avatarselectorwidget.cpp
M +4 -4 libkopete/ui/kopetelistview.cpp
M +8 -8 libkopete/ui/metacontactselectorwidget.cpp
M +2 -2 plugins/addbookmarks/addbookmarksplugin.cpp
M +2 -2 plugins/alias/aliaspreferences.cpp
M +1 -1 plugins/cryptography/cryptographymessagehandler.cpp
M +3 -3 plugins/cryptography/cryptographyplugin.cpp
M +2 -2 plugins/highlight/highlightpreferences.cpp
M +1 -1 plugins/history/historydialog.cpp
M +2 -2 plugins/history/historylogger.cpp
M +8 -8 plugins/history/historyplugin.cpp
M +1 -1 plugins/history2/history2dialog.cpp
M +8 -8 plugins/history2/history2plugin.cpp
M +2 -2 plugins/latex/latexplugin.cpp
M +1 -1 plugins/nowlistening/nowlisteningplugin.cpp
M +4 -2 plugins/otr/kopete_otr.kcfg
M +5 -5 plugins/otr/otrguiclient.cpp
M +1 -1 plugins/otr/otrlchatinterface.cpp
M +2 -2 plugins/otr/otrplugin.cpp
M +1 -1 plugins/otr/otrpreferences.cpp
M +1 -1 plugins/privacy/privacymessagehandler.cpp
M +5 -5 plugins/privacy/privacyplugin.cpp
M +2 -2 plugins/statistics/statisticsplugin.cpp
M +1 -1 plugins/translator/translatorguiclient.cpp
M +8 -8 plugins/translator/translatorplugin.cpp
M +4 -2 plugins/urlpicpreview/urlpicpreview.kcfg
M +4 -4 protocols/bonjour/bonjouraccount.cpp
M +3 -3 protocols/bonjour/bonjourcontact.cpp
M +4 -4 protocols/gadu/gaduaccount.cpp
M +2 -2 protocols/gadu/gaducontact.cpp
M +1 -1 protocols/gadu/gadudcc.cpp
M +2 -2 protocols/gadu/gadudcctransaction.cpp
M +2 -2 protocols/gadu/gadueditcontact.cpp
M +4 -4 protocols/jabber/jabberfiletransfer.cpp
M +4 -4 protocols/jabber/jingle/jinglecallsmanager.cpp
M +3 -3 protocols/sms/services/smsclient.cpp
M +2 -2 protocols/sms/services/smssendprovider.cpp
M +1 -1 protocols/sms/smscontact.cpp
M +2 -2 protocols/winpopup/wpcontact.cpp
https://commits.kde.org/kopete/771daae4de6c643ae7846c9af456307a71be7e17
diff --git a/kopete/addaccountwizard/addaccountwizard.cpp b/kopete/addaccountwizard/addaccountwizard.cpp
index cafe34607..0d1e80b41 100644
--- a/kopete/addaccountwizard/addaccountwizard.cpp
+++ b/kopete/addaccountwizard/addaccountwizard.cpp
@@ -112,11 +112,11 @@ AddAccountWizard::AddAccountWizard(QWidget *parent, bool firstRun)
protocol_list->setFocus();
// hook up the user input
- connect(d->uiSelectService.protocolListView, SIGNAL(itemClicked(QTreeWidgetItem *,int)),
+ connect(d->uiSelectService.protocolListView, SIGNAL(itemClicked(QTreeWidgetItem*,int)),
this, SLOT(slotProtocolListClicked()));
connect(d->uiSelectService.protocolListView, SIGNAL(itemSelectionChanged()),
this, SLOT(slotProtocolListClicked()));
- connect(d->uiSelectService.protocolListView, SIGNAL(itemDoubleClicked(QTreeWidgetItem *,int)),
+ connect(d->uiSelectService.protocolListView, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)),
this, SLOT(slotProtocolListDoubleClicked()));
//FIXME : KDialog::setHelp(QString(),"kopete");
}
diff --git a/kopete/chatwindow/chatmessagepart.cpp b/kopete/chatwindow/chatmessagepart.cpp
index 0e4bff14c..65f5cfae6 100644
--- a/kopete/chatwindow/chatmessagepart.cpp
+++ b/kopete/chatwindow/chatmessagepart.cpp
@@ -226,7 +226,7 @@ ChatMessagePart::ChatMessagePart(Kopete::ChatSession *mgr, QWidget *parent)
d->manager = mgr;
d->currentChatStyle = ChatWindowStyleManager::self()->getValidStyleFromPool(KopeteChatWindowSettings::self()->styleName());
if (d->currentChatStyle) {
- connect(d->currentChatStyle, SIGNAL(destroyed(QObject *)), this, SLOT(clearStyle()));
+ connect(d->currentChatStyle, SIGNAL(destroyed(QObject*)), this, SLOT(clearStyle()));
}
connect(this, SIGNAL(completed()), this, SLOT(slotRenderingFinished()));
@@ -423,12 +423,12 @@ void ChatMessagePart::setStyle(ChatWindowStyle *style)
{
// Change the current style
if (d->currentChatStyle) {
- disconnect(d->currentChatStyle, SIGNAL(destroyed(QObject *)), this, SLOT(clearStyle()));
+ disconnect(d->currentChatStyle, SIGNAL(destroyed(QObject*)), this, SLOT(clearStyle()));
}
d->currentChatStyle = style;
if (d->currentChatStyle) {
- connect(d->currentChatStyle, SIGNAL(destroyed(QObject *)), this, SLOT(clearStyle()));
+ connect(d->currentChatStyle, SIGNAL(destroyed(QObject*)), this, SLOT(clearStyle()));
}
// Do the actual style switch
diff --git a/kopete/chatwindow/chattexteditpart.cpp b/kopete/chatwindow/chattexteditpart.cpp
index 03511de05..d5538ae22 100644
--- a/kopete/chatwindow/chattexteditpart.cpp
+++ b/kopete/chatwindow/chattexteditpart.cpp
@@ -98,12 +98,12 @@ void ChatTextEditPart::init(Kopete::ChatSession *session, QWidget *parent)
connect(m_typingRepeatTimer, &QTimer::timeout, this, &ChatTextEditPart::slotRepeatTypingTimer);
connect(m_typingStopTimer, SIGNAL(timeout()), this, SLOT(slotStoppedTypingTimer()));
- connect(session, SIGNAL(contactAdded(const Kopete::Contact *,bool)),
- this, SLOT(slotContactAdded(const Kopete::Contact *)));
- connect(session, SIGNAL(contactRemoved(const Kopete::Contact *,QString,Qt::TextFormat,bool)),
- this, SLOT(slotContactRemoved(const Kopete::Contact *)));
- connect(session, SIGNAL(onlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)),
- this, SLOT(slotContactStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)));
+ connect(session, SIGNAL(contactAdded(const Kopete::Contact*,bool)),
+ this, SLOT(slotContactAdded(const Kopete::Contact*)));
+ connect(session, SIGNAL(contactRemoved(const Kopete::Contact*,QString,Qt::TextFormat,bool)),
+ this, SLOT(slotContactRemoved(const Kopete::Contact*)));
+ connect(session, SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
+ this, SLOT(slotContactStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)));
connect(Kopete::AppearanceSettings::self(), SIGNAL(appearanceChanged()),
this, SLOT(slotAppearanceChanged()));
diff --git a/kopete/chatwindow/chatview.cpp b/kopete/chatwindow/chatview.cpp
index 9ebe7101f..85bf8a8e0 100644
--- a/kopete/chatwindow/chatview.cpp
+++ b/kopete/chatwindow/chatview.cpp
@@ -139,24 +139,24 @@ ChatView::ChatView(Kopete::ChatSession *mgr, ChatWindowPlugin *parent)
//Manager signals
connect(mgr, SIGNAL(displayNameChanged()),
this, SLOT(slotChatDisplayNameChanged()));
- connect(mgr, SIGNAL(statusMessageChanged(Kopete::Contact *)),
- this, SLOT(slotStatusMessageChanged(Kopete::Contact *)));
- connect(mgr, SIGNAL(contactAdded(const Kopete::Contact *,bool)),
- this, SLOT(slotContactAdded(const Kopete::Contact *,bool)));
- connect(mgr, SIGNAL(contactRemoved(const Kopete::Contact *,QString,Qt::TextFormat,bool)),
- this, SLOT(slotContactRemoved(const Kopete::Contact *,QString,Qt::TextFormat,bool)));
- connect(mgr, SIGNAL(onlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)),
- this, SLOT(slotContactStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)));
- connect(mgr, SIGNAL(remoteTyping(const Kopete::Contact *,bool)),
- this, SLOT(remoteTyping(const Kopete::Contact *,bool)));
+ connect(mgr, SIGNAL(statusMessageChanged(Kopete::Contact*)),
+ this, SLOT(slotStatusMessageChanged(Kopete::Contact*)));
+ connect(mgr, SIGNAL(contactAdded(const Kopete::Contact*,bool)),
+ this, SLOT(slotContactAdded(const Kopete::Contact*,bool)));
+ connect(mgr, SIGNAL(contactRemoved(const Kopete::Contact*,QString,Qt::TextFormat,bool)),
+ this, SLOT(slotContactRemoved(const Kopete::Contact*,QString,Qt::TextFormat,bool)));
+ connect(mgr, SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
+ this, SLOT(slotContactStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)));
+ connect(mgr, SIGNAL(remoteTyping(const Kopete::Contact*,bool)),
+ this, SLOT(remoteTyping(const Kopete::Contact*,bool)));
connect(mgr, SIGNAL(eventNotification(QString)),
this, SLOT(setStatusText(QString)));
//Connections to the manager and the ViewManager that every view should have
- connect(this, SIGNAL(closing(KopeteView *)),
- KopeteViewManager::viewManager(), SLOT(slotViewDestroyed(KopeteView *)));
- connect(this, SIGNAL(activated(KopeteView *)),
- KopeteViewManager::viewManager(), SLOT(slotViewActivated(KopeteView *)));
+ connect(this, SIGNAL(closing(KopeteView*)),
+ KopeteViewManager::viewManager(), SLOT(slotViewDestroyed(KopeteView*)));
+ connect(this, SIGNAL(activated(KopeteView*)),
+ KopeteViewManager::viewManager(), SLOT(slotViewActivated(KopeteView*)));
connect(this, SIGNAL(messageSent(Kopete::Message&)),
mgr, SLOT(sendMessage(Kopete::Message&)));
connect(mgr, SIGNAL(messageSuccess()),
@@ -979,7 +979,7 @@ void ChatView::dropEvent(QDropEvent *event)
void ChatView::registerContextMenuHandler(QObject *target, const char *slot)
{
connect(m_messagePart,
- SIGNAL(contextMenuEvent(Kopete::Message&,QString,QMenu *)),
+ SIGNAL(contextMenuEvent(Kopete::Message&,QString,QMenu*)),
target,
slot
);
diff --git a/kopete/chatwindow/emoticonselector.cpp b/kopete/chatwindow/emoticonselector.cpp
index 0f1f15f70..a68410c98 100644
--- a/kopete/chatwindow/emoticonselector.cpp
+++ b/kopete/chatwindow/emoticonselector.cpp
@@ -83,12 +83,12 @@ EmoticonSelector::EmoticonSelector(QWidget *parent)
m_currentMovie = new QMovie(this);
m_currentEmoticon->setMovie(m_currentMovie);
- connect(m_emoticonList, SIGNAL(itemEntered(QListWidgetItem *)),
- this, SLOT(mouseOverItem(QListWidgetItem *)));
+ connect(m_emoticonList, SIGNAL(itemEntered(QListWidgetItem*)),
+ this, SLOT(mouseOverItem(QListWidgetItem*)));
connect(m_emoticonList, SIGNAL(itemSelectionChanged()),
this, SLOT(currentChanged()));
- connect(m_emoticonList, SIGNAL(itemClicked(QListWidgetItem *)),
- this, SLOT(emoticonClicked(QListWidgetItem *)));
+ connect(m_emoticonList, SIGNAL(itemClicked(QListWidgetItem*)),
+ this, SLOT(emoticonClicked(QListWidgetItem*)));
}
void EmoticonSelector::prepareList(void)
diff --git a/kopete/chatwindow/kopetechatwindow.cpp b/kopete/chatwindow/kopetechatwindow.cpp
index a70343f22..c7fa9e9e5 100644
--- a/kopete/chatwindow/kopetechatwindow.cpp
+++ b/kopete/chatwindow/kopetechatwindow.cpp
@@ -215,7 +215,7 @@ KopeteChatWindow::KopeteChatWindow(Kopete::ChatSession::Form form, QWidget *pare
ChatSessionMembersListModel *members_model = new ChatSessionMembersListModel(this);
- connect(this, SIGNAL(chatSessionChanged(Kopete::ChatSession *)), members_model, SLOT(setChatSession(Kopete::ChatSession *)));
+ connect(this, SIGNAL(chatSessionChanged(Kopete::ChatSession*)), members_model, SLOT(setChatSession(Kopete::ChatSession*)));
ChatMembersListView *chatmembers = new ChatMembersListView(m_participantsWidget);
chatmembers->setModel(members_model);
@@ -434,12 +434,12 @@ void KopeteChatWindow::initActions(void)
actionDetachMenu->setDelayed(false);
connect(actionDetachMenu->menu(), SIGNAL(aboutToShow()), this, SLOT(slotPrepareDetachMenu()));
- connect(actionDetachMenu->menu(), SIGNAL(triggered(QAction *)), this, SLOT(slotDetachChat(QAction *)));
+ connect(actionDetachMenu->menu(), SIGNAL(triggered(QAction*)), this, SLOT(slotDetachChat(QAction*)));
actionTabPlacementMenu = new KActionMenu(i18n("&Tab Placement"), coll);
coll->addAction(QStringLiteral("tabs_placement"), actionTabPlacementMenu);
connect(actionTabPlacementMenu->menu(), SIGNAL(aboutToShow()), this, SLOT(slotPreparePlacementMenu()));
- connect(actionTabPlacementMenu->menu(), SIGNAL(triggered(QAction *)), this, SLOT(slotPlaceTabs(QAction *)));
+ connect(actionTabPlacementMenu->menu(), SIGNAL(triggered(QAction*)), this, SLOT(slotPlaceTabs(QAction*)));
coll->setDefaultShortcut(tabDetach, QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_B));
@@ -673,7 +673,7 @@ void KopeteChatWindow::createTabBar()
m_tabBar->setTabsClosable(cg.readEntry(QStringLiteral("HoverClose"), true));
m_tabBar->setMovable(true);
m_tabBar->setAutomaticResizeTabs(true);
- connect(m_tabBar, SIGNAL(closeRequest(QWidget *)), this, SLOT(slotCloseChat(QWidget *)));
+ connect(m_tabBar, SIGNAL(closeRequest(QWidget*)), this, SLOT(slotCloseChat(QWidget*)));
m_UpdateChatLabel = cg.readEntry(QStringLiteral("ShowContactName"), true);
@@ -691,10 +691,10 @@ void KopeteChatWindow::createTabBar()
addTab(*it);
}
- connect(m_tabBar, SIGNAL(testCanDecode(const QDragMoveEvent *,bool&)), this, SLOT(testCanDecode(const QDragMoveEvent *,bool&)));
- connect(m_tabBar, SIGNAL(receivedDropEvent(QWidget *,QDropEvent *)), this, SLOT(receivedDropEvent(QWidget *,QDropEvent *)));
- connect(m_tabBar, SIGNAL(currentChanged(QWidget *)), this, SLOT(setActiveView(QWidget *)));
- connect(m_tabBar, SIGNAL(contextMenu(QWidget *,QPoint)), this, SLOT(slotTabContextMenu(QWidget *,QPoint)));
+ connect(m_tabBar, SIGNAL(testCanDecode(const QDragMoveEvent*,bool&)), this, SLOT(testCanDecode(const QDragMoveEvent*,bool&)));
+ connect(m_tabBar, SIGNAL(receivedDropEvent(QWidget*,QDropEvent*)), this, SLOT(receivedDropEvent(QWidget*,QDropEvent*)));
+ connect(m_tabBar, SIGNAL(currentChanged(QWidget*)), this, SLOT(setActiveView(QWidget*)));
+ connect(m_tabBar, SIGNAL(contextMenu(QWidget*,QPoint)), this, SLOT(slotTabContextMenu(QWidget*,QPoint)));
if (m_activeView) {
m_tabBar->setCurrentWidget(m_activeView);
@@ -735,7 +735,7 @@ void KopeteChatWindow::addTab(ChatView *view)
m_tabBar->addTab(view, pluginIcon, QLatin1String(""));
view->setVisible(view == m_activeView);
- connect(view, SIGNAL(updateStatusIcon(ChatView *)), this, SLOT(slotUpdateCaptionIcons(ChatView *)));
+ connect(view, SIGNAL(updateStatusIcon(ChatView*)), this, SLOT(slotUpdateCaptionIcons(ChatView*)));
if (m_UpdateChatLabel) {
connect(view, SIGNAL(captionChanged(bool)), this, SLOT(updateChatLabel()));
@@ -759,8 +759,8 @@ void KopeteChatWindow::setPrimaryChatView(ChatView *view)
void KopeteChatWindow::deleteTabBar()
{
if (m_tabBar) {
- disconnect(m_tabBar, SIGNAL(currentChanged(QWidget *)), this, SLOT(setActiveView(QWidget *)));
- disconnect(m_tabBar, SIGNAL(contextMenu(QWidget *,QPoint)), this, SLOT(slotTabContextMenu(QWidget *,QPoint)));
+ disconnect(m_tabBar, SIGNAL(currentChanged(QWidget*)), this, SLOT(setActiveView(QWidget*)));
+ disconnect(m_tabBar, SIGNAL(contextMenu(QWidget*,QPoint)), this, SLOT(slotTabContextMenu(QWidget*,QPoint)));
if (!chatViewList.isEmpty()) {
setPrimaryChatView(chatViewList.first());
@@ -791,17 +791,17 @@ void KopeteChatWindow::attachChatView(ChatView *newView)
KCursor::setAutoHideCursor(newView->editWidget(), true, true);
connect(newView, SIGNAL(captionChanged(bool)), this, SLOT(slotSetCaption(bool)));
- connect(newView, SIGNAL(messageSuccess(ChatView *)), this, SLOT(slotStopAnimation(ChatView *)));
- connect(newView, SIGNAL(updateStatusIcon(ChatView *)), this, SLOT(slotUpdateCaptionIcons(ChatView *)));
+ connect(newView, SIGNAL(messageSuccess(ChatView*)), this, SLOT(slotStopAnimation(ChatView*)));
+ connect(newView, SIGNAL(updateStatusIcon(ChatView*)), this, SLOT(slotUpdateCaptionIcons(ChatView*)));
if (m_UpdateChatLabel) {
- connect(newView, SIGNAL(updateChatState(ChatView *,int)), this, SLOT(updateChatState(ChatView *,int)));
+ connect(newView, SIGNAL(updateChatState(ChatView*,int)), this, SLOT(updateChatState(ChatView*,int)));
}
updateActions();
checkDetachEnable();
- connect(newView, SIGNAL(autoSpellCheckEnabled(ChatView *,bool)),
- this, SLOT(slotAutoSpellCheckEnabled(ChatView *,bool)));
+ connect(newView, SIGNAL(autoSpellCheckEnabled(ChatView*,bool)),
+ this, SLOT(slotAutoSpellCheckEnabled(ChatView*,bool)));
}
void KopeteChatWindow::checkDetachEnable()
@@ -823,8 +823,8 @@ void KopeteChatWindow::detachChatView(ChatView *view)
chatViewList.removeAt(chatViewList.indexOf(view));
disconnect(view, SIGNAL(captionChanged(bool)), this, SLOT(slotSetCaption(bool)));
- disconnect(view, SIGNAL(updateStatusIcon(ChatView *)), this, SLOT(slotUpdateCaptionIcons(ChatView *)));
- disconnect(view, SIGNAL(updateChatState(ChatView *,int)), this, SLOT(updateChatState(ChatView *,int)));
+ disconnect(view, SIGNAL(updateStatusIcon(ChatView*)), this, SLOT(slotUpdateCaptionIcons(ChatView*)));
+ disconnect(view, SIGNAL(updateChatState(ChatView*,int)), this, SLOT(updateChatState(ChatView*,int)));
view->editWidget()->removeEventFilter(this);
if (m_tabBar) {
diff --git a/kopete/chatwindow/kopetechatwindowsettings.kcfg b/kopete/chatwindow/kopetechatwindowsettings.kcfg
index 806c6140e..2cc57d6a4 100644
--- a/kopete/chatwindow/kopetechatwindowsettings.kcfg
+++ b/kopete/chatwindow/kopetechatwindowsettings.kcfg
@@ -5,9 +5,9 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <kcfgfile name="kopeterc"/>
<include>kglobalsettings.h</include>
<include>kcolorscheme.h</include>
+ <kcfgfile name="kopeterc"/>
<!-- Define the available signals to emit -->
<signal name="chatwindowAppearanceChanged">
diff --git a/kopete/chatwindow/kopeteemailwindow.cpp b/kopete/chatwindow/kopeteemailwindow.cpp
index ec32b361f..e9adf4797 100644
--- a/kopete/chatwindow/kopeteemailwindow.cpp
+++ b/kopete/chatwindow/kopeteemailwindow.cpp
@@ -150,10 +150,10 @@ KopeteEmailWindow::KopeteEmailWindow(Kopete::ChatSession *manager, EmailWindowPl
manager, SLOT(typing(bool)));
//Connections to the manager and the ViewManager that every view should have
- connect(this, SIGNAL(closing(KopeteView *)),
- KopeteViewManager::viewManager(), SLOT(slotViewDestroyed(KopeteView *)));
- connect(this, SIGNAL(activated(KopeteView *)),
- KopeteViewManager::viewManager(), SLOT(slotViewActivated(KopeteView *)));
+ connect(this, SIGNAL(closing(KopeteView*)),
+ KopeteViewManager::viewManager(), SLOT(slotViewDestroyed(KopeteView*)));
+ connect(this, SIGNAL(activated(KopeteView*)),
+ KopeteViewManager::viewManager(), SLOT(slotViewActivated(KopeteView*)));
connect(this, SIGNAL(messageSent(Kopete::Message&)),
manager, SLOT(sendMessage(Kopete::Message&)));
connect(manager, SIGNAL(messageSuccess()),
diff --git a/kopete/config/accounts/kopeteaccountconfig.cpp b/kopete/config/accounts/kopeteaccountconfig.cpp
index 036b46945..e4446a49a 100644
--- a/kopete/config/accounts/kopeteaccountconfig.cpp
+++ b/kopete/config/accounts/kopeteaccountconfig.cpp
@@ -69,13 +69,13 @@ KopeteAccountConfig::KopeteAccountConfig(QWidget *parent, const QVariantList &ar
connect(mAccountList, SIGNAL(itemPositionChanged()), this, SLOT(changed()));
connect(mAccountList, SIGNAL(itemSelectionChanged()), this, SLOT(slotItemSelected()));
- connect(mAccountList, SIGNAL(itemDoubleClicked(QTreeWidgetItem *,int)), this, SLOT(slotModify()));
- connect(mAccountList, SIGNAL(itemChanged(QTreeWidgetItem *,int)), this, SLOT(slotItemChanged(QTreeWidgetItem *)));
- connect(mAccountList, SIGNAL(itemClicked(QTreeWidgetItem *,int)), this, SLOT(slotItemClicked(QTreeWidgetItem *,int)));
+ connect(mAccountList, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)), this, SLOT(slotModify()));
+ connect(mAccountList, SIGNAL(itemChanged(QTreeWidgetItem*,int)), this, SLOT(slotItemChanged(QTreeWidgetItem*)));
+ connect(mAccountList, SIGNAL(itemClicked(QTreeWidgetItem*,int)), this, SLOT(slotItemClicked(QTreeWidgetItem*,int)));
// this ensures that newly created accounts are assigned to the selected identity
- connect(Kopete::AccountManager::self(), SIGNAL(accountRegistered(Kopete::Account *)), this, SLOT(slotAccountAdded(Kopete::Account *)));
- connect(Kopete::AccountManager::self(), SIGNAL(accountUnregistered(const Kopete::Account *)), this, SLOT(slotAccountRemoved(const Kopete::Account *)));
+ connect(Kopete::AccountManager::self(), SIGNAL(accountRegistered(Kopete::Account*)), this, SLOT(slotAccountAdded(Kopete::Account*)));
+ connect(Kopete::AccountManager::self(), SIGNAL(accountUnregistered(const Kopete::Account*)), this, SLOT(slotAccountRemoved(const Kopete::Account*)));
mAccountList->installEventFilter(this);
@@ -197,8 +197,8 @@ void KopeteAccountConfig::load()
lvi->setFlags((lvi->flags() & ~Qt::ItemIsDropEnabled) | Qt::ItemIsUserCheckable);
lvi->setCheckState(0, account->excludeConnect() ? Qt::Unchecked : Qt::Checked);
- connect(account->myself(), SIGNAL(onlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)),
- this, SLOT(slotOnlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)));
+ connect(account->myself(), SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
+ this, SLOT(slotOnlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)));
}
changed(false);
diff --git a/kopete/config/appearance/contactlistlayouteditwidget.cpp b/kopete/config/appearance/contactlistlayouteditwidget.cpp
index 37653eac8..1e2282322 100644
--- a/kopete/config/appearance/contactlistlayouteditwidget.cpp
+++ b/kopete/config/appearance/contactlistlayouteditwidget.cpp
@@ -38,7 +38,7 @@ LayoutEditWidget::LayoutEditWidget(QWidget *parent)
m_tokenFactory = new ContactListTokenFactory;
m_tokenDropTarget = new TokenDropTarget(QStringLiteral("application/x-kopete-contactlist-token"), this);
m_tokenDropTarget->setCustomTokenFactory(m_tokenFactory);
- connect(m_tokenDropTarget, SIGNAL(focussed(QWidget *)), this, SIGNAL(focussed(QWidget *)));
+ connect(m_tokenDropTarget, SIGNAL(focussed(QWidget*)), this, SIGNAL(focussed(QWidget*)));
connect(m_tokenDropTarget, SIGNAL(changed()), this, SIGNAL(changed()));
m_showIconCheckBox = new QCheckBox(i18n("Show Icon"), this);
diff --git a/kopete/contactlist/contactlistmodel.cpp b/kopete/contactlist/contactlistmodel.cpp
index 82ef718c8..9d1869935 100644
--- a/kopete/contactlist/contactlistmodel.cpp
+++ b/kopete/contactlist/contactlistmodel.cpp
@@ -59,8 +59,8 @@ ContactListModel::ContactListModel(QObject *parent)
m_manualMetaContactSorting = (as->contactListMetaContactSorting() == AppearanceSettings::EnumContactListMetaContactSorting::Manual);
connect(AppearanceSettings::self(), SIGNAL(configChanged()), this, SLOT(appearanceConfigChanged()));
- connect(Kopete::ChatSessionManager::self(), SIGNAL(newEvent(Kopete::MessageEvent *)),
- this, SLOT(newMessageEvent(Kopete::MessageEvent *)));
+ connect(Kopete::ChatSessionManager::self(), SIGNAL(newEvent(Kopete::MessageEvent*)),
+ this, SLOT(newMessageEvent(Kopete::MessageEvent*)));
}
// Can't be in constructor because we can't call virtual method loadContactList from constructor
@@ -262,10 +262,10 @@ bool ContactListModel::saveModelSettings(const QString &modelType)
void ContactListModel::addMetaContact(Kopete::MetaContact *contact)
{
- connect(contact, SIGNAL(onlineStatusChanged(Kopete::MetaContact *,Kopete::OnlineStatus::StatusType)),
- this, SLOT(handleContactDataChange(Kopete::MetaContact *)));
- connect(contact, SIGNAL(statusMessageChanged(Kopete::MetaContact *)),
- this, SLOT(handleContactDataChange(Kopete::MetaContact *)));
+ connect(contact, SIGNAL(onlineStatusChanged(Kopete::MetaContact*,Kopete::OnlineStatus::StatusType)),
+ this, SLOT(handleContactDataChange(Kopete::MetaContact*)));
+ connect(contact, SIGNAL(statusMessageChanged(Kopete::MetaContact*)),
+ this, SLOT(handleContactDataChange(Kopete::MetaContact*)));
connect(contact, SIGNAL(displayNameChanged(QString,QString)),
this, SLOT(handleContactDataChange()));
connect(contact, SIGNAL(photoChanged()),
@@ -274,10 +274,10 @@ void ContactListModel::addMetaContact(Kopete::MetaContact *contact)
void ContactListModel::removeMetaContact(Kopete::MetaContact *contact)
{
- disconnect(contact, SIGNAL(onlineStatusChanged(Kopete::MetaContact *,Kopete::OnlineStatus::StatusType)),
- this, SLOT(handleContactDataChange(Kopete::MetaContact *)));
- disconnect(contact, SIGNAL(statusMessageChanged(Kopete::MetaContact *)),
- this, SLOT(handleContactDataChange(Kopete::MetaContact *)));
+ disconnect(contact, SIGNAL(onlineStatusChanged(Kopete::MetaContact*,Kopete::OnlineStatus::StatusType)),
+ this, SLOT(handleContactDataChange(Kopete::MetaContact*)));
+ disconnect(contact, SIGNAL(statusMessageChanged(Kopete::MetaContact*)),
+ this, SLOT(handleContactDataChange(Kopete::MetaContact*)));
disconnect(contact, SIGNAL(displayNameChanged(QString,QString)),
this, SLOT(handleContactDataChange()));
disconnect(contact, SIGNAL(photoChanged()),
@@ -320,24 +320,24 @@ void ContactListModel::loadContactList()
disconnect(kcl, SIGNAL(contactListLoaded()), this, SLOT(loadContactList()));
// MetaContact related
- connect(kcl, SIGNAL(metaContactAdded(Kopete::MetaContact *)),
- this, SLOT(addMetaContact(Kopete::MetaContact *)));
- connect(kcl, SIGNAL(metaContactRemoved(Kopete::MetaContact *)),
- this, SLOT(removeMetaContact(Kopete::MetaContact *)));
+ connect(kcl, SIGNAL(metaContactAdded(Kopete::MetaContact*)),
+ this, SLOT(addMetaContact(Kopete::MetaContact*)));
+ connect(kcl, SIGNAL(metaContactRemoved(Kopete::MetaContact*)),
+ this, SLOT(removeMetaContact(Kopete::MetaContact*)));
// Group related
- connect(kcl, SIGNAL(groupAdded(Kopete::Group *)),
- this, SLOT(addGroup(Kopete::Group *)));
- connect(kcl, SIGNAL(groupRemoved(Kopete::Group *)),
- this, SLOT(removeGroup(Kopete::Group *)));
+ connect(kcl, SIGNAL(groupAdded(Kopete::Group*)),
+ this, SLOT(addGroup(Kopete::Group*)));
+ connect(kcl, SIGNAL(groupRemoved(Kopete::Group*)),
+ this, SLOT(removeGroup(Kopete::Group*)));
// MetaContact and Group related
- connect(kcl, SIGNAL(metaContactAddedToGroup(Kopete::MetaContact *,Kopete::Group *)),
- this, SLOT(addMetaContactToGroup(Kopete::MetaContact *,Kopete::Group *)));
- connect(kcl, SIGNAL(metaContactRemovedFromGroup(Kopete::MetaContact *,Kopete::Group *)),
- this, SLOT(removeMetaContactFromGroup(Kopete::MetaContact *,Kopete::Group *)));
- connect(kcl, SIGNAL(metaContactMovedToGroup(Kopete::MetaContact *,Kopete::Group *,Kopete::Group *)),
- this, SLOT(moveMetaContactToGroup(Kopete::MetaContact *,Kopete::Group *,Kopete::Group *)));
+ connect(kcl, SIGNAL(metaContactAddedToGroup(Kopete::MetaContact*,Kopete::Group*)),
+ this, SLOT(addMetaContactToGroup(Kopete::MetaContact*,Kopete::Group*)));
+ connect(kcl, SIGNAL(metaContactRemovedFromGroup(Kopete::MetaContact*,Kopete::Group*)),
+ this, SLOT(removeMetaContactFromGroup(Kopete::MetaContact*,Kopete::Group*)));
+ connect(kcl, SIGNAL(metaContactMovedToGroup(Kopete::MetaContact*,Kopete::Group*,Kopete::Group*)),
+ this, SLOT(moveMetaContactToGroup(Kopete::MetaContact*,Kopete::Group*,Kopete::Group*)));
}
void ContactListModel::handleContactDataChange()
@@ -359,8 +359,8 @@ void ContactListModel::newMessageEvent(Kopete::MessageEvent *event)
return;
}
- connect(event, SIGNAL(done(Kopete::MessageEvent *)),
- this, SLOT(newMessageEventDone(Kopete::MessageEvent *)));
+ connect(event, SIGNAL(done(Kopete::MessageEvent*)),
+ this, SLOT(newMessageEventDone(Kopete::MessageEvent*)));
bool firstEvent = m_newMessageMetaContactSet[mc].isEmpty();
m_newMessageMetaContactSet[mc].insert(event);
diff --git a/kopete/contactlist/kabcexport.cpp b/kopete/contactlist/kabcexport.cpp
index f3f7eb39d..f98c6fe3d 100644
--- a/kopete/contactlist/kabcexport.cpp
+++ b/kopete/contactlist/kabcexport.cpp
@@ -61,8 +61,8 @@ KabcExportWizard::KabcExportWizard(QWidget *parent)
m_page2.setupUi(page2Widget);
m_page2WidgetItem = addPage(page2Widget, i18n("Select Contact"));
- connect(m_page1.addrBooks, SIGNAL(currentItemChanged(QListWidgetItem *,QListWidgetItem *)),
- SLOT(slotResourceSelectionChanged(QListWidgetItem *)));
+ connect(m_page1.addrBooks, SIGNAL(currentItemChanged(QListWidgetItem*,QListWidgetItem*)),
+ SLOT(slotResourceSelectionChanged(QListWidgetItem*)));
connect(m_page2.btnSelectAll, SIGNAL(clicked()), SLOT(slotSelectAll()));
connect(m_page2.btnDeselectAll, SIGNAL(clicked()), SLOT(slotDeselectAll()));
diff --git a/kopete/contactlist/kopetecontactlistview.cpp b/kopete/contactlist/kopetecontactlistview.cpp
index d9d57de06..912f3e28e 100644
--- a/kopete/contactlist/kopetecontactlistview.cpp
+++ b/kopete/contactlist/kopetecontactlistview.cpp
@@ -207,10 +207,10 @@ void KopeteContactListView::initActions(KActionCollection *ac)
// connect( Kopete::ContactList::self(), SIGNAL(metaContactSelected(bool)), this, SLOT(slotMetaContactSelected(bool)) );
- connect(Kopete::AccountManager::self(), SIGNAL(accountRegistered(Kopete::Account *)),
- this, SLOT(addToAddContactMenu(Kopete::Account *)));
- connect(Kopete::AccountManager::self(), SIGNAL(accountUnregistered(const Kopete::Account *)),
- this, SLOT(removeToAddContactMenu(const Kopete::Account *)));
+ connect(Kopete::AccountManager::self(), SIGNAL(accountRegistered(Kopete::Account*)),
+ this, SLOT(addToAddContactMenu(Kopete::Account*)));
+ connect(Kopete::AccountManager::self(), SIGNAL(accountUnregistered(const Kopete::Account*)),
+ this, SLOT(removeToAddContactMenu(const Kopete::Account*)));
d->actionProperties = new QAction(QIcon::fromTheme(QStringLiteral("user-properties")), i18n("&Properties"), ac);
ac->addAction(QStringLiteral("contactProperties"), d->actionProperties);
@@ -767,14 +767,14 @@ void KopeteContactListView::selectionChanged(const QItemSelection &selected, con
updateActions();
if (d->selectedMetaContact) { // Delete previous connection
- disconnect(d->selectedMetaContact, SIGNAL(onlineStatusChanged(Kopete::MetaContact *,Kopete::OnlineStatus::StatusType)),
+ disconnect(d->selectedMetaContact, SIGNAL(onlineStatusChanged(Kopete::MetaContact*,Kopete::OnlineStatus::StatusType)),
this, SLOT(updateMetaContactActions()));
d->selectedMetaContact = 0;
}
if (contacts.count() == 1 && groups.empty()) {
d->selectedMetaContact = contacts.values().first();
- connect(d->selectedMetaContact, SIGNAL(onlineStatusChanged(Kopete::MetaContact *,Kopete::OnlineStatus::StatusType)),
+ connect(d->selectedMetaContact, SIGNAL(onlineStatusChanged(Kopete::MetaContact*,Kopete::OnlineStatus::StatusType)),
this, SLOT(updateMetaContactActions()));
}
diff --git a/kopete/contactlist/kopetegrouplistaction.cpp b/kopete/contactlist/kopetegrouplistaction.cpp
index f8e7bd4e0..56cae8cec 100644
--- a/kopete/contactlist/kopetegrouplistaction.cpp
+++ b/kopete/contactlist/kopetegrouplistaction.cpp
@@ -36,9 +36,9 @@ KopeteGroupListAction::KopeteGroupListAction(const QString &text, const QString
connect(this, SIGNAL(triggered(int)), receiver, slot);
}
- connect(Kopete::ContactList::self(), SIGNAL(groupAdded(Kopete::Group *)), this, SLOT(slotUpdateList()));
- connect(Kopete::ContactList::self(), SIGNAL(groupRemoved(Kopete::Group *)), this, SLOT(slotUpdateList()));
- connect(Kopete::ContactList::self(), SIGNAL(groupRenamed(Kopete::Group *,QString)), this, SLOT(slotUpdateList()));
+ connect(Kopete::ContactList::self(), SIGNAL(groupAdded(Kopete::Group*)), this, SLOT(slotUpdateList()));
+ connect(Kopete::ContactList::self(), SIGNAL(groupRemoved(Kopete::Group*)), this, SLOT(slotUpdateList()));
+ connect(Kopete::ContactList::self(), SIGNAL(groupRenamed(Kopete::Group*,QString)), this, SLOT(slotUpdateList()));
slotUpdateList();
}
diff --git a/kopete/contactlist/kopetelviprops.cpp b/kopete/contactlist/kopetelviprops.cpp
index 20b194f0a..882c40629 100644
--- a/kopete/contactlist/kopetelviprops.cpp
+++ b/kopete/contactlist/kopetelviprops.cpp
@@ -597,8 +597,8 @@ void KopeteMetaLVIProps::slotOpenSoundDialog(KUrlRequester *requester)
{
// taken from kdelibs/kio/kfile/knotifydialog.cpp
// only need to init this once
- requester->disconnect(SIGNAL(openFileDialog(KUrlRequester *)),
- this, SLOT(slotOpenSoundDialog(KUrlRequester *)));
+ requester->disconnect(SIGNAL(openFileDialog(KUrlRequester*)),
+ this, SLOT(slotOpenSoundDialog(KUrlRequester*)));
QFileDialog *fileDialog = requester->fileDialog();
fileDialog->setWindowTitle(i18n("Select Sound File"));
diff --git a/kopete/identity/accountidentitydialog.cpp b/kopete/identity/accountidentitydialog.cpp
index c309b870b..13fc88f03 100644
--- a/kopete/identity/accountidentitydialog.cpp
+++ b/kopete/identity/accountidentitydialog.cpp
@@ -62,21 +62,21 @@ AccountIdentityDialog::AccountIdentityDialog(QWidget *parent)
header->setVisible(false);
// hook up the user input
- connect(d->ui.identityList, SIGNAL(itemClicked(QTreeWidgetItem *,int)),
+ connect(d->ui.identityList, SIGNAL(itemClicked(QTreeWidgetItem*,int)),
this, SLOT(slotValidate()));
connect(d->ui.identityList, SIGNAL(itemSelectionChanged()),
this, SLOT(slotValidate()));
- connect(d->ui.identityList, SIGNAL(itemDoubleClicked(QTreeWidgetItem *,int)),
+ connect(d->ui.identityList, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)),
this, SLOT(slotIdentityListDoubleClicked()));
// identity manager signals
Kopete::IdentityManager *manager = Kopete::IdentityManager::self();
- connect(manager, SIGNAL(identityRegistered(Kopete::Identity *)), this, SLOT(slotLoadIdentities()));
- connect(manager, SIGNAL(identityUnregistered(const Kopete::Identity *)), this, SLOT(slotLoadIdentities()));
+ connect(manager, SIGNAL(identityRegistered(Kopete::Identity*)), this, SLOT(slotLoadIdentities()));
+ connect(manager, SIGNAL(identityUnregistered(const Kopete::Identity*)), this, SLOT(slotLoadIdentities()));
// account manager signals
Kopete::AccountManager *acmanager = Kopete::AccountManager::self();
- connect(acmanager, SIGNAL(accountOnlineStatusChanged(Kopete::Account *,Kopete::OnlineStatus,Kopete::OnlineStatus)),
+ connect(acmanager, SIGNAL(accountOnlineStatusChanged(Kopete::Account*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
this, SLOT(slotLoadAccounts()));
slotLoadIdentities();
slotValidate();
diff --git a/kopete/identity/identitystatuswidget.cpp b/kopete/identity/identitystatuswidget.cpp
index 6a921535d..ce3fcffa3 100644
--- a/kopete/identity/identitystatuswidget.cpp
+++ b/kopete/identity/identitystatuswidget.cpp
@@ -74,20 +74,20 @@ IdentityStatusWidget::IdentityStatusWidget(Kopete::Identity *identity, QWidget *
// user input signals
connect(d->ui.accounts, SIGNAL(customContextMenuRequested(QPoint)),
this, SLOT(showAccountContextMenu(QPoint)));
- connect(d->ui.accounts, SIGNAL(itemClicked(QListWidgetItem *)),
- this, SLOT(slotAccountClicked(QListWidgetItem *)));
- connect(d->ui.accounts, SIGNAL(itemDoubleClicked(QListWidgetItem *)),
- this, SLOT(slotAccountDoubleClicked(QListWidgetItem *)));
+ connect(d->ui.accounts, SIGNAL(itemClicked(QListWidgetItem*)),
+ this, SLOT(slotAccountClicked(QListWidgetItem*)));
+ connect(d->ui.accounts, SIGNAL(itemDoubleClicked(QListWidgetItem*)),
+ this, SLOT(slotAccountDoubleClicked(QListWidgetItem*)));
connect(d->ui.photo, SIGNAL(clicked()),
this, SLOT(slotPhotoClicked()));
- connect(Kopete::AccountManager::self(), SIGNAL(accountRegistered(Kopete::Account *)),
- this, SLOT(slotAccountRegistered(Kopete::Account *)));
- connect(Kopete::AccountManager::self(), SIGNAL(accountUnregistered(const Kopete::Account *)),
- this, SLOT(slotAccountUnregistered(const Kopete::Account *)));
+ connect(Kopete::AccountManager::self(), SIGNAL(accountRegistered(Kopete::Account*)),
+ this, SLOT(slotAccountRegistered(Kopete::Account*)));
+ connect(Kopete::AccountManager::self(), SIGNAL(accountUnregistered(const Kopete::Account*)),
+ this, SLOT(slotAccountUnregistered(const Kopete::Account*)));
- connect(Kopete::IdentityManager::self(), SIGNAL(identityUnregistered(const Kopete::Identity *)),
- this, SLOT(slotIdentityUnregistered(const Kopete::Identity *)));
+ connect(Kopete::IdentityManager::self(), SIGNAL(identityUnregistered(const Kopete::Identity*)),
+ this, SLOT(slotIdentityUnregistered(const Kopete::Identity*)));
d->ui.accounts->viewport()->installEventFilter(this);
}
@@ -105,20 +105,20 @@ void IdentityStatusWidget::setIdentity(Kopete::Identity *identity)
if (d->identity) {
// if we were showing an identity before, disconnect the signal to handle updates
- disconnect(d->identity, SIGNAL(propertyChanged(Kopete::PropertyContainer *,QString,QVariant,QVariant)),
- this, SLOT(slotIdentityPropertyChanged(Kopete::PropertyContainer *)));
- disconnect(d->identity, SIGNAL(identityChanged(Kopete::Identity *)),
- this, SLOT(slotIdentityChanged(Kopete::Identity *)));
+ disconnect(d->identity, SIGNAL(propertyChanged(Kopete::PropertyContainer*,QString,QVariant,QVariant)),
+ this, SLOT(slotIdentityPropertyChanged(Kopete::PropertyContainer*)));
+ disconnect(d->identity, SIGNAL(identityChanged(Kopete::Identity*)),
+ this, SLOT(slotIdentityChanged(Kopete::Identity*)));
}
d->identity = identity;
load();
if (d->identity) {
// Handle identity changes
- connect(d->identity, SIGNAL(propertyChanged(Kopete::PropertyContainer *,QString,QVariant,QVariant)),
- this, SLOT(slotIdentityPropertyChanged(Kopete::PropertyContainer *)));
- connect(d->identity, SIGNAL(identityChanged(Kopete::Identity *)),
- this, SLOT(slotIdentityChanged(Kopete::Identity *)));
+ connect(d->identity, SIGNAL(propertyChanged(Kopete::PropertyContainer*,QString,QVariant,QVariant)),
+ this, SLOT(slotIdentityPropertyChanged(Kopete::PropertyContainer*)));
+ connect(d->identity, SIGNAL(identityChanged(Kopete::Identity*)),
+ this, SLOT(slotIdentityChanged(Kopete::Identity*)));
}
}
@@ -255,8 +255,8 @@ void IdentityStatusWidget::addAccountItem(Kopete::Account *account)
}
connect(account->myself(),
- SIGNAL(onlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)),
- this, SLOT(slotAccountStatusIconChanged(Kopete::Contact *)));
+ SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
+ this, SLOT(slotAccountStatusIconChanged(Kopete::Contact*)));
QListWidgetItem *item = new QListWidgetItem(account->accountIcon(), account->accountLabel(), d->ui.accounts);
d->accountHash.insert(item, account);
diff --git a/kopete/infoeventwidget.cpp b/kopete/infoeventwidget.cpp
index d70d953c4..fb53bd883 100644
--- a/kopete/infoeventwidget.cpp
+++ b/kopete/infoeventwidget.cpp
@@ -60,7 +60,7 @@ InfoEventWidget::InfoEventWidget(QWidget *parent)
d->currentEventIndex = 0;
d->enableUpdates = false;
connect(Kopete::InfoEventManager::self(), SIGNAL(changed()), this, SLOT(updateInfo()));
- connect(Kopete::InfoEventManager::self(), SIGNAL(eventAdded(Kopete::InfoEvent *)), this, SLOT(eventAdded(Kopete::InfoEvent *)));
+ connect(Kopete::InfoEventManager::self(), SIGNAL(eventAdded(Kopete::InfoEvent*)), this, SLOT(eventAdded(Kopete::InfoEvent*)));
connect(d->ui.lblActions, SIGNAL(linkActivated(QString)), this, SLOT(linkClicked(QString)));
connect(d->ui.buttonPrev, SIGNAL(clicked(bool)), this, SLOT(prevInfoEvent()));
connect(d->ui.buttonNext, SIGNAL(clicked(bool)), this, SLOT(nextInfoEvent()));
diff --git a/kopete/kopeteaccountstatusbaricon.cpp b/kopete/kopeteaccountstatusbaricon.cpp
index 7e853778c..fdda40c73 100644
--- a/kopete/kopeteaccountstatusbaricon.cpp
+++ b/kopete/kopeteaccountstatusbaricon.cpp
@@ -37,7 +37,7 @@ KopeteAccountStatusBarIcon::KopeteAccountStatusBarIcon(Kopete::Account *account,
setCursor(QCursor(Qt::PointingHandCursor));
connect(account, SIGNAL(colorChanged(QColor)), this, SLOT(statusIconChanged()));
- connect(account->myself(), SIGNAL(onlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)),
+ connect(account->myself(), SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
this, SLOT(statusIconChanged()));
statusIconChanged();
diff --git a/kopete/kopetedbusinterface_p.cpp b/kopete/kopetedbusinterface_p.cpp
index ed01ce2f8..7f825133f 100644
--- a/kopete/kopetedbusinterface_p.cpp
+++ b/kopete/kopetedbusinterface_p.cpp
@@ -30,22 +30,22 @@ ContactStalker::ContactStalker(Kopete::MetaContact *contact)
{
m_contact = contact;
QObject::connect(Kopete::ContactList::self(),
- SIGNAL(metaContactRemoved(Kopete::MetaContact *)),
- this, SLOT(slotMetaContactRemoved(Kopete::MetaContact *)));
- QObject::connect(contact, SIGNAL(onlineStatusChanged(Kopete::MetaContact *,Kopete::OnlineStatus::StatusType)),
+ SIGNAL(metaContactRemoved(Kopete::MetaContact*)),
+ this, SLOT(slotMetaContactRemoved(Kopete::MetaContact*)));
+ QObject::connect(contact, SIGNAL(onlineStatusChanged(Kopete::MetaContact*,Kopete::OnlineStatus::StatusType)),
this, SLOT(slotEmitSignalDelayed()));
QObject::connect(contact, SIGNAL(displayNameChanged(QString,QString)),
this, SLOT(slotEmitSignalDelayed()));
QObject::connect(contact, SIGNAL(photoChanged()),
this, SLOT(slotEmitSignalDelayed()));
- QObject::connect(contact, SIGNAL(contactAdded(Kopete::Contact *)),
+ QObject::connect(contact, SIGNAL(contactAdded(Kopete::Contact*)),
this, SLOT(slotEmitSignalDelayed()));
- QObject::connect(contact, SIGNAL(contactRemoved(Kopete::Contact *)),
+ QObject::connect(contact, SIGNAL(contactRemoved(Kopete::Contact*)),
this, SLOT(slotEmitSignalDelayed()));
QObject::connect(Kopete::ChatSessionManager::self(),
- SIGNAL(display(Kopete::Message&,Kopete::ChatSession *)),
- this, SLOT(messageAppended(Kopete::Message&,Kopete::ChatSession *)));
+ SIGNAL(display(Kopete::Message&,Kopete::ChatSession*)),
+ this, SLOT(messageAppended(Kopete::Message&,Kopete::ChatSession*)));
m_lastChange = QTime::currentTime();
slotEmitSignal();
@@ -81,7 +81,7 @@ void ContactStalker::messageAppended(Kopete::Message &message, Kopete::ChatSessi
foreach (Kopete::Contact *subContact, m_contact->contacts()) {
QList<Kopete::MessageEvent *> pendingMessages = KopeteViewManager::viewManager()->pendingMessages(subContact);
foreach (Kopete::MessageEvent *event, pendingMessages) {
- connect(event, SIGNAL(done(Kopete::MessageEvent *)), this, SLOT(slotEmitSignalDelayed()));
+ connect(event, SIGNAL(done(Kopete::MessageEvent*)), this, SLOT(slotEmitSignalDelayed()));
}
}
@@ -101,8 +101,8 @@ void ContactStalker::slotMetaContactRemoved(Kopete::MetaContact *contact)
KopeteDBusInterfacePrivate::KopeteDBusInterfacePrivate()
{
QObject::connect(Kopete::ContactList::self(),
- SIGNAL(metaContactAdded(Kopete::MetaContact *)),
- this, SLOT(slotMetaContactAdded(Kopete::MetaContact *)));
+ SIGNAL(metaContactAdded(Kopete::MetaContact*)),
+ this, SLOT(slotMetaContactAdded(Kopete::MetaContact*)));
foreach (Kopete::MetaContact *contact, Kopete::ContactList::self()->metaContacts()) {
this->slotMetaContactAdded(contact);
diff --git a/kopete/kopeteidentitystatusbaricon.cpp b/kopete/kopeteidentitystatusbaricon.cpp
index a89b5991f..032548478 100644
--- a/kopete/kopeteidentitystatusbaricon.cpp
+++ b/kopete/kopeteidentitystatusbaricon.cpp
@@ -51,8 +51,8 @@ void KopeteIdentityStatusBarIcon::mousePressEvent(QMouseEvent *me)
connect(statusAction, SIGNAL(changeStatus(uint,Kopete::StatusMessage)),
m_identity, SLOT(setOnlineStatus(uint,Kopete::StatusMessage)));
- connect(statusAction, SIGNAL(updateMessage(Kopete::StatusRootAction *)),
- this, SLOT(updateMessage(Kopete::StatusRootAction *)));
+ connect(statusAction, SIGNAL(updateMessage(Kopete::StatusRootAction*)),
+ this, SLOT(updateMessage(Kopete::StatusRootAction*)));
connect(statusAction, SIGNAL(changeMessage(Kopete::StatusMessage)),
m_identity, SLOT(setStatusMessage(Kopete::StatusMessage)));
diff --git a/kopete/kopetewindow.cpp b/kopete/kopetewindow.cpp
index 4bce39632..959a5028f 100644
--- a/kopete/kopetewindow.cpp
+++ b/kopete/kopetewindow.cpp
@@ -314,7 +314,7 @@ KopeteWindow::KopeteWindow (QWidget *parent)
connect(infoLabel, SIGNAL(clicked()), this, SLOT(slotInfoIconClicked()));
statusBarMessageLayout->addWidget(infoLabel);
statusBarMessageLayout->addSpacing(1);
- connect(Kopete::InfoEventManager::self(), SIGNAL(eventAdded(Kopete::InfoEvent *)), this, SLOT(slotNewInfoEvent()));
+ connect(Kopete::InfoEventManager::self(), SIGNAL(eventAdded(Kopete::InfoEvent*)), this, SLOT(slotNewInfoEvent()));
d->globalStatusMessage = new KSqueezedTextLabel(statusBarMessage);
connect(Kopete::StatusManager::self(), SIGNAL(globalStatusChanged()),
@@ -334,16 +334,16 @@ KopeteWindow::KopeteWindow (QWidget *parent)
// --------------------------------------------------------------------------------
// Trap all loaded plugins, so we can add their status bar icons accordingly , also used to add XMLGUIClient
- connect(Kopete::PluginManager::self(), SIGNAL(pluginLoaded(Kopete::Plugin *)),
- this, SLOT(slotPluginLoaded(Kopete::Plugin *)));
+ connect(Kopete::PluginManager::self(), SIGNAL(pluginLoaded(Kopete::Plugin*)),
+ this, SLOT(slotPluginLoaded(Kopete::Plugin*)));
connect(Kopete::PluginManager::self(), SIGNAL(allPluginsLoaded()),
this, SLOT(slotAllPluginsLoaded()));
// Connect all identity signals
- connect(Kopete::IdentityManager::self(), SIGNAL(identityRegistered(Kopete::Identity *)),
- this, SLOT(slotIdentityRegistered(Kopete::Identity *)));
- connect(Kopete::IdentityManager::self(), SIGNAL(identityUnregistered(const Kopete::Identity *)),
- this, SLOT(slotIdentityUnregistered(const Kopete::Identity *)));
+ connect(Kopete::IdentityManager::self(), SIGNAL(identityRegistered(Kopete::Identity*)),
+ this, SLOT(slotIdentityRegistered(Kopete::Identity*)));
+ connect(Kopete::IdentityManager::self(), SIGNAL(identityUnregistered(const Kopete::Identity*)),
+ this, SLOT(slotIdentityUnregistered(const Kopete::Identity*)));
connect(d->autoHideTimer, SIGNAL(timeout()), this, SLOT(slotAutoHide()));
connect(d->contactlist, SIGNAL(visibleContentHeightChanged()), this, SLOT(slotStartAutoResizeTimer()));
@@ -458,8 +458,8 @@ void KopeteWindow::initActions()
connect(statusAction, SIGNAL(changeStatus(uint,Kopete::StatusMessage)),
this, SLOT(setOnlineStatus(uint,Kopete::StatusMessage)));
- connect(statusAction, SIGNAL(updateMessage(Kopete::StatusRootAction *)),
- this, SLOT(updateStatusMenuMessage(Kopete::StatusRootAction *)));
+ connect(statusAction, SIGNAL(updateMessage(Kopete::StatusRootAction*)),
+ this, SLOT(updateStatusMenuMessage(Kopete::StatusRootAction*)));
connect(statusAction, SIGNAL(changeMessage(Kopete::StatusMessage)),
this, SLOT(setStatusMessage(Kopete::StatusMessage)));
@@ -586,8 +586,8 @@ void KopeteWindow::initSystray()
if (Kopete::BehaviorSettings::self()->showSystemTray()) {
d->tray = KopeteSystemTray::systemTray(this);
- QObject::connect(d->tray, SIGNAL(aboutToShowMenu(QMenu *)),
- this, SLOT(slotTrayAboutToShowMenu(QMenu *)));
+ QObject::connect(d->tray, SIGNAL(aboutToShowMenu(QMenu*)),
+ this, SLOT(slotTrayAboutToShowMenu(QMenu*)));
d->tray->setStandardActionsEnabled(true);
QObject::connect(d->tray, SIGNAL(quit()), this, SLOT(slotQuit()));
}
@@ -751,8 +751,8 @@ void KopeteWindow::slotConfigChanged()
Kopete::Identity::List identityList = Kopete::IdentityManager::self()->identities();
foreach (Kopete::Identity *identity, identityList) {
KopeteIdentityStatusBarIcon *sbIcon = new KopeteIdentityStatusBarIcon(identity, d->statusBarWidget);
- connect(sbIcon, SIGNAL(leftClicked(Kopete::Identity *,QPoint)), this,
- SLOT(slotIdentityStatusIconLeftClicked(Kopete::Identity *,QPoint)));
+ connect(sbIcon, SIGNAL(leftClicked(Kopete::Identity*,QPoint)), this,
+ SLOT(slotIdentityStatusIconLeftClicked(Kopete::Identity*,QPoint)));
d->identityStatusBarIcons.insert(identity, sbIcon);
slotIdentityStatusIconChanged(identity);
@@ -958,10 +958,10 @@ void KopeteWindow::slotAllPluginsLoaded()
//Connect the appropriate account signals
/* Please note that I tried to put this in the slotAllPluginsLoaded() function
* but it seemed to break the account icons in the statusbar --Matt */
- connect(Kopete::AccountManager::self(), SIGNAL(accountRegistered(Kopete::Account *)),
- this, SLOT(slotAccountRegistered(Kopete::Account *)));
- connect(Kopete::AccountManager::self(), SIGNAL(accountUnregistered(const Kopete::Account *)),
- this, SLOT(slotAccountUnregistered(const Kopete::Account *)));
+ connect(Kopete::AccountManager::self(), SIGNAL(accountRegistered(Kopete::Account*)),
+ this, SLOT(slotAccountRegistered(Kopete::Account*)));
+ connect(Kopete::AccountManager::self(), SIGNAL(accountUnregistered(const Kopete::Account*)),
+ this, SLOT(slotAccountUnregistered(const Kopete::Account*)));
if (d->showIdentityIcons) {
QString identityId = cg.readEntry("ShownIdentityId", Kopete::IdentityManager::self()->defaultIdentity()->id());
@@ -980,17 +980,17 @@ void KopeteWindow::slotIdentityRegistered(Kopete::Identity *identity)
return;
}
- connect(identity, SIGNAL(onlineStatusChanged(Kopete::Identity *)),
- this, SLOT(slotIdentityStatusIconChanged(Kopete::Identity *)));
- connect(identity, SIGNAL(identityChanged(Kopete::Identity *)),
- this, SLOT(slotIdentityStatusIconChanged(Kopete::Identity *)));
- connect(identity, SIGNAL(toolTipChanged(Kopete::Identity *)),
- this, SLOT(slotIdentityToolTipChanged(Kopete::Identity *)));
+ connect(identity, SIGNAL(onlineStatusChanged(Kopete::Identity*)),
+ this, SLOT(slotIdentityStatusIconChanged(Kopete::Identity*)));
+ connect(identity, SIGNAL(identityChanged(Kopete::Identity*)),
+ this, SLOT(slotIdentityStatusIconChanged(Kopete::Identity*)));
+ connect(identity, SIGNAL(toolTipChanged(Kopete::Identity*)),
+ this, SLOT(slotIdentityToolTipChanged(Kopete::Identity*)));
if (d->showIdentityIcons) {
KopeteIdentityStatusBarIcon *sbIcon = new KopeteIdentityStatusBarIcon(identity, d->statusBarWidget);
- connect(sbIcon, SIGNAL(leftClicked(Kopete::Identity *,QPoint)),
- SLOT(slotIdentityStatusIconLeftClicked(Kopete::Identity *,QPoint)));
+ connect(sbIcon, SIGNAL(leftClicked(Kopete::Identity*,QPoint)),
+ SLOT(slotIdentityStatusIconLeftClicked(Kopete::Identity*,QPoint)));
d->identityStatusBarIcons.insert(identity, sbIcon);
}
diff --git a/kopete/statusmenu/kopetestatusgroupaction.cpp b/kopete/statusmenu/kopetestatusgroupaction.cpp
index c5c160bbc..5dc61b60e 100644
--- a/kopete/statusmenu/kopetestatusgroupaction.cpp
+++ b/kopete/statusmenu/kopetestatusgroupaction.cpp
@@ -30,10 +30,10 @@ StatusGroupAction::StatusGroupAction(Status::StatusGroup *group, StatusRootActio
init();
connect(mStatusGroup, SIGNAL(changed()), this, SLOT(changed()));
- connect(mStatusGroup, SIGNAL(childRemoved(Kopete::Status::StatusItem *)),
- this, SLOT(childRemoved(Kopete::Status::StatusItem *)));
- connect(mStatusGroup, SIGNAL(childInserted(int,Kopete::Status::StatusItem *)),
- this, SLOT(childInserted(int,Kopete::Status::StatusItem *)));
+ connect(mStatusGroup, SIGNAL(childRemoved(Kopete::Status::StatusItem*)),
+ this, SLOT(childRemoved(Kopete::Status::StatusItem*)));
+ connect(mStatusGroup, SIGNAL(childInserted(int,Kopete::Status::StatusItem*)),
+ this, SLOT(childInserted(int,Kopete::Status::StatusItem*)));
foreach (Kopete::Status::StatusItem *child, mStatusGroup->childList()) {
insertChild(0, child);
diff --git a/kopete/statusmenu/kopetestatusrootaction.cpp b/kopete/statusmenu/kopetestatusrootaction.cpp
index de16fa5c9..e9eb154e2 100644
--- a/kopete/statusmenu/kopetestatusrootaction.cpp
+++ b/kopete/statusmenu/kopetestatusrootaction.cpp
@@ -150,10 +150,10 @@ void StatusRootAction::init()
connect(statusManager, SIGNAL(changed()), this, SLOT(rootChanged()));
d->group = statusManager->getRootGroup();
- connect(d->group, SIGNAL(childRemoved(Kopete::Status::StatusItem *)),
- this, SLOT(childRemoved(Kopete::Status::StatusItem *)));
- connect(d->group, SIGNAL(childInserted(int,Kopete::Status::StatusItem *)),
- this, SLOT(childInserted(int,Kopete::Status::StatusItem *)));
+ connect(d->group, SIGNAL(childRemoved(Kopete::Status::StatusItem*)),
+ this, SLOT(childRemoved(Kopete::Status::StatusItem*)));
+ connect(d->group, SIGNAL(childInserted(int,Kopete::Status::StatusItem*)),
+ this, SLOT(childInserted(int,Kopete::Status::StatusItem*)));
foreach (Kopete::Status::StatusItem *child, d->group->childList()) {
insertChild(d->insertBefore, child);
@@ -294,10 +294,10 @@ void StatusRootAction::rootChanged()
Kopete::StatusManager *statusManager = Kopete::StatusManager::self();
d->group = statusManager->getRootGroup();
- connect(d->group, SIGNAL(childRemoved(Kopete::Status::StatusItem *)),
- this, SLOT(childRemoved(Kopete::Status::StatusItem *)));
- connect(d->group, SIGNAL(childInserted(int,Kopete::Status::StatusItem *)),
- this, SLOT(childInserted(int,Kopete::Status::StatusItem *)));
+ connect(d->group, SIGNAL(childRemoved(Kopete::Status::StatusItem*)),
+ this, SLOT(childRemoved(Kopete::Status::StatusItem*)));
+ connect(d->group, SIGNAL(childInserted(int,Kopete::Status::StatusItem*)),
+ this, SLOT(childInserted(int,Kopete::Status::StatusItem*)));
foreach (Kopete::Status::StatusItem *child, d->group->childList()) {
insertChild(d->statusSeparator, child);
diff --git a/kopete/systemtray.cpp b/kopete/systemtray.cpp
index 6608b7d93..8f5ae1fd2 100644
--- a/kopete/systemtray.cpp
+++ b/kopete/systemtray.cpp
@@ -66,8 +66,8 @@ KopeteSystemTray::KopeteSystemTray(QWidget *parent)
connect(contextMenu(), SIGNAL(aboutToShow()), this, SLOT(slotAboutToShowMenu()));
connect(mBlinkTimer, SIGNAL(timeout()), this, SLOT(slotBlink()));
- connect(Kopete::ChatSessionManager::self(), SIGNAL(newEvent(Kopete::MessageEvent *)),
- this, SLOT(slotNewEvent(Kopete::MessageEvent *)));
+ connect(Kopete::ChatSessionManager::self(), SIGNAL(newEvent(Kopete::MessageEvent*)),
+ this, SLOT(slotNewEvent(Kopete::MessageEvent*)));
connect(Kopete::BehaviorSettings::self(), SIGNAL(configChanged()), this, SLOT(slotConfigChanged()));
connect(Kopete::AccountManager::self(),
@@ -164,8 +164,8 @@ void KopeteSystemTray::slotNewEvent(Kopete::MessageEvent *event)
{
mEventList.append(event);
- connect(event, SIGNAL(done(Kopete::MessageEvent *)),
- this, SLOT(slotEventDone(Kopete::MessageEvent *)));
+ connect(event, SIGNAL(done(Kopete::MessageEvent*)),
+ this, SLOT(slotEventDone(Kopete::MessageEvent*)));
// tray animation
if (Kopete::BehaviorSettings::self()->trayflashNotify()) {
diff --git a/libkopete/chatsessionmemberslistmodel.cpp b/libkopete/chatsessionmemberslistmodel.cpp
index 8e8a89f64..dce63bdb1 100644
--- a/libkopete/chatsessionmemberslistmodel.cpp
+++ b/libkopete/chatsessionmemberslistmodel.cpp
@@ -124,20 +124,20 @@ void ChatSessionMembersListModel::setChatSession(ChatSession *session)
d->session = session;
- connect(session, SIGNAL(closing(Kopete::ChatSession *)),
+ connect(session, SIGNAL(closing(Kopete::ChatSession*)),
this, SLOT(slotSessionClosed()));
- connect(session, SIGNAL(contactAdded(const Kopete::Contact *,bool)),
- this, SLOT(slotContactAdded(const Kopete::Contact *)));
- connect(session, SIGNAL(contactRemoved(const Kopete::Contact *,QString,Qt::TextFormat,bool)),
- this, SLOT(slotContactRemoved(const Kopete::Contact *)));
- connect(session, SIGNAL(onlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)),
- this, SLOT(slotContactStatusChanged(Kopete::Contact *,Kopete::OnlineStatus)));
+ connect(session, SIGNAL(contactAdded(const Kopete::Contact*,bool)),
+ this, SLOT(slotContactAdded(const Kopete::Contact*)));
+ connect(session, SIGNAL(contactRemoved(const Kopete::Contact*,QString,Qt::TextFormat,bool)),
+ this, SLOT(slotContactRemoved(const Kopete::Contact*)));
+ connect(session, SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
+ this, SLOT(slotContactStatusChanged(Kopete::Contact*,Kopete::OnlineStatus)));
connect(session, SIGNAL(displayNameChanged()),
this, SLOT(slotSessionChanged()));
connect(session, SIGNAL(photoChanged()),
this, SLOT(slotSessionChanged()));
- connect(session, SIGNAL(nickNameChanged(Kopete::Contact *,QString)),
- this, SLOT(slotContactNickNameChanged(Kopete::Contact *)));
+ connect(session, SIGNAL(nickNameChanged(Kopete::Contact*,QString)),
+ this, SLOT(slotContactNickNameChanged(Kopete::Contact*)));
d->contacts.clear();
d->insertMultiple(d->session->members());
diff --git a/libkopete/contactlist/xmlcontactstorage.cpp b/libkopete/contactlist/xmlcontactstorage.cpp
index f70d6b029..3b261cbde 100644
--- a/libkopete/contactlist/xmlcontactstorage.cpp
+++ b/libkopete/contactlist/xmlcontactstorage.cpp
@@ -433,10 +433,10 @@ bool XmlContactStorage::parseMetaContact(Kopete::MetaContact *metaContact, const
metaContact->setDisplayNameSource(nameSourcePID, nameSourceAID, nameSourceCID);
// If a plugin is loaded, load data cached
- QObject::connect(Kopete::PluginManager::self(), SIGNAL(pluginLoaded(Kopete::Plugin *)),
- metaContact, SLOT(slotPluginLoaded(Kopete::Plugin *)));
- QObject::connect(Kopete::PluginManager::self(), SIGNAL(protocolLoaded(Kopete::Protocol *)),
- metaContact, SLOT(slotProtocolLoaded(Kopete::Protocol *)));
+ QObject::connect(Kopete::PluginManager::self(), SIGNAL(pluginLoaded(Kopete::Plugin*)),
+ metaContact, SLOT(slotPluginLoaded(Kopete::Plugin*)));
+ QObject::connect(Kopete::PluginManager::self(), SIGNAL(protocolLoaded(Kopete::Protocol*)),
+ metaContact, SLOT(slotProtocolLoaded(Kopete::Protocol*)));
// All plugins are already loaded, call manually the contact setting slot.
if (Kopete::PluginManager::self()->isAllPluginsLoaded()) {
diff --git a/libkopete/kopeteaccount.cpp b/libkopete/kopeteaccount.cpp
index 5bce0c7c8..e5843d7d0 100644
--- a/libkopete/kopeteaccount.cpp
+++ b/libkopete/kopeteaccount.cpp
@@ -138,7 +138,7 @@ Account::~Account()
{
// Delete all registered child contacts first
foreach (Contact *c, d->contacts) {
- QObject::disconnect(c, SIGNAL(contactDestroyed(Kopete::Contact *)), this, 0);
+ QObject::disconnect(c, SIGNAL(contactDestroyed(Kopete::Contact*)), this, 0);
}
qDeleteAll(d->contacts);
d->contacts.clear();
@@ -323,8 +323,8 @@ bool Account::registerContact(Contact *c)
}
d->contacts.insert(c->contactId(), c);
- QObject::connect(c, SIGNAL(contactDestroyed(Kopete::Contact *)),
- SLOT(contactDestroyed(Kopete::Contact *)));
+ QObject::connect(c, SIGNAL(contactDestroyed(Kopete::Contact*)),
+ SLOT(contactDestroyed(Kopete::Contact*)));
return true;
}
@@ -527,10 +527,10 @@ void Account::setMyself(Contact *myself)
d->myself = myself;
- QObject::connect(d->myself, SIGNAL(onlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)),
- this, SLOT(slotOnlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)));
- QObject::connect(d->myself, SIGNAL(propertyChanged(Kopete::PropertyContainer *,QString,QVariant,QVariant)),
- this, SLOT(slotContactPropertyChanged(Kopete::PropertyContainer *,QString,QVariant,QVariant)));
+ QObject::connect(d->myself, SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
+ this, SLOT(slotOnlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)));
+ QObject::connect(d->myself, SIGNAL(propertyChanged(Kopete::PropertyContainer*,QString,QVariant,QVariant)),
+ this, SLOT(slotContactPropertyChanged(Kopete::PropertyContainer*,QString,QVariant,QVariant)));
if (isConnected()) {
emit isConnectedChanged();
diff --git a/libkopete/kopeteaccountmanager.cpp b/libkopete/kopeteaccountmanager.cpp
index 96ab1ee13..d4d5c318b 100644
--- a/libkopete/kopeteaccountmanager.cpp
+++ b/libkopete/kopeteaccountmanager.cpp
@@ -277,7 +277,7 @@ Account *AccountManager::registerAccount(Account *account)
this, SLOT(slotAccountOnlineStatusChanged(Kopete::Contact *,
const Kopete::OnlineStatus&,const Kopete::OnlineStatus&)));
- connect(account, SIGNAL(accountDestroyed(const Kopete::Account *)), this, SLOT(unregisterAccount(const Kopete::Account *)));
+ connect(account, SIGNAL(accountDestroyed(const Kopete::Account*)), this, SLOT(unregisterAccount(const Kopete::Account*)));
if (!account->identity()) {
// the account's Identity must be set here instead of in the Kopete::Account ctor, because there the
@@ -364,8 +364,8 @@ void AccountManager::save()
void AccountManager::load()
{
- connect(PluginManager::self(), SIGNAL(pluginLoaded(Kopete::Plugin *)),
- this, SLOT(slotPluginLoaded(Kopete::Plugin *)));
+ connect(PluginManager::self(), SIGNAL(pluginLoaded(Kopete::Plugin*)),
+ this, SLOT(slotPluginLoaded(Kopete::Plugin*)));
// Iterate over all groups that start with "Account_" as those are accounts
// and load the required protocols if the account is enabled.
diff --git a/libkopete/kopeteappearancesettings.kcfg b/libkopete/kopeteappearancesettings.kcfg
index d5114ad97..c71310e49 100644
--- a/libkopete/kopeteappearancesettings.kcfg
+++ b/libkopete/kopeteappearancesettings.kcfg
@@ -4,10 +4,11 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <kcfgfile name="kopeterc"/>
<include>kstandarddirs.h</include>
<include>kglobalsettings.h</include>
<include>kcolorscheme.h</include>
+ <kcfgfile name="kopeterc"/>
+
<!-- Define the available signals to emit -->
<signal name="appearanceChanged">
diff --git a/libkopete/kopetechatsession.cpp b/libkopete/kopetechatsession.cpp
index cd8d75b01..27eff1f06 100644
--- a/libkopete/kopetechatsession.cpp
+++ b/libkopete/kopetechatsession.cpp
@@ -98,12 +98,12 @@ Kopete::ChatSession::ChatSession(const Kopete::Contact *user, Kopete::ContactPtr
addContact(others[i], true);
}
- connect(Kopete::PluginManager::self(), SIGNAL(pluginLoaded(Kopete::Plugin *)), this, SLOT(clearChains()));
+ connect(Kopete::PluginManager::self(), SIGNAL(pluginLoaded(Kopete::Plugin*)), this, SLOT(clearChains()));
connect(Kopete::PluginManager::self(), SIGNAL(pluginUnloaded(QString)), this, SLOT(clearChains()));
- connect(user, SIGNAL(contactDestroyed(Kopete::Contact *)), this, SLOT(slotMyselfDestroyed(Kopete::Contact *)));
- connect(user, SIGNAL(onlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)), this,
- SLOT(slotOnlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)));
+ connect(user, SIGNAL(contactDestroyed(Kopete::Contact*)), this, SLOT(slotMyselfDestroyed(Kopete::Contact*)));
+ connect(user, SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)), this,
+ SLOT(slotOnlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)));
if (user->metaContact()) {
connect(user->metaContact(), SIGNAL(photoChanged()), this, SIGNAL(photoChanged()));
@@ -136,8 +136,8 @@ void Kopete::ChatSession::setContactOnlineStatus(const Kopete::Contact *contact,
{
Kopete::OnlineStatus oldStatus = d->contactStatus[ contact ];
d->contactStatus[ contact ] = status;
- disconnect(contact, SIGNAL(onlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)),
- this, SIGNAL(onlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)));
+ disconnect(contact, SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
+ this, SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)));
emit onlineStatusChanged((Kopete::Contact *)contact, status, oldStatus);
}
@@ -458,9 +458,9 @@ void Kopete::ChatSession::addContact(const Kopete::Contact *c, bool suppress)
d->contacts.removeAll(old);
d->contacts.append((Kopete::Contact *)c);
- disconnect(old, SIGNAL(onlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)),
- this, SLOT(slotOnlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)));
- disconnect(old, SIGNAL(statusMessageChanged(Kopete::Contact *)), this, SIGNAL(statusMessageChanged(Kopete::Contact *)));
+ disconnect(old, SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
+ this, SLOT(slotOnlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)));
+ disconnect(old, SIGNAL(statusMessageChanged(Kopete::Contact*)), this, SIGNAL(statusMessageChanged(Kopete::Contact*)));
if (old->metaContact()) {
disconnect(old->metaContact(), SIGNAL(displayNameChanged(QString,QString)), this, SLOT(slotUpdateDisplayName()));
@@ -478,9 +478,9 @@ void Kopete::ChatSession::addContact(const Kopete::Contact *c, bool suppress)
emit contactAdded(c, suppress);
}
- connect(c, SIGNAL(onlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)),
- this, SLOT(slotOnlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)));
- connect(c, SIGNAL(statusMessageChanged(Kopete::Contact *)), this, SIGNAL(statusMessageChanged(Kopete::Contact *)));
+ connect(c, SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
+ this, SLOT(slotOnlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)));
+ connect(c, SIGNAL(statusMessageChanged(Kopete::Contact*)), this, SIGNAL(statusMessageChanged(Kopete::Contact*)));
if (c->metaContact()) {
connect(c->metaContact(), SIGNAL(displayNameChanged(QString,QString)), this, SLOT(slotUpdateDisplayName()));
@@ -488,7 +488,7 @@ void Kopete::ChatSession::addContact(const Kopete::Contact *c, bool suppress)
} else {
connect(c, SIGNAL(displayNameChanged(QString,QString)), this, SLOT(slotUpdateDisplayName()));
}
- connect(c, SIGNAL(contactDestroyed(Kopete::Contact *)), this, SLOT(slotContactDestroyed(Kopete::Contact *)));
+ connect(c, SIGNAL(contactDestroyed(Kopete::Contact*)), this, SLOT(slotContactDestroyed(Kopete::Contact*)));
connect(c, SIGNAL(displayNameChanged(QString,QString)), this, SLOT(slotDisplayNameChanged(QString,QString)));
slotUpdateDisplayName();
@@ -509,8 +509,8 @@ void Kopete::ChatSession::removeContact(const Kopete::Contact *c, const QString
} else {
d->contacts.removeAll((Kopete::Contact *)c);
- disconnect(c, SIGNAL(onlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)),
- this, SLOT(slotOnlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)));
+ disconnect(c, SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
+ this, SLOT(slotOnlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)));
if (c->metaContact()) {
disconnect(c->metaContact(), SIGNAL(displayNameChanged(QString,QString)), this, SLOT(slotUpdateDisplayName()));
@@ -518,7 +518,7 @@ void Kopete::ChatSession::removeContact(const Kopete::Contact *c, const QString
} else {
disconnect(c, SIGNAL(displayNameChanged(QString,QString)), this, SLOT(slotUpdateDisplayName()));
}
- disconnect(c, SIGNAL(contactDestroyed(Kopete::Contact *)), this, SLOT(slotContactDestroyed(Kopete::Contact *)));
+ disconnect(c, SIGNAL(contactDestroyed(Kopete::Contact*)), this, SLOT(slotContactDestroyed(Kopete::Contact*)));
disconnect(c, SIGNAL(displayNameChanged(QString,QString)), this, SLOT(slotDisplayNameChanged(QString,QString)));
@@ -576,7 +576,7 @@ void Kopete::ChatSession::receivedTypingMsg(const Kopete::Contact *c, bool t)
}
connect(notification, SIGNAL(activated(uint)), c, SLOT(execute()));
// User don't need this notification when view is activate
- connect(this, SIGNAL(viewActivated(KopeteView *)), notification, SLOT(close()));
+ connect(this, SIGNAL(viewActivated(KopeteView*)), notification, SLOT(close()));
notification->sendEvent();
}
@@ -636,8 +636,8 @@ KopeteView *Kopete::ChatSession::view(bool canCreate, const QString &requestedPl
if (!d->view && canCreate) {
d->view = Kopete::ChatSessionManager::self()->createView(this, requestedPlugin);
if (d->view) {
- connect(d->view->mainWidget(), SIGNAL(activated(KopeteView *)), this, SIGNAL(viewActivated(KopeteView *)));
- connect(d->view->mainWidget(), SIGNAL(closing(KopeteView *)), this, SLOT(slotViewDestroyed()));
+ connect(d->view->mainWidget(), SIGNAL(activated(KopeteView*)), this, SIGNAL(viewActivated(KopeteView*)));
+ connect(d->view->mainWidget(), SIGNAL(closing(KopeteView*)), this, SLOT(slotViewDestroyed()));
} else {
KMessageBox::queuedMessageBox(Kopete::UI::Global::mainWidget(), KMessageBox::Error,
i18n("<qt>An error has occurred while creating a new chat window. The chat window has not been created.</qt>"),
diff --git a/libkopete/kopetechatsessionmanager.cpp b/libkopete/kopetechatsessionmanager.cpp
index 5948c6e87..78e27dcbf 100644
--- a/libkopete/kopetechatsessionmanager.cpp
+++ b/libkopete/kopetechatsessionmanager.cpp
@@ -123,15 +123,15 @@ void ChatSessionManager::registerChatSession(ChatSession *result)
* There's no need for a slot here... just add a public remove()
* method and call from KMM's destructor
*/
- connect(result, SIGNAL(messageAppended(Kopete::Message&,Kopete::ChatSession *)),
+ connect(result, SIGNAL(messageAppended(Kopete::Message&,Kopete::ChatSession*)),
SIGNAL(aboutToDisplay(Kopete::Message&)));
- connect(result, SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession *)),
+ connect(result, SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession*)),
SIGNAL(aboutToSend(Kopete::Message&)));
- connect(result, SIGNAL(messageReceived(Kopete::Message&,Kopete::ChatSession *)),
+ connect(result, SIGNAL(messageReceived(Kopete::Message&,Kopete::ChatSession*)),
SIGNAL(aboutToReceive(Kopete::Message&)));
- connect(result, SIGNAL(messageAppended(Kopete::Message&,Kopete::ChatSession *)),
- SIGNAL(display(Kopete::Message&,Kopete::ChatSession *)));
+ connect(result, SIGNAL(messageAppended(Kopete::Message&,Kopete::ChatSession*)),
+ SIGNAL(display(Kopete::Message&,Kopete::ChatSession*)));
emit chatSessionCreated(result);
}
@@ -157,10 +157,10 @@ KopeteView *ChatSessionManager::createView(ChatSession *kmm, const QString &requ
QObject *viewObject = dynamic_cast<QObject *>(newView);
if (viewObject) {
- connect(viewObject, SIGNAL(activated(KopeteView *)),
- this, SIGNAL(viewActivated(KopeteView *)));
- connect(viewObject, SIGNAL(closing(KopeteView *)),
- this, SIGNAL(viewClosing(KopeteView *)));
+ connect(viewObject, SIGNAL(activated(KopeteView*)),
+ this, SIGNAL(viewActivated(KopeteView*)));
+ connect(viewObject, SIGNAL(closing(KopeteView*)),
+ this, SIGNAL(viewClosing(KopeteView*)));
} else {
qCWarning(LIBKOPETE_LOG) << "Failed to cast view to QObject *";
}
diff --git a/libkopete/kopetecommand.cpp b/libkopete/kopetecommand.cpp
index 25f9d5ad9..0758a3587 100644
--- a/libkopete/kopetecommand.cpp
+++ b/libkopete/kopetecommand.cpp
@@ -73,7 +73,7 @@ void Kopete::Command::init(const QString &command, const char *slot, const QStri
m_processing = false;
if (m_type == Kopete::CommandHandler::Normal) {
- QObject::connect(this, SIGNAL(handleCommand(QString,Kopete::ChatSession *)),
+ QObject::connect(this, SIGNAL(handleCommand(QString,Kopete::ChatSession*)),
d->parent, slot);
}
}
diff --git a/libkopete/kopetecommandhandler.cpp b/libkopete/kopetecommandhandler.cpp
index d27a77521..413deba7d 100644
--- a/libkopete/kopetecommandhandler.cpp
+++ b/libkopete/kopetecommandhandler.cpp
@@ -104,44 +104,44 @@ Kopete::CommandHandler::CommandHandler() : QObject(qApp)
mCommands.reserve(31);
p->pluginCommands.insert(this, mCommands);
- registerCommand(this, QStringLiteral("help"), SLOT(slotHelpCommand(QString,Kopete::ChatSession *)),
+ registerCommand(this, QStringLiteral("help"), SLOT(slotHelpCommand(QString,Kopete::ChatSession*)),
i18n("USAGE: /help [<command>] - Used to list available commands, or show help for a specified command."), 0, 1);
- registerCommand(this, QStringLiteral("url"), SLOT(slotOpenLastUrl(QString,Kopete::ChatSession *)),
+ registerCommand(this, QStringLiteral("url"), SLOT(slotOpenLastUrl(QString,Kopete::ChatSession*)),
i18n("USAGE: /url - Opens last URL for current chat in default browser."));
- registerCommand(this, QStringLiteral("close"), SLOT(slotCloseCommand(QString,Kopete::ChatSession *)),
+ registerCommand(this, QStringLiteral("close"), SLOT(slotCloseCommand(QString,Kopete::ChatSession*)),
i18n("USAGE: /close - Closes the current view."));
// FIXME: What's the difference with /close? The help doesn't explain it - Martijn
- registerCommand(this, QStringLiteral("part"), SLOT(slotPartCommand(QString,Kopete::ChatSession *)),
+ registerCommand(this, QStringLiteral("part"), SLOT(slotPartCommand(QString,Kopete::ChatSession*)),
i18n("USAGE: /part - Closes the current view."));
- registerCommand(this, QStringLiteral("clear"), SLOT(slotClearCommand(QString,Kopete::ChatSession *)),
+ registerCommand(this, QStringLiteral("clear"), SLOT(slotClearCommand(QString,Kopete::ChatSession*)),
i18n("USAGE: /clear - Clears the active view's chat buffer."));
//registerCommand( this, QString::fromLatin1("me"), SLOT(slotMeCommand(QString,Kopete::ChatSession*)),
// i18n( "USAGE: /me <text> - Formats message as in '<nickname> went to the store'." ) );
- registerCommand(this, QStringLiteral("away"), SLOT(slotAwayCommand(QString,Kopete::ChatSession *)),
+ registerCommand(this, QStringLiteral("away"), SLOT(slotAwayCommand(QString,Kopete::ChatSession*)),
i18n("USAGE: /away [<reason>] - Marks you as away/back for the current account only."));
- registerCommand(this, QStringLiteral("awayall"), SLOT(slotAwayAllCommand(QString,Kopete::ChatSession *)),
+ registerCommand(this, QStringLiteral("awayall"), SLOT(slotAwayAllCommand(QString,Kopete::ChatSession*)),
i18n("USAGE: /awayall [<reason>] - Marks you as away/back for all accounts."));
- registerCommand(this, QStringLiteral("say"), SLOT(slotSayCommand(QString,Kopete::ChatSession *)),
+ registerCommand(this, QStringLiteral("say"), SLOT(slotSayCommand(QString,Kopete::ChatSession*)),
i18n("USAGE: /say <text> - Say text in this chat. This is the same as just typing a message, but is very "
"useful for scripts."), 1);
- registerCommand(this, QStringLiteral("exec"), SLOT(slotExecCommand(QString,Kopete::ChatSession *)),
+ registerCommand(this, QStringLiteral("exec"), SLOT(slotExecCommand(QString,Kopete::ChatSession*)),
i18n("USAGE: /exec [-o] <command> - Executes the specified command and displays the output in the chat buffer. "
"If -o is specified, the output is sent to all members of the chat."), 1);
- connect(Kopete::PluginManager::self(), SIGNAL(pluginLoaded(Kopete::Plugin *)),
- this, SLOT(slotPluginLoaded(Kopete::Plugin *)));
+ connect(Kopete::PluginManager::self(), SIGNAL(pluginLoaded(Kopete::Plugin*)),
+ this, SLOT(slotPluginLoaded(Kopete::Plugin*)));
- connect(Kopete::ChatSessionManager::self(), SIGNAL(viewCreated(KopeteView *)),
- this, SLOT(slotViewCreated(KopeteView *)));
+ connect(Kopete::ChatSessionManager::self(), SIGNAL(viewCreated(KopeteView*)),
+ this, SLOT(slotViewCreated(KopeteView*)));
}
Kopete::CommandHandler::~CommandHandler()
@@ -523,7 +523,7 @@ void Kopete::CommandHandler::slotViewCreated(KopeteView *view)
void Kopete::CommandHandler::slotPluginLoaded(Kopete::Plugin *plugin)
{
- connect(plugin, SIGNAL(destroyed(QObject *)), this, SLOT(slotPluginDestroyed(QObject *)));
+ connect(plugin, SIGNAL(destroyed(QObject*)), this, SLOT(slotPluginDestroyed(QObject*)));
if (!p->pluginCommands.contains(plugin)) {
//Create a QDict optomized for a larger # of commands, and case insensitive
CommandList mCommands;
diff --git a/libkopete/kopetecontact.cpp b/libkopete/kopetecontact.cpp
index 733292685..9e9559577 100644
--- a/libkopete/kopetecontact.cpp
+++ b/libkopete/kopetecontact.cpp
@@ -118,7 +118,7 @@ Contact::Contact(Account *account, const QString &contactId, MetaContact *parent
d->contactId = contactId;
d->metaContact = parent;
- connect(d->metaContact, SIGNAL(destroyed(QObject *)), this, SLOT(slotMetaContactDestroyed(QObject *)));
+ connect(d->metaContact, SIGNAL(destroyed(QObject*)), this, SLOT(slotMetaContactDestroyed(QObject*)));
d->fileCapable = false;
d->account = account;
@@ -127,8 +127,8 @@ Contact::Contact(Account *account, const QString &contactId, MetaContact *parent
d->preferredNameType = Kopete::Contact::CustomName;
d->oldName = displayName();
- connect(this, SIGNAL(propertyChanged(Kopete::PropertyContainer *,QString,QVariant,QVariant)),
- this, SLOT(slotPropertyChanged(Kopete::PropertyContainer *,QString,QVariant,QVariant)));
+ connect(this, SIGNAL(propertyChanged(Kopete::PropertyContainer*,QString,QVariant,QVariant)),
+ this, SLOT(slotPropertyChanged(Kopete::PropertyContainer*,QString,QVariant,QVariant)));
bool duplicate = false;
// If can happend that a MetaContact may be used without a account
@@ -435,7 +435,7 @@ void Contact::setMetaContact(MetaContact *m)
if (old) {
old->removeContact(this);
- disconnect(old, SIGNAL(destroyed(QObject *)), this, SLOT(slotMetaContactDestroyed(QObject *)));
+ disconnect(old, SIGNAL(destroyed(QObject*)), this, SLOT(slotMetaContactDestroyed(QObject*)));
if (old->contacts().isEmpty()) {
//remove the old metacontact. (this delete the MC)
@@ -452,7 +452,7 @@ void Contact::setMetaContact(MetaContact *m)
if (m) {
m->addContact(this);
- connect(m, SIGNAL(destroyed(QObject *)), this, SLOT(slotMetaContactDestroyed(QObject *)));
+ connect(m, SIGNAL(destroyed(QObject*)), this, SLOT(slotMetaContactDestroyed(QObject*)));
// it is necessary to call this write here, because MetaContact::addContact() does not differentiate
// between adding completely new contacts (which should be written to kabc) and restoring upon restart
// (where no write is needed).
diff --git a/libkopete/kopetecontactlist.cpp b/libkopete/kopetecontactlist.cpp
index 8ce5714a1..28b7b176c 100644
--- a/libkopete/kopetecontactlist.cpp
+++ b/libkopete/kopetecontactlist.cpp
@@ -94,11 +94,11 @@ ContactList::ContactList()
d->saveTimer->setSingleShot(true);
connect(d->saveTimer, SIGNAL(timeout()), SLOT(save()));
- connect(this, SIGNAL(metaContactAdded(Kopete::MetaContact *)), SLOT(slotSaveLater()));
- connect(this, SIGNAL(metaContactRemoved(Kopete::MetaContact *)), SLOT(slotSaveLater()));
- connect(this, SIGNAL(groupAdded(Kopete::Group *)), SLOT(slotSaveLater()));
- connect(this, SIGNAL(groupRemoved(Kopete::Group *)), SLOT(slotSaveLater()));
- connect(this, SIGNAL(groupRenamed(Kopete::Group *,QString)), SLOT(slotSaveLater()));
+ connect(this, SIGNAL(metaContactAdded(Kopete::MetaContact*)), SLOT(slotSaveLater()));
+ connect(this, SIGNAL(metaContactRemoved(Kopete::MetaContact*)), SLOT(slotSaveLater()));
+ connect(this, SIGNAL(groupAdded(Kopete::Group*)), SLOT(slotSaveLater()));
+ connect(this, SIGNAL(groupRemoved(Kopete::Group*)), SLOT(slotSaveLater()));
+ connect(this, SIGNAL(groupRenamed(Kopete::Group*,QString)), SLOT(slotSaveLater()));
}
ContactList::~ContactList()
@@ -238,10 +238,10 @@ void ContactList::addMetaContact(MetaContact *mc)
emit metaContactAdded(mc);
connect(mc, SIGNAL(persistentDataChanged()), SLOT(slotSaveLater()));
- connect(mc, SIGNAL(addedToGroup(Kopete::MetaContact *,Kopete::Group *)), SIGNAL(metaContactAddedToGroup(Kopete::MetaContact *,Kopete::Group *)));
- connect(mc, SIGNAL(removedFromGroup(Kopete::MetaContact *,Kopete::Group *)), SIGNAL(metaContactRemovedFromGroup(Kopete::MetaContact *,Kopete::Group *)));
- connect(mc, SIGNAL(movedToGroup(Kopete::MetaContact *,Kopete::Group *,Kopete::Group *)),
- SIGNAL(metaContactMovedToGroup(Kopete::MetaContact *,Kopete::Group *,Kopete::Group *)));
+ connect(mc, SIGNAL(addedToGroup(Kopete::MetaContact*,Kopete::Group*)), SIGNAL(metaContactAddedToGroup(Kopete::MetaContact*,Kopete::Group*)));
+ connect(mc, SIGNAL(removedFromGroup(Kopete::MetaContact*,Kopete::Group*)), SIGNAL(metaContactRemovedFromGroup(Kopete::MetaContact*,Kopete::Group*)));
+ connect(mc, SIGNAL(movedToGroup(Kopete::MetaContact*,Kopete::Group*,Kopete::Group*)),
+ SIGNAL(metaContactMovedToGroup(Kopete::MetaContact*,Kopete::Group*,Kopete::Group*)));
}
void ContactList::removeMetaContact(MetaContact *m)
@@ -298,7 +298,7 @@ void ContactList::addGroup(Group *g)
if (!d->groups.contains(g)) {
d->groups.append(g);
emit groupAdded(g);
- connect(g, SIGNAL(displayNameChanged(Kopete::Group *,QString)), this, SIGNAL(groupRenamed(Kopete::Group *,QString)));
+ connect(g, SIGNAL(displayNameChanged(Kopete::Group*,QString)), this, SIGNAL(groupRenamed(Kopete::Group*,QString)));
}
}
diff --git a/libkopete/kopetegroup.cpp b/libkopete/kopetegroup.cpp
index 54522402b..8d382ad96 100644
--- a/libkopete/kopetegroup.cpp
+++ b/libkopete/kopetegroup.cpp
@@ -180,7 +180,7 @@ void Group::sendMessage()
c = onlineMembers().first()->preferredContact();
c->sendMessage();
if (c->manager(Contact::CanCreate)) {
- connect(c->manager(), SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession *)), this, SLOT(sendMessage(Kopete::Message&)));
+ connect(c->manager(), SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession*)), this, SLOT(sendMessage(Kopete::Message&)));
}
}
@@ -189,7 +189,7 @@ void Group::sendMessage(Message &msg)
QList<MetaContact *> list = onlineMembers();
ChatSession *cs = msg.manager();
if (cs) {
- disconnect(cs, SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession *)), this, SLOT(sendMessage(Kopete::Message&)));
+ disconnect(cs, SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession*)), this, SLOT(sendMessage(Kopete::Message&)));
} else {
return;
}
diff --git a/libkopete/kopeteidentity.cpp b/libkopete/kopeteidentity.cpp
index 993cbcf9e..0aab38451 100644
--- a/libkopete/kopeteidentity.cpp
+++ b/libkopete/kopeteidentity.cpp
@@ -53,15 +53,15 @@ Identity::Identity(const QString &id, const QString &label)
: d(new Private(id, label))
{
load();
- connect(this, SIGNAL(propertyChanged(Kopete::PropertyContainer *,QString,QVariant,QVariant)),
- this, SLOT(slotSaveProperty(Kopete::PropertyContainer *,QString,QVariant,QVariant)));
+ connect(this, SIGNAL(propertyChanged(Kopete::PropertyContainer*,QString,QVariant,QVariant)),
+ this, SLOT(slotSaveProperty(Kopete::PropertyContainer*,QString,QVariant,QVariant)));
}
Identity::Identity(const QString &label)
: d(new Private(KRandom::randomString(10), label))
{
- connect(this, SIGNAL(propertyChanged(Kopete::PropertyContainer *,QString,QVariant,QVariant)),
- this, SLOT(slotSaveProperty(Kopete::PropertyContainer *,QString,QVariant,QVariant)));
+ connect(this, SIGNAL(propertyChanged(Kopete::PropertyContainer*,QString,QVariant,QVariant)),
+ this, SLOT(slotSaveProperty(Kopete::PropertyContainer*,QString,QVariant,QVariant)));
}
Identity *Identity::clone() const
@@ -71,8 +71,8 @@ Identity *Identity::clone() const
serializeProperties(props);
id->deserializeProperties(props);
- connect(id, SIGNAL(propertyChanged(Kopete::PropertyContainer *,QString,QVariant,QVariant)),
- id, SLOT(slotSaveProperty(Kopete::PropertyContainer *,QString,QVariant,QVariant)));
+ connect(id, SIGNAL(propertyChanged(Kopete::PropertyContainer*,QString,QVariant,QVariant)),
+ id, SLOT(slotSaveProperty(Kopete::PropertyContainer*,QString,QVariant,QVariant)));
return id;
}
@@ -194,11 +194,11 @@ void Identity::addAccount(Kopete::Account *account)
if (account->myself()) {
connect(account->myself(),
- SIGNAL(onlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)),
+ SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
this, SLOT(updateOnlineStatus()));
}
- connect(account, SIGNAL(accountDestroyed(const Kopete::Account *)),
- this, SLOT(removeAccount(const Kopete::Account *)));
+ connect(account, SIGNAL(accountDestroyed(const Kopete::Account*)),
+ this, SLOT(removeAccount(const Kopete::Account*)));
updateOnlineStatus();
emit identityChanged(this);
diff --git a/libkopete/kopeteidentitymanager.cpp b/libkopete/kopeteidentitymanager.cpp
index 8f1010581..a35246d6b 100644
--- a/libkopete/kopeteidentitymanager.cpp
+++ b/libkopete/kopeteidentitymanager.cpp
@@ -91,10 +91,10 @@ Identity *IdentityManager::registerIdentity(Identity *identity)
d->identities.append(identity);
// Connect to the identity's status changed signal
- connect(identity, SIGNAL(onlineStatusChanged(Kopete::Identity *)),
- this, SLOT(slotIdentityOnlineStatusChanged(Kopete::Identity *)));
+ connect(identity, SIGNAL(onlineStatusChanged(Kopete::Identity*)),
+ this, SLOT(slotIdentityOnlineStatusChanged(Kopete::Identity*)));
- connect(identity, SIGNAL(identityDestroyed(const Kopete::Identity *)), this, SLOT(unregisterIdentity(const Kopete::Identity *)));
+ connect(identity, SIGNAL(identityDestroyed(const Kopete::Identity*)), this, SLOT(unregisterIdentity(const Kopete::Identity*)));
emit identityRegistered(identity);
diff --git a/libkopete/kopeteidletimer.cpp b/libkopete/kopeteidletimer.cpp
index 7a7f6954c..ca0d4a5a9 100644
--- a/libkopete/kopeteidletimer.cpp
+++ b/libkopete/kopeteidletimer.cpp
@@ -109,7 +109,7 @@ void Kopete::IdleTimer::registerTimeout(int idleSeconds, QObject *receiver, cons
{
Private::TimeoutReceiver item = { true, idleSeconds * 1000, receiver, memberActive, memberIdle };
d->receiverList.append(item);
- connect(receiver, SIGNAL(destroyed(QObject *)), this, SLOT(unregisterTimeout(QObject *)));
+ connect(receiver, SIGNAL(destroyed(QObject*)), this, SLOT(unregisterTimeout(QObject*)));
}
void Kopete::IdleTimer::unregisterTimeout(QObject *receiver)
diff --git a/libkopete/kopeteinfoeventmanager.cpp b/libkopete/kopeteinfoeventmanager.cpp
index 1a1575811..489599ff2 100644
--- a/libkopete/kopeteinfoeventmanager.cpp
+++ b/libkopete/kopeteinfoeventmanager.cpp
@@ -53,8 +53,8 @@ void InfoEventManager::addEvent(Kopete::InfoEvent *event)
emit eventAboutToBeAdded(event);
if (!event->isClosed()) {
- connect(event, SIGNAL(eventClosed(Kopete::InfoEvent *)),
- this, SLOT(eventClosed(Kopete::InfoEvent *)));
+ connect(event, SIGNAL(eventClosed(Kopete::InfoEvent*)),
+ this, SLOT(eventClosed(Kopete::InfoEvent*)));
d->eventList.append(event);
emit eventAdded(event);
diff --git a/libkopete/kopetemessageevent.cpp b/libkopete/kopetemessageevent.cpp
index 0a61ed7fe..487411315 100644
--- a/libkopete/kopetemessageevent.cpp
+++ b/libkopete/kopetemessageevent.cpp
@@ -44,7 +44,7 @@ MessageEvent::MessageEvent(const Message &m, QObject *parent)
d->state = Nothing;
const Contact *c = m.from();
if (c) {
- connect(c, SIGNAL(contactDestroyed(Kopete::Contact *)), this, SLOT(discard()));
+ connect(c, SIGNAL(contactDestroyed(Kopete::Contact*)), this, SLOT(discard()));
}
}
diff --git a/libkopete/kopetemessagehandler.cpp b/libkopete/kopetemessagehandler.cpp
index 83f60cbc5..3f7210bc3 100644
--- a/libkopete/kopetemessagehandler.cpp
+++ b/libkopete/kopetemessagehandler.cpp
@@ -58,7 +58,7 @@ int MessageHandler::capabilities()
void MessageHandler::handleMessageInternal(MessageEvent *event)
{
- connect(event, SIGNAL(accepted(Kopete::MessageEvent *)), this, SLOT(messageAccepted(Kopete::MessageEvent *)));
+ connect(event, SIGNAL(accepted(Kopete::MessageEvent*)), this, SLOT(messageAccepted(Kopete::MessageEvent*)));
handleMessage(event);
}
@@ -69,7 +69,7 @@ void MessageHandler::handleMessage(MessageEvent *event)
void MessageHandler::messageAccepted(MessageEvent *event)
{
- disconnect(event, SIGNAL(accepted(Kopete::MessageEvent *)), this, SLOT(messageAccepted(Kopete::MessageEvent *)));
+ disconnect(event, SIGNAL(accepted(Kopete::MessageEvent*)), this, SLOT(messageAccepted(Kopete::MessageEvent*)));
d->next->handleMessageInternal(event);
}
diff --git a/libkopete/kopetemessagehandlerchain.cpp b/libkopete/kopetemessagehandlerchain.cpp
index 248d31448..c509cea85 100644
--- a/libkopete/kopetemessagehandlerchain.cpp
+++ b/libkopete/kopetemessagehandlerchain.cpp
@@ -157,7 +157,7 @@ ProcessMessageTask::ProcessMessageTask(MessageHandlerChain::Ptr chain, MessageEv
: d(new Private(chain, event))
{
QTimer::singleShot(0, this, SLOT(start()));
- connect(event, SIGNAL(done(Kopete::MessageEvent *)), this, SLOT(slotDone()));
+ connect(event, SIGNAL(done(Kopete::MessageEvent*)), this, SLOT(slotDone()));
event->message().manager()->ref();
}
diff --git a/libkopete/kopetemetacontact.cpp b/libkopete/kopetemetacontact.cpp
index ddc4ba388..d346b91e5 100644
--- a/libkopete/kopetemetacontact.cpp
+++ b/libkopete/kopetemetacontact.cpp
@@ -55,11 +55,11 @@ MetaContact::MetaContact()
connect(this, SIGNAL(iconChanged(Kopete::ContactListElement::IconState,QString)), SIGNAL(persistentDataChanged()));
connect(this, SIGNAL(useCustomIconChanged(bool)), SIGNAL(persistentDataChanged()));
connect(this, SIGNAL(displayNameChanged(QString,QString)), SIGNAL(persistentDataChanged()));
- connect(this, SIGNAL(movedToGroup(Kopete::MetaContact *,Kopete::Group *,Kopete::Group *)), SIGNAL(persistentDataChanged()));
- connect(this, SIGNAL(removedFromGroup(Kopete::MetaContact *,Kopete::Group *)), SIGNAL(persistentDataChanged()));
- connect(this, SIGNAL(addedToGroup(Kopete::MetaContact *,Kopete::Group *)), SIGNAL(persistentDataChanged()));
- connect(this, SIGNAL(contactAdded(Kopete::Contact *)), SIGNAL(persistentDataChanged()));
- connect(this, SIGNAL(contactRemoved(Kopete::Contact *)), SIGNAL(persistentDataChanged()));
+ connect(this, SIGNAL(movedToGroup(Kopete::MetaContact*,Kopete::Group*,Kopete::Group*)), SIGNAL(persistentDataChanged()));
+ connect(this, SIGNAL(removedFromGroup(Kopete::MetaContact*,Kopete::Group*)), SIGNAL(persistentDataChanged()));
+ connect(this, SIGNAL(addedToGroup(Kopete::MetaContact*,Kopete::Group*)), SIGNAL(persistentDataChanged()));
+ connect(this, SIGNAL(contactAdded(Kopete::Contact*)), SIGNAL(persistentDataChanged()));
+ connect(this, SIGNAL(contactRemoved(Kopete::Contact*)), SIGNAL(persistentDataChanged()));
// TODO: speed up: this slot is called when any kabc contact is changed and is called in *every* metacontact instance. also slot is slow because it finding kabc id
// Update the KABC picture when the KDE Address book change.
@@ -94,20 +94,20 @@ void MetaContact::addContact(Contact *c)
const QString oldDisplayName = displayName();
d->contacts.append(c);
- connect(c, SIGNAL(onlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)),
- SLOT(slotContactStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)));
+ connect(c, SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
+ SLOT(slotContactStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)));
- connect(c, SIGNAL(propertyChanged(Kopete::PropertyContainer *,QString,QVariant,QVariant)),
- this, SLOT(slotPropertyChanged(Kopete::PropertyContainer *,QString,QVariant,QVariant)));
+ connect(c, SIGNAL(propertyChanged(Kopete::PropertyContainer*,QString,QVariant,QVariant)),
+ this, SLOT(slotPropertyChanged(Kopete::PropertyContainer*,QString,QVariant,QVariant)));
connect(c, SIGNAL(displayNameChanged(QString,QString)),
this, SLOT(slotContactDisplayNameChanged(QString,QString)));
- connect(c, SIGNAL(contactDestroyed(Kopete::Contact *)),
- this, SLOT(slotContactDestroyed(Kopete::Contact *)));
+ connect(c, SIGNAL(contactDestroyed(Kopete::Contact*)),
+ this, SLOT(slotContactDestroyed(Kopete::Contact*)));
- connect(c, SIGNAL(idleStateChanged(Kopete::Contact *)),
- this, SIGNAL(contactIdleStateChanged(Kopete::Contact *)));
+ connect(c, SIGNAL(idleStateChanged(Kopete::Contact*)),
+ this, SIGNAL(contactIdleStateChanged(Kopete::Contact*)));
emit contactAdded(c);
@@ -211,16 +211,16 @@ void MetaContact::removeContact(Contact *c, bool deleted)
}
if (!deleted) { //If this function is tell by slotContactRemoved, c is maybe just a QObject
- disconnect(c, SIGNAL(onlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)),
- this, SLOT(slotContactStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)));
- disconnect(c, SIGNAL(propertyChanged(Kopete::PropertyContainer *,QString,QVariant,QVariant)),
- this, SLOT(slotPropertyChanged(Kopete::PropertyContainer *,QString,QVariant,QVariant)));
+ disconnect(c, SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
+ this, SLOT(slotContactStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)));
+ disconnect(c, SIGNAL(propertyChanged(Kopete::PropertyContainer*,QString,QVariant,QVariant)),
+ this, SLOT(slotPropertyChanged(Kopete::PropertyContainer*,QString,QVariant,QVariant)));
disconnect(c, SIGNAL(displayNameChanged(QString,QString)),
this, SLOT(slotContactDisplayNameChanged(QString,QString)));
- disconnect(c, SIGNAL(contactDestroyed(Kopete::Contact *)),
- this, SLOT(slotContactDestroyed(Kopete::Contact *)));
- disconnect(c, SIGNAL(idleStateChanged(Kopete::Contact *)),
- this, SIGNAL(contactIdleStateChanged(Kopete::Contact *)));
+ disconnect(c, SIGNAL(contactDestroyed(Kopete::Contact*)),
+ this, SLOT(slotContactDestroyed(Kopete::Contact*)));
+ disconnect(c, SIGNAL(idleStateChanged(Kopete::Contact*)),
+ this, SIGNAL(contactIdleStateChanged(Kopete::Contact*)));
qCDebug(LIBKOPETE_LOG) << "Contact disconnected";
diff --git a/libkopete/kopetepassword.cpp b/libkopete/kopetepassword.cpp
index e869277a3..d6e5cc214 100644
--- a/libkopete/kopetepassword.cpp
+++ b/libkopete/kopetepassword.cpp
@@ -96,7 +96,7 @@ public:
{
qCDebug(LIBKOPETE_LOG);
- Kopete::WalletManager::self()->openWallet(this, SLOT(walletReceived(KWallet::Wallet *)));
+ Kopete::WalletManager::self()->openWallet(this, SLOT(walletReceived(KWallet::Wallet*)));
}
void walletReceived(KWallet::Wallet *wallet) Q_DECL_OVERRIDE
diff --git a/libkopete/kopetepluginmanager.cpp b/libkopete/kopetepluginmanager.cpp
index 249d48390..ab93a22f3 100644
--- a/libkopete/kopetepluginmanager.cpp
+++ b/libkopete/kopetepluginmanager.cpp
@@ -67,7 +67,7 @@ public:
KPluginInfo info = it.key();
Plugin *plugin = it.value();
loadedPlugins.remove(info);
- plugin->disconnect(&instance, SLOT(slotPluginDestroyed(QObject *)));
+ plugin->disconnect(&instance, SLOT(slotPluginDestroyed(QObject*)));
delete plugin;
}
}
@@ -364,7 +364,7 @@ Plugin *PluginManager::loadPluginInternal(const QString &pluginId)
_kpmp->loadedPlugins.insert(info, plugin);
info.setPluginEnabled(true);
- connect(plugin, SIGNAL(destroyed(QObject *)), this, SLOT(slotPluginDestroyed(QObject *)));
+ connect(plugin, SIGNAL(destroyed(QObject*)), this, SLOT(slotPluginDestroyed(QObject*)));
connect(plugin, SIGNAL(readyForUnload()), this, SLOT(slotPluginReadyForUnload()));
qCDebug(LIBKOPETE_LOG) << "Successfully loaded plugin '" << pluginId << "'";
diff --git a/libkopete/kopeteprotocol.cpp b/libkopete/kopeteprotocol.cpp
index caff1e6fb..577f3404a 100644
--- a/libkopete/kopeteprotocol.cpp
+++ b/libkopete/kopeteprotocol.cpp
@@ -138,8 +138,8 @@ void Protocol::aboutToUnload()
<<" is still connected, disconnecting..." << endl;
QObject::connect(a->myself(),
- SIGNAL(onlineStatusChanged(Kopete::Contact *,Kopete::OnlineStatus,Kopete::OnlineStatus)),
- this, SLOT(slotAccountOnlineStatusChanged(Kopete::Contact *)));
+ SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
+ this, SLOT(slotAccountOnlineStatusChanged(Kopete::Contact*)));
a->disconnect();
} else {
// Remove account, it's already disconnected
diff --git a/libkopete/kopetestatusitems.cpp b/libkopete/kopetestatusitems.cpp
index a278fb131..3a0719904 100644
--- a/libkopete/kopetestatusitems.cpp
+++ b/libkopete/kopetestatusitems.cpp
@@ -74,7 +74,7 @@ StatusGroup::StatusGroup(const QString &uid)
void StatusGroup::insertChild(int i, StatusItem *item)
{
item->setParent(this);
- connect(item, SIGNAL(destroyed(QObject *)), this, SLOT(childDestroyed(QObject *)));
+ connect(item, SIGNAL(destroyed(QObject*)), this, SLOT(childDestroyed(QObject*)));
mChildItems.insert(i, item);
emit childInserted(i, item);
}
diff --git a/libkopete/kopetestatusmanager.cpp b/libkopete/kopetestatusmanager.cpp
index 74ab1575a..5847c9202 100644
--- a/libkopete/kopetestatusmanager.cpp
+++ b/libkopete/kopetestatusmanager.cpp
@@ -80,10 +80,10 @@ StatusManager::StatusManager()
connect(Kopete::BehaviorSettings::self(), SIGNAL(configChanged()),
this, SLOT(loadBehaviorSettings()));
- connect(Kopete::AccountManager::self(), SIGNAL(accountUnregistered(const Kopete::Account *)),
- this, SLOT(accountUnregistered(const Kopete::Account *)));
+ connect(Kopete::AccountManager::self(), SIGNAL(accountUnregistered(const Kopete::Account*)),
+ this, SLOT(accountUnregistered(const Kopete::Account*)));
- connect(Kopete::AccountManager::self(), SIGNAL(accountOnlineStatusChanged(Kopete::Account *,Kopete::OnlineStatus,Kopete::OnlineStatus)),
+ connect(Kopete::AccountManager::self(), SIGNAL(accountOnlineStatusChanged(Kopete::Account*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
this, SLOT(checkIdleTimer()));
}
diff --git a/libkopete/kopetetransfermanager.cpp b/libkopete/kopetetransfermanager.cpp
index 04f355051..5df24f1fa 100644
--- a/libkopete/kopetetransfermanager.cpp
+++ b/libkopete/kopetetransfermanager.cpp
@@ -96,7 +96,7 @@ Kopete::Transfer::Transfer(const Kopete::FileTransferInfo &kfti, const QString &
: KIO::Job()
, d(new Private(kfti))
{
- connect(kfti.contact(), SIGNAL(destroyed(QObject *)), this, SLOT(slotContactDestroyed()));
+ connect(kfti.contact(), SIGNAL(destroyed(QObject*)), this, SLOT(slotContactDestroyed()));
this->setUiDelegate(new KIO::JobUiDelegate());
if (showProgressInfo) {
KIO::getJobTracker()->registerJob(this);
@@ -112,7 +112,7 @@ Kopete::Transfer::Transfer(const Kopete::FileTransferInfo &kfti, bool showProgre
: KIO::Job()
, d(new Private(kfti))
{
- connect(kfti.contact(), SIGNAL(destroyed(QObject *)), this, SLOT(slotContactDestroyed()));
+ connect(kfti.contact(), SIGNAL(destroyed(QObject*)), this, SLOT(slotContactDestroyed()));
this->setUiDelegate(new KIO::JobUiDelegate());
if (showProgressInfo) {
KIO::getJobTracker()->registerJob(this);
@@ -134,7 +134,7 @@ void Kopete::Transfer::init(const QUrl &target, bool showProgressInfo)
emitCopying(sourceURL(), destinationURL());
}
- connect(this, SIGNAL(result(KJob *)), SLOT(slotResultEmitted()));
+ connect(this, SIGNAL(result(KJob*)), SLOT(slotResultEmitted()));
ui()->setAutoErrorHandlingEnabled(false);
}
@@ -380,7 +380,7 @@ Kopete::Transfer *Kopete::TransferManager::addTransfer(Kopete::Contact *contact,
uint id = Kopete::Message::nextId();
Kopete::FileTransferInfo info(contact, files, size, recipient, di, id);
Kopete::Transfer *trans = new Kopete::Transfer(info);
- connect(trans, SIGNAL(result(KJob *)), this, SLOT(slotComplete(KJob *)));
+ connect(trans, SIGNAL(result(KJob*)), this, SLOT(slotComplete(KJob*)));
mTransfersMap.insert(id, trans);
return trans;
}
@@ -465,7 +465,7 @@ void Kopete::TransferManager::saveIncomingTransfer(unsigned int id)
}
Kopete::Transfer *trans = new Kopete::Transfer(info, url.toLocalFile());
- connect(trans, SIGNAL(result(KJob *)), this, SLOT(slotComplete(KJob *)));
+ connect(trans, SIGNAL(result(KJob*)), this, SLOT(slotComplete(KJob*)));
mTransfersMap.insert(info.transferId(), trans);
emit askIncomingDone(id);
emit accepted(trans, url.toLocalFile());
diff --git a/libkopete/kopetewalletmanager.cpp b/libkopete/kopetewalletmanager.cpp
index fb739cbb4..e891b04fe 100644
--- a/libkopete/kopetewalletmanager.cpp
+++ b/libkopete/kopetewalletmanager.cpp
@@ -80,7 +80,7 @@ void Kopete::WalletManager::openWallet(QObject *object, const char *slot)
d->signal = new KopeteWalletSignal;
}
// allow connecting to protected slots by calling object->connect
- connect(d->signal, SIGNAL(walletOpened(KWallet::Wallet *)), object, slot);
+ connect(d->signal, SIGNAL(walletOpened(KWallet::Wallet*)), object, slot);
//object->connect( d->signal, SIGNAL(walletOpened(KWallet::Wallet*)), slot );
openWalletInner();
}
diff --git a/libkopete/private/kopeteviewmanager.cpp b/libkopete/private/kopeteviewmanager.cpp
index 22ed98655..9eb69a3ea 100644
--- a/libkopete/private/kopeteviewmanager.cpp
+++ b/libkopete/private/kopeteviewmanager.cpp
@@ -140,8 +140,8 @@ KopeteViewManager::KopeteViewManager()
connect(Kopete::BehaviorSettings::self(), SIGNAL(configChanged()), this, SLOT(slotPrefsChanged()));
- connect(Kopete::ChatSessionManager::self(), SIGNAL(display(Kopete::Message&,Kopete::ChatSession *)),
- this, SLOT(messageAppended(Kopete::Message&,Kopete::ChatSession *)));
+ connect(Kopete::ChatSessionManager::self(), SIGNAL(display(Kopete::Message&,Kopete::ChatSession*)),
+ this, SLOT(messageAppended(Kopete::Message&,Kopete::ChatSession*)));
connect(Kopete::ChatSessionManager::self(), SIGNAL(readMessage()),
this, SLOT(nextEvent()));
@@ -207,8 +207,8 @@ KopeteView *KopeteViewManager::view(Kopete::ChatSession *session, const QString
d->foreignMessage = false;
d->sessionMap.insert(session, newView);
- connect(session, SIGNAL(closing(Kopete::ChatSession *)),
- this, SLOT(slotChatSessionDestroyed(Kopete::ChatSession *)));
+ connect(session, SIGNAL(closing(Kopete::ChatSession*)),
+ this, SLOT(slotChatSessionDestroyed(Kopete::ChatSession*)));
return newView;
} else {
@@ -295,8 +295,8 @@ void KopeteViewManager::messageAppended(Kopete::Message &msg, Kopete::ChatSessio
// Don't call readMessages twice. We call it later in this method. Fixes bug 168978.
if (d->useQueue) {
- connect(event, SIGNAL(done(Kopete::MessageEvent *)),
- this, SLOT(slotEventDeleted(Kopete::MessageEvent *)));
+ connect(event, SIGNAL(done(Kopete::MessageEvent*)),
+ this, SLOT(slotEventDeleted(Kopete::MessageEvent*)));
}
}
}
@@ -411,7 +411,7 @@ void KopeteViewManager::createNotification(Kopete::Message &msg, const QString &
connect(notify, SIGNAL(activated()), session, SLOT(raiseView()));
connect(notify, SIGNAL(action1Activated()), session, SLOT(raiseView()));
connect(notify, SIGNAL(action2Activated()), event, SLOT(discard()));
- connect(event, SIGNAL(done(Kopete::MessageEvent *)), notify, SLOT(close()));
+ connect(event, SIGNAL(done(Kopete::MessageEvent*)), notify, SLOT(close()));
notify->sendEvent();
}
diff --git a/libkopete/ui/accountselector.cpp b/libkopete/ui/accountselector.cpp
index a3c4087f0..23e87bf81 100644
--- a/libkopete/ui/accountselector.cpp
+++ b/libkopete/ui/accountselector.cpp
@@ -102,8 +102,8 @@ void AccountSelector::initUI()
}
}
- connect(d->lv, SIGNAL(currentItemChanged(QTreeWidgetItem *,QTreeWidgetItem *)),
- this, SLOT(slotSelectionChanged(QTreeWidgetItem *)));
+ connect(d->lv, SIGNAL(currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)),
+ this, SLOT(slotSelectionChanged(QTreeWidgetItem*)));
}
void AccountSelector::setSelected(Kopete::Account *account)
diff --git a/libkopete/ui/addressbookselectordialog.cpp b/libkopete/ui/addressbookselectordialog.cpp
index 306617af6..96ad04d27 100644
--- a/libkopete/ui/addressbookselectordialog.cpp
+++ b/libkopete/ui/addressbookselectordialog.cpp
@@ -64,7 +64,7 @@ AddressBookSelectorDialog::AddressBookSelectorDialog(const QString &title, const
okButton->setEnabled(false);
//setHelp("linkaddressbook");
//setHelp(QString(), "kopete");
- connect(m_addressBookSelectorWidget, SIGNAL(addresseeListClicked(QTreeWidgetItem *)), SLOT(slotWidgetAddresseeListClicked(QTreeWidgetItem *)));
+ connect(m_addressBookSelectorWidget, SIGNAL(addresseeListClicked(QTreeWidgetItem*)), SLOT(slotWidgetAddresseeListClicked(QTreeWidgetItem*)));
if (!preSelectUid.isEmpty()) {
m_addressBookSelectorWidget->selectAddressee(preSelectUid);
diff --git a/libkopete/ui/addressbookselectorwidget.cpp b/libkopete/ui/addressbookselectorwidget.cpp
index ec1d5e130..c2511596b 100644
--- a/libkopete/ui/addressbookselectorwidget.cpp
+++ b/libkopete/ui/addressbookselectorwidget.cpp
@@ -60,13 +60,13 @@ AddressBookSelectorWidget::AddressBookSelectorWidget(QWidget *parent, const char
connect(addAddresseeButton, SIGNAL(clicked()), SLOT(slotAddAddresseeClicked()));
connect(addAddresseeButton, SIGNAL(clicked()), SIGNAL(addAddresseeClicked()));
- connect(addresseeListView, SIGNAL(itemClicked(QTreeWidgetItem *,int)),
- SIGNAL(addresseeListClicked(QTreeWidgetItem *)));
- connect(addresseeListView, SIGNAL(currentItemChanged(QTreeWidgetItem *,QTreeWidgetItem *)),
- SIGNAL(addresseeListClicked(QTreeWidgetItem *)));
+ connect(addresseeListView, SIGNAL(itemClicked(QTreeWidgetItem*,int)),
+ SIGNAL(addresseeListClicked(QTreeWidgetItem*)));
+ connect(addresseeListView, SIGNAL(currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)),
+ SIGNAL(addresseeListClicked(QTreeWidgetItem*)));
//FIXME: Find the correct replacement for Q3ListView::spacePressed(Q3ListViewItem*)
- connect(addresseeListView, SIGNAL(itemPressed(QTreeWidgetItem *,int)),
- SIGNAL(addresseeListClicked(QTreeWidgetItem *)));
+ connect(addresseeListView, SIGNAL(itemPressed(QTreeWidgetItem*,int)),
+ SIGNAL(addresseeListClicked(QTreeWidgetItem*)));
//connect( m_addressBook, SIGNAL(addressBookChanged(AddressBook*)), this, SLOT(slotLoadAddressees()) );
diff --git a/libkopete/ui/avatarselectorwidget.cpp b/libkopete/ui/avatarselectorwidget.cpp
index 8a65bcb4f..5c0e287de 100644
--- a/libkopete/ui/avatarselectorwidget.cpp
+++ b/libkopete/ui/avatarselectorwidget.cpp
@@ -127,8 +127,8 @@ AvatarSelectorWidget::AvatarSelectorWidget(QWidget *parent)
connect(d->mainWidget.buttonAddAvatar, SIGNAL(clicked()), this, SLOT(buttonAddAvatarClicked()));
connect(d->mainWidget.buttonRemoveAvatar, SIGNAL(clicked()), this, SLOT(buttonRemoveAvatarClicked()));
connect(d->mainWidget.buttonFromWebcam, SIGNAL(clicked()), this, SLOT(buttonFromWebcamClicked()));
- connect(d->mainWidget.listUserAvatar, SIGNAL(itemClicked(QListWidgetItem *)),
- this, SLOT(listSelectionChanged(QListWidgetItem *)));
+ connect(d->mainWidget.listUserAvatar, SIGNAL(itemClicked(QListWidgetItem*)),
+ this, SLOT(listSelectionChanged(QListWidgetItem*)));
connect(Kopete::AvatarManager::self(), SIGNAL(avatarAdded(Kopete::AvatarManager::AvatarEntry)),
this, SLOT(avatarAdded(Kopete::AvatarManager::AvatarEntry)));
connect(Kopete::AvatarManager::self(), SIGNAL(avatarRemoved(Kopete::AvatarManager::AvatarEntry)),
@@ -143,7 +143,7 @@ AvatarSelectorWidget::AvatarSelectorWidget(QWidget *parent)
// List avatars of User category
Kopete::AvatarQueryJob *queryJob = new Kopete::AvatarQueryJob(this);
- connect(queryJob, SIGNAL(result(KJob *)), this, SLOT(queryJobFinished(KJob *)));
+ connect(queryJob, SIGNAL(result(KJob*)), this, SLOT(queryJobFinished(KJob*)));
queryJob->setQueryFilter(Kopete::AvatarManager::User);
queryJob->start();
diff --git a/libkopete/ui/kopetelistview.cpp b/libkopete/ui/kopetelistview.cpp
index f7b487dc9..fbd82b93d 100644
--- a/libkopete/ui/kopetelistview.cpp
+++ b/libkopete/ui/kopetelistview.cpp
@@ -152,8 +152,8 @@ ListView::ListView(QWidget *parent)
connect(this, SIGNAL(customContextMenuRequested(QPoint)),
SLOT(slotContextMenu(QPoint)));
- connect(this, SIGNAL(itemDoubleClicked(QTreeWidgetItem *,int)),
- SLOT(slotDoubleClicked(QTreeWidgetItem *)));
+ connect(this, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)),
+ SLOT(slotDoubleClicked(QTreeWidgetItem*)));
// set up flags for nicer painting
setAttribute(Qt::WA_StaticContents, false);
@@ -274,7 +274,7 @@ void ListView::setSmoothScrolling(bool b)
// Install the timer
d->smoothScrollingTimer = startTimer((int)d->smoothScrollingTimerInterval);
// If we want to enable smooth scrolling when item has changed with keypresses etc, we need this
- connect(this, SIGNAL(currentItemChanged(QTreeWidgetItem *,QTreeWidgetItem *)), this, SLOT(slotCurrentChanged(QTreeWidgetItem *)));
+ connect(this, SIGNAL(currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)), this, SLOT(slotCurrentChanged(QTreeWidgetItem*)));
// Disable autoscroll, we will do it the smooth way.
d->smoothScrollDragAutoScroll = hasAutoScroll();
setAutoScroll(false);
@@ -290,7 +290,7 @@ void ListView::setSmoothScrolling(bool b)
killTimer((int)d->smoothScrollingTimer);
d->smoothScrollingTimer = 0;
// We don't need to list currentChanged anymore
- disconnect(this, SIGNAL(currentItemChanged(QTreeWidgetItem *,QTreeWidgetItem *)), this, SLOT(slotCurrentChanged(QTreeWidgetItem *)));
+ disconnect(this, SIGNAL(currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)), this, SLOT(slotCurrentChanged(QTreeWidgetItem*)));
// Restore the autoscroll
setAutoScroll(d->smoothScrollDragAutoScroll);
// Kill the continuous press timers
diff --git a/libkopete/ui/metacontactselectorwidget.cpp b/libkopete/ui/metacontactselectorwidget.cpp
index 96cbef719..cb5a4fedb 100644
--- a/libkopete/ui/metacontactselectorwidget.cpp
+++ b/libkopete/ui/metacontactselectorwidget.cpp
@@ -194,15 +194,15 @@ MetaContactSelectorWidget::MetaContactSelectorWidget(QWidget *parent, const char
d->widget->setupUi(w);
l->addWidget(w);
- connect(d->widget->metaContactListView, SIGNAL(itemClicked(QTreeWidgetItem *,int)),
- SIGNAL(metaContactListClicked(QTreeWidgetItem *)));
- connect(d->widget->metaContactListView, SIGNAL(currentItemChanged(QTreeWidgetItem *,QTreeWidgetItem *)),
- SIGNAL(metaContactListClicked(QTreeWidgetItem *)));
+ connect(d->widget->metaContactListView, SIGNAL(itemClicked(QTreeWidgetItem*,int)),
+ SIGNAL(metaContactListClicked(QTreeWidgetItem*)));
+ connect(d->widget->metaContactListView, SIGNAL(currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)),
+ SIGNAL(metaContactListClicked(QTreeWidgetItem*)));
//FIXME: Find the correct replacement for Q3ListView::spacePressed(Q3ListViewItem*)
- connect(d->widget->metaContactListView, SIGNAL(itemPressed(QTreeWidgetItem *,int)),
- SIGNAL(metaContactListClicked(QTreeWidgetItem *)));
+ connect(d->widget->metaContactListView, SIGNAL(itemPressed(QTreeWidgetItem*,int)),
+ SIGNAL(metaContactListClicked(QTreeWidgetItem*)));
- connect(Kopete::ContactList::self(), SIGNAL(metaContactAdded(Kopete::MetaContact *)), this, SLOT(slotLoadMetaContacts()));
+ connect(Kopete::ContactList::self(), SIGNAL(metaContactAdded(Kopete::MetaContact*)), this, SLOT(slotLoadMetaContacts()));
d->widget->kListViewSearchLine->setTreeWidget(d->widget->metaContactListView);
d->widget->kListViewSearchLine->setFocus();
@@ -214,7 +214,7 @@ MetaContactSelectorWidget::MetaContactSelectorWidget(QWidget *parent, const char
MetaContactSelectorWidget::~MetaContactSelectorWidget()
{
- disconnect(Kopete::ContactList::self(), SIGNAL(metaContactAdded(Kopete::MetaContact *)), this, SLOT(slotLoadMetaContacts()));
+ disconnect(Kopete::ContactList::self(), SIGNAL(metaContactAdded(Kopete::MetaContact*)), this, SLOT(slotLoadMetaContacts()));
delete d->widget;
delete d;
}
diff --git a/plugins/addbookmarks/addbookmarksplugin.cpp b/plugins/addbookmarks/addbookmarksplugin.cpp
index 7e650aa55..4f50560c6 100644
--- a/plugins/addbookmarks/addbookmarksplugin.cpp
+++ b/plugins/addbookmarks/addbookmarksplugin.cpp
@@ -122,8 +122,8 @@ void BookmarksPlugin::addKopeteBookmark(const QUrl &url, const QString &sender)
KIO::TransferJob *transfer;
// make asynchronous transfer to avoid GUI freezing due to overloaded web servers
transfer = KIO::get(url, KIO::NoReload, KIO::HideProgressInfo);
- connect(transfer, SIGNAL(data(KIO::Job *,QByteArray)),
- this, SLOT(slotAddKopeteBookmark(KIO::Job *,QByteArray)));
+ connect(transfer, SIGNAL(data(KIO::Job*,QByteArray)),
+ this, SLOT(slotAddKopeteBookmark(KIO::Job*,QByteArray)));
m_map[transfer].url = url;
m_map[transfer].sender = sender;
}
diff --git a/plugins/alias/aliaspreferences.cpp b/plugins/alias/aliaspreferences.cpp
index d28c35bfd..da405635e 100644
--- a/plugins/alias/aliaspreferences.cpp
+++ b/plugins/alias/aliaspreferences.cpp
@@ -133,8 +133,8 @@ AliasPreferences::AliasPreferences(QWidget *parent, const QVariantList &args)
connect(preferencesDialog->addButton, SIGNAL(clicked()), this, SLOT(slotAddAlias()));
connect(preferencesDialog->editButton, SIGNAL(clicked()), this, SLOT(slotEditAlias()));
connect(preferencesDialog->deleteButton, SIGNAL(clicked()), this, SLOT(slotDeleteAliases()));
- connect(Kopete::PluginManager::self(), SIGNAL(pluginLoaded(Kopete::Plugin *)),
- this, SLOT(slotPluginLoaded(Kopete::Plugin *)));
+ connect(Kopete::PluginManager::self(), SIGNAL(pluginLoaded(Kopete::Plugin*)),
+ this, SLOT(slotPluginLoaded(Kopete::Plugin*)));
connect(preferencesDialog->aliasList, SIGNAL(selectionChanged()),
this, SLOT(slotCheckAliasSelected()));
diff --git a/plugins/cryptography/cryptographymessagehandler.cpp b/plugins/cryptography/cryptographymessagehandler.cpp
index f9ff53c08..149800789 100644
--- a/plugins/cryptography/cryptographymessagehandler.cpp
+++ b/plugins/cryptography/cryptographymessagehandler.cpp
@@ -52,7 +52,7 @@ MessageHandler *CryptographyMessageHandlerFactory::create(ChatSession *manager,
return 0;
}
MessageHandler *handler = new CryptographyMessageHandler;
- QObject::connect(handler, SIGNAL(handle(Kopete::MessageEvent *)), d->target, d->slot);
+ QObject::connect(handler, SIGNAL(handle(Kopete::MessageEvent*)), d->target, d->slot);
return handler;
}
diff --git a/plugins/cryptography/cryptographyplugin.cpp b/plugins/cryptography/cryptographyplugin.cpp
index 30254db67..6b4d7b026 100644
--- a/plugins/cryptography/cryptographyplugin.cpp
+++ b/plugins/cryptography/cryptographyplugin.cpp
@@ -84,7 +84,7 @@ CryptographyPlugin::CryptographyPlugin (QObject *parent, const QVariantList & /*
// set up slots to handle incoming and outgoing messages
mInboundHandler = new CryptographyMessageHandlerFactory(Kopete::Message::Inbound,
- Kopete::MessageHandlerFactory::InStageToSent, this, SLOT(slotIncomingMessage(Kopete::MessageEvent *)));
+ Kopete::MessageHandlerFactory::InStageToSent, this, SLOT(slotIncomingMessage(Kopete::MessageEvent*)));
connect(Kopete::ChatSessionManager::self(),
SIGNAL(aboutToSend(Kopete::Message&)),
SLOT(slotOutgoingMessage(Kopete::Message&)));
@@ -105,7 +105,7 @@ CryptographyPlugin::CryptographyPlugin (QObject *parent, const QVariantList & /*
setXMLFile("cryptographyui.rc");
// add functionality to chat window when one opens
- connect(Kopete::ChatSessionManager::self(), SIGNAL(chatSessionCreated(Kopete::ChatSession *)), SLOT(slotNewKMM(Kopete::ChatSession *)));
+ connect(Kopete::ChatSessionManager::self(), SIGNAL(chatSessionCreated(Kopete::ChatSession*)), SLOT(slotNewKMM(Kopete::ChatSession*)));
//Add GUI action to all already existing kmm (if the plugin is launched when kopete already running)
QList<Kopete::ChatSession *> sessions = Kopete::ChatSessionManager::self()->sessions();
@@ -366,7 +366,7 @@ void CryptographyPlugin::slotSelectContactKey()
void CryptographyPlugin::slotNewKMM(Kopete::ChatSession *KMM)
{
CryptographyGUIClient *gui = new CryptographyGUIClient(KMM);
- connect(this, SIGNAL(destroyed(QObject *)), gui, SLOT(deleteLater()));
+ connect(this, SIGNAL(destroyed(QObject*)), gui, SLOT(deleteLater()));
// warn about unfriendly protocols
if (KMM->protocol()) {
diff --git a/plugins/highlight/highlightpreferences.cpp b/plugins/highlight/highlightpreferences.cpp
index aa4ea626b..0ccb20924 100644
--- a/plugins/highlight/highlightpreferences.cpp
+++ b/plugins/highlight/highlightpreferences.cpp
@@ -51,8 +51,8 @@ HighlightPreferences::HighlightPreferences(QWidget *parent, const QVariantList &
m_config = new HighlightConfig;
- connect(preferencesDialog.m_list, SIGNAL(currentItemChanged(QListWidgetItem *,QListWidgetItem *)), this, SLOT(slotCurrentFilterChanged()));
- connect(preferencesDialog.m_list, SIGNAL(itemDoubleClicked(QListWidgetItem *)), this, SLOT(slotRenameFilter()));
+ connect(preferencesDialog.m_list, SIGNAL(currentItemChanged(QListWidgetItem*,QListWidgetItem*)), this, SLOT(slotCurrentFilterChanged()));
+ connect(preferencesDialog.m_list, SIGNAL(itemDoubleClicked(QListWidgetItem*)), this, SLOT(slotRenameFilter()));
connect(preferencesDialog.m_add, SIGNAL(pressed()), this, SLOT(slotAddFilter()));
connect(preferencesDialog.m_remove, SIGNAL(pressed()), this, SLOT(slotRemoveFilter()));
connect(preferencesDialog.m_rename, SIGNAL(pressed()), this, SLOT(slotRenameFilter()));
diff --git a/plugins/history/historydialog.cpp b/plugins/history/historydialog.cpp
index f31194688..aadef87b0 100644
--- a/plugins/history/historydialog.cpp
+++ b/plugins/history/historydialog.cpp
@@ -170,7 +170,7 @@ HistoryDialog::HistoryDialog(Kopete::MetaContact *mc, QWidget *parent)
connect(mHtmlPart->browserExtension(), SIGNAL(openUrlRequestDelayed(QUrl,KParts::OpenUrlArguments,KParts::BrowserArguments)),
this, SLOT(slotOpenURLRequest(QUrl,KParts::OpenUrlArguments,KParts::BrowserArguments)));
- connect(mMainWidget->dateTreeWidget, SIGNAL(itemClicked(QTreeWidgetItem *,int)), this, SLOT(dateSelected(QTreeWidgetItem *)));
+ connect(mMainWidget->dateTreeWidget, SIGNAL(itemClicked(QTreeWidgetItem*,int)), this, SLOT(dateSelected(QTreeWidgetItem*)));
connect(mMainWidget->searchButton, SIGNAL(clicked()), this, SLOT(slotSearch()));
connect(mMainWidget->searchLine, SIGNAL(returnPressed()), this, SLOT(slotSearch()));
connect(mMainWidget->searchLine, SIGNAL(textChanged(QString)), this, SLOT(slotSearchTextChanged(QString)));
diff --git a/plugins/history/historylogger.cpp b/plugins/history/historylogger.cpp
index 11a411e33..e7e57d3f8 100644
--- a/plugins/history/historylogger.cpp
+++ b/plugins/history/historylogger.cpp
@@ -68,7 +68,7 @@ HistoryLogger::HistoryLogger(Kopete::MetaContact *m, QObject *parent)
m_filterRegExp = false;
//the contact may be destroyed, for example, if the contact changes its metacontact
- connect(m_metaContact, SIGNAL(destroyed(QObject *)), this, SLOT(slotMCDeleted()));
+ connect(m_metaContact, SIGNAL(destroyed(QObject*)), this, SLOT(slotMCDeleted()));
setPositionToLast();
}
@@ -87,7 +87,7 @@ HistoryLogger::HistoryLogger(Kopete::Contact *c, QObject *parent)
m_filterRegExp = false;
//the contact may be destroyed, for example, if the contact changes its metacontact
- connect(m_metaContact, SIGNAL(destroyed(QObject *)), this, SLOT(slotMCDeleted()));
+ connect(m_metaContact, SIGNAL(destroyed(QObject*)), this, SLOT(slotMCDeleted()));
setPositionToLast();
}
diff --git a/plugins/history/historyplugin.cpp b/plugins/history/historyplugin.cpp
index 1d064df1a..5641ad859 100644
--- a/plugins/history/historyplugin.cpp
+++ b/plugins/history/historyplugin.cpp
@@ -61,8 +61,8 @@ HistoryPlugin::HistoryPlugin(QObject *parent, const QVariantList & /* args */)
connect(Kopete::ContactList::self(), SIGNAL(metaContactSelected(bool)),
viewMetaContactHistory, SLOT(setEnabled(bool)));
- connect(Kopete::ChatSessionManager::self(), SIGNAL(viewCreated(KopeteView *)),
- this, SLOT(slotViewCreated(KopeteView *)));
+ connect(Kopete::ChatSessionManager::self(), SIGNAL(viewCreated(KopeteView*)),
+ this, SLOT(slotViewCreated(KopeteView*)));
connect(this, SIGNAL(settingsChanged()), this, SLOT(slotSettingsChanged()));
@@ -83,8 +83,8 @@ HistoryPlugin::HistoryPlugin(QObject *parent, const QVariantList & /* args */)
for (QList<Kopete::ChatSession *>::Iterator it = sessions.begin(); it != sessions.end(); ++it) {
if (!m_loggers.contains(*it)) {
m_loggers.insert(*it, new HistoryGUIClient(*it));
- connect(*it, SIGNAL(closing(Kopete::ChatSession *)),
- this, SLOT(slotKMMClosed(Kopete::ChatSession *)));
+ connect(*it, SIGNAL(closing(Kopete::ChatSession*)),
+ this, SLOT(slotKMMClosed(Kopete::ChatSession*)));
}
}
}
@@ -111,8 +111,8 @@ void HistoryPlugin::messageDisplayed(const Kopete::Message &m)
if (!m_loggers.contains(m.manager())) {
m_loggers.insert(m.manager(), new HistoryGUIClient(m.manager()));
- connect(m.manager(), SIGNAL(closing(Kopete::ChatSession *)),
- this, SLOT(slotKMMClosed(Kopete::ChatSession *)));
+ connect(m.manager(), SIGNAL(closing(Kopete::ChatSession*)),
+ this, SLOT(slotKMMClosed(Kopete::ChatSession*)));
}
HistoryLogger *l = m_loggers[m.manager()]->logger();
@@ -155,8 +155,8 @@ void HistoryPlugin::slotViewCreated(KopeteView *v)
if (!m_loggers.contains(m_currentChatSession)) {
m_loggers.insert(m_currentChatSession, new HistoryGUIClient(m_currentChatSession));
- connect(m_currentChatSession, SIGNAL(closing(Kopete::ChatSession *)),
- this, SLOT(slotKMMClosed(Kopete::ChatSession *)));
+ connect(m_currentChatSession, SIGNAL(closing(Kopete::ChatSession*)),
+ this, SLOT(slotKMMClosed(Kopete::ChatSession*)));
}
if (!autoChatWindow || nbAutoChatWindow == 0) {
diff --git a/plugins/history2/history2dialog.cpp b/plugins/history2/history2dialog.cpp
index 4a970cbb6..8a79c9ca3 100644
--- a/plugins/history2/history2dialog.cpp
+++ b/plugins/history2/history2dialog.cpp
@@ -167,7 +167,7 @@ History2Dialog::History2Dialog(Kopete::MetaContact *mc, QWidget *parent)
connect(mHtmlPart->browserExtension(), SIGNAL(openUrlRequestDelayed(KUrl,KParts::OpenUrlArguments,KParts::BrowserArguments)),
this, SLOT(slotOpenURLRequest(KUrl,KParts::OpenUrlArguments,KParts::BrowserArguments)));
- connect(mMainWidget->dateTreeWidget, SIGNAL(itemClicked(QTreeWidgetItem *,int)), this, SLOT(dateSelected(QTreeWidgetItem *)));
+ connect(mMainWidget->dateTreeWidget, SIGNAL(itemClicked(QTreeWidgetItem*,int)), this, SLOT(dateSelected(QTreeWidgetItem*)));
connect(mMainWidget->searchButton, SIGNAL(clicked()), this, SLOT(slotSearch()));
connect(mMainWidget->searchLine, SIGNAL(returnPressed()), this, SLOT(slotSearch()));
connect(mMainWidget->searchLine, SIGNAL(textChanged(QString)), this, SLOT(slotSearchTextChanged(QString)));
diff --git a/plugins/history2/history2plugin.cpp b/plugins/history2/history2plugin.cpp
index 5da820fa6..4ccf8ac28 100644
--- a/plugins/history2/history2plugin.cpp
+++ b/plugins/history2/history2plugin.cpp
@@ -61,8 +61,8 @@ History2Plugin::History2Plugin(QObject *parent, const QStringList & /* args */)
connect(Kopete::ContactList::self(), SIGNAL(metaContactSelected(bool)),
viewMetaContactHistory, SLOT(setEnabled(bool)));
- connect(Kopete::ChatSessionManager::self(), SIGNAL(viewCreated(KopeteView *)),
- this, SLOT(slotViewCreated(KopeteView *)));
+ connect(Kopete::ChatSessionManager::self(), SIGNAL(viewCreated(KopeteView*)),
+ this, SLOT(slotViewCreated(KopeteView*)));
connect(this, SIGNAL(settingsChanged()), this, SLOT(slotSettingsChanged()));
@@ -74,8 +74,8 @@ History2Plugin::History2Plugin(QObject *parent, const QStringList & /* args */)
for (QList<Kopete::ChatSession *>::Iterator it = sessions.begin(); it != sessions.end(); ++it) {
if (!m_loggers.contains(*it)) {
m_loggers.insert(*it, new History2GUIClient(*it));
- connect(*it, SIGNAL(closing(Kopete::ChatSession *)),
- this, SLOT(slotKMMClosed(Kopete::ChatSession *)));
+ connect(*it, SIGNAL(closing(Kopete::ChatSession*)),
+ this, SLOT(slotKMMClosed(Kopete::ChatSession*)));
}
}
}
@@ -102,8 +102,8 @@ void History2Plugin::messageDisplayed(const Kopete::Message &m)
if (!m_loggers.contains(m.manager())) {
m_loggers.insert(m.manager(), new History2GUIClient(m.manager()));
- connect(m.manager(), SIGNAL(closing(Kopete::ChatSession *)),
- this, SLOT(slotKMMClosed(Kopete::ChatSession *)));
+ connect(m.manager(), SIGNAL(closing(Kopete::ChatSession*)),
+ this, SLOT(slotKMMClosed(Kopete::ChatSession*)));
}
QList<Kopete::Contact *> mb = m.manager()->members();
@@ -143,8 +143,8 @@ void History2Plugin::slotViewCreated(KopeteView *v)
if (!m_loggers.contains(m_currentChatSession)) {
m_loggers.insert(m_currentChatSession, new History2GUIClient(m_currentChatSession));
- connect(m_currentChatSession, SIGNAL(closing(Kopete::ChatSession *)),
- this, SLOT(slotKMMClosed(Kopete::ChatSession *)));
+ connect(m_currentChatSession, SIGNAL(closing(Kopete::ChatSession*)),
+ this, SLOT(slotKMMClosed(Kopete::ChatSession*)));
}
if (!autoChatWindow || nbAutoChatWindow == 0) {
diff --git a/plugins/latex/latexplugin.cpp b/plugins/latex/latexplugin.cpp
index 3a9989ccb..5a7176752 100644
--- a/plugins/latex/latexplugin.cpp
+++ b/plugins/latex/latexplugin.cpp
@@ -54,8 +54,8 @@ LatexPlugin::LatexPlugin(QObject *parent, const QVariantList & /*args*/)
mMagickNotFoundShown = false;
connect(Kopete::ChatSessionManager::self(), SIGNAL(aboutToDisplay(Kopete::Message&)), SLOT(slotMessageAboutToShow(Kopete::Message&)));
connect(Kopete::ChatSessionManager::self(), SIGNAL(aboutToSend(Kopete::Message&)), this, SLOT(slotMessageAboutToSend(Kopete::Message&)));
- connect(Kopete::ChatSessionManager::self(), SIGNAL(chatSessionCreated(Kopete::ChatSession *)),
- this, SLOT(slotNewChatSession(Kopete::ChatSession *)));
+ connect(Kopete::ChatSessionManager::self(), SIGNAL(chatSessionCreated(Kopete::ChatSession*)),
+ this, SLOT(slotNewChatSession(Kopete::ChatSession*)));
m_convScript = QStandardPaths::findExecutable(QStringLiteral("kopete_latexconvert.sh"));
diff --git a/plugins/nowlistening/nowlisteningplugin.cpp b/plugins/nowlistening/nowlisteningplugin.cpp
index f068e6be4..8018ceecc 100644
--- a/plugins/nowlistening/nowlisteningplugin.cpp
+++ b/plugins/nowlistening/nowlisteningplugin.cpp
@@ -136,7 +136,7 @@ NowListeningPlugin::NowListeningPlugin(QObject *parent, const QVariantList & /*a
Kopete::CommandHandler::commandHandler()->registerCommand(
this,
"media",
- SLOT(slotMediaCommand(QString,Kopete::ChatSession *)),
+ SLOT(slotMediaCommand(QString,Kopete::ChatSession*)),
i18n("USAGE: /media - Displays information on current song"),
0
);
diff --git a/plugins/otr/kopete_otr.kcfg b/plugins/otr/kopete_otr.kcfg
index a11b8b637..e0192d50f 100644
--- a/plugins/otr/kopete_otr.kcfg
+++ b/plugins/otr/kopete_otr.kcfg
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE kcfg SYSTEM "http://www.kde.org/standards/kcfg/1.0/kcfg.dtd">
-<kcfg>
+<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
+ http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<kcfgfile name="kopete_otr"/>
<group name="Policy">
<entry name="rbAlways" type="Bool">
diff --git a/plugins/otr/otrguiclient.cpp b/plugins/otr/otrguiclient.cpp
index 863698ede..11ed84566 100644
--- a/plugins/otr/otrguiclient.cpp
+++ b/plugins/otr/otrguiclient.cpp
@@ -45,17 +45,17 @@ OtrGUIClient::OtrGUIClient(Kopete::ChatSession *parent)
{
setComponentName(QStringLiteral("kopete_otr"), i18n("Kopete"));
connect(OTRPlugin::plugin(),
- SIGNAL(destroyed(QObject *)), this,
+ SIGNAL(destroyed(QObject*)), this,
SLOT(deleteLater())
);
- connect(this, SIGNAL(signalOtrChatsession(Kopete::ChatSession *,bool)), OTRPlugin::plugin(), SLOT(slotEnableOtr(Kopete::ChatSession *,bool)));
+ connect(this, SIGNAL(signalOtrChatsession(Kopete::ChatSession*,bool)), OTRPlugin::plugin(), SLOT(slotEnableOtr(Kopete::ChatSession*,bool)));
- connect(OtrlChatInterface::self(), SIGNAL(goneSecure(Kopete::ChatSession *,int)),
- this, SLOT(encryptionEnabled(Kopete::ChatSession *,int)));
+ connect(OtrlChatInterface::self(), SIGNAL(goneSecure(Kopete::ChatSession*,int)),
+ this, SLOT(encryptionEnabled(Kopete::ChatSession*,int)));
- connect(this, SIGNAL(signalVerifyFingerprint(Kopete::ChatSession *)), OTRPlugin::plugin(), SLOT(slotVerifyFingerprint(Kopete::ChatSession *)));
+ connect(this, SIGNAL(signalVerifyFingerprint(Kopete::ChatSession*)), OTRPlugin::plugin(), SLOT(slotVerifyFingerprint(Kopete::ChatSession*)));
m_manager = parent;
diff --git a/plugins/otr/otrlchatinterface.cpp b/plugins/otr/otrlchatinterface.cpp
index 318f1272c..8b0643621 100644
--- a/plugins/otr/otrlchatinterface.cpp
+++ b/plugins/otr/otrlchatinterface.cpp
@@ -608,7 +608,7 @@ int OtrlChatInterface::decryptMessage(Kopete::Message &message)
if (otrl_proto_message_type(body.toLatin1()) == OTRL_MSGTYPE_DATA) {
// an OTR message while we are generating the key... cache the message and replay once the key is generated...
- connect(message.manager(), SIGNAL(closing(Kopete::ChatSession *)), SLOT(chatSessionDestroyed(Kopete::ChatSession *)));
+ connect(message.manager(), SIGNAL(closing(Kopete::ChatSession*)), SLOT(chatSessionDestroyed(Kopete::ChatSession*)));
m_storedMessages.append(message);
}
return 1;
diff --git a/plugins/otr/otrplugin.cpp b/plugins/otr/otrplugin.cpp
index 93d3843e9..a4f6c4027 100644
--- a/plugins/otr/otrplugin.cpp
+++ b/plugins/otr/otrplugin.cpp
@@ -74,8 +74,8 @@ OTRPlugin::OTRPlugin (QObject *parent, const QVariantList & /*args*/)
connect(Kopete::ChatSessionManager::self(), SIGNAL(aboutToSend(Kopete::Message&)),
SLOT(slotOutgoingMessage(Kopete::Message&)));
- connect(Kopete::ChatSessionManager::self(), SIGNAL(chatSessionCreated(Kopete::ChatSession *)),
- this, SLOT(slotNewChatSessionWindow(Kopete::ChatSession *)));
+ connect(Kopete::ChatSessionManager::self(), SIGNAL(chatSessionCreated(Kopete::ChatSession*)),
+ this, SLOT(slotNewChatSessionWindow(Kopete::ChatSession*)));
connect(this, SIGNAL(settingsChanged()), this, SLOT(slotSettingsChanged()));
diff --git a/plugins/otr/otrpreferences.cpp b/plugins/otr/otrpreferences.cpp
index 5cee36297..06267192e 100644
--- a/plugins/otr/otrpreferences.cpp
+++ b/plugins/otr/otrpreferences.cpp
@@ -72,7 +72,7 @@ OTRPreferences::OTRPreferences(QWidget *parent, const QVariantList &args)
connect(preferencesDialog->twSettings, SIGNAL(currentChanged(int)), SLOT(fillFingerprints()));
connect(preferencesDialog->tbFingerprints, SIGNAL(currentCellChanged(int,int,int,int)), SLOT(updateButtons(int,int,int,int)));
connect(preferencesDialog->btForget, &QAbstractButton::clicked, this, &OTRPreferences::forgetFingerprint);
- connect(OtrlChatInterface::self(), SIGNAL(goneSecure(Kopete::ChatSession *,int)), this, SLOT(fillFingerprints()));
+ connect(OtrlChatInterface::self(), SIGNAL(goneSecure(Kopete::ChatSession*,int)), this, SLOT(fillFingerprints()));
int index = 0;
int accountnr = 0;
diff --git a/plugins/privacy/privacymessagehandler.cpp b/plugins/privacy/privacymessagehandler.cpp
index 790d0ff5c..0f32d83c4 100644
--- a/plugins/privacy/privacymessagehandler.cpp
+++ b/plugins/privacy/privacymessagehandler.cpp
@@ -50,7 +50,7 @@ MessageHandler *PrivacyMessageHandlerFactory::create(ChatSession *manager, Messa
return 0;
}
MessageHandler *handler = new PrivacyMessageHandler;
- QObject::connect(handler, SIGNAL(handle(Kopete::MessageEvent *)), d->target, d->slot);
+ QObject::connect(handler, SIGNAL(handle(Kopete::MessageEvent*)), d->target, d->slot);
return handler;
}
diff --git a/plugins/privacy/privacyplugin.cpp b/plugins/privacy/privacyplugin.cpp
index 50e36c3a7..fba984637 100644
--- a/plugins/privacy/privacyplugin.cpp
+++ b/plugins/privacy/privacyplugin.cpp
@@ -65,10 +65,10 @@ PrivacyPlugin::PrivacyPlugin(QObject *parent, const QVariantList &)
setXMLFile(QStringLiteral("privacyui.rc"));
m_inboundHandler = new PrivacyMessageHandlerFactory(Kopete::Message::Inbound,
- Kopete::MessageHandlerFactory::InStageStart, this, SLOT(slotIncomingMessage(Kopete::MessageEvent *)));
+ Kopete::MessageHandlerFactory::InStageStart, this, SLOT(slotIncomingMessage(Kopete::MessageEvent*)));
- connect(Kopete::ChatSessionManager::self(), SIGNAL(viewCreated(KopeteView *)),
- this, SLOT(slotViewCreated(KopeteView *)));
+ connect(Kopete::ChatSessionManager::self(), SIGNAL(viewCreated(KopeteView*)),
+ this, SLOT(slotViewCreated(KopeteView*)));
connect(this, SIGNAL(settingsChanged()), this, SLOT(slotSettingsChanged()));
}
@@ -237,8 +237,8 @@ void PrivacyPlugin::slotViewCreated(KopeteView *view)
if (!m_guiClients.contains(session)) {
m_guiClients.insert(session, new PrivacyGUIClient(session));
- connect(session, SIGNAL(closing(Kopete::ChatSession *)),
- this, SLOT(slotChatSessionClosed(Kopete::ChatSession *)));
+ connect(session, SIGNAL(closing(Kopete::ChatSession*)),
+ this, SLOT(slotChatSessionClosed(Kopete::ChatSession*)));
}
}
diff --git a/plugins/statistics/statisticsplugin.cpp b/plugins/statistics/statisticsplugin.cpp
index b25a09474..3ad7f6cbe 100644
--- a/plugins/statistics/statisticsplugin.cpp
+++ b/plugins/statistics/statisticsplugin.cpp
@@ -94,7 +94,7 @@ void StatisticsPlugin::slotInitialize()
slotMetaContactAdded(metaContact);
slotOnlineStatusChanged(metaContact, metaContact->status());
} else {
- connect(metaContact, SIGNAL(onlineStatusChanged(Kopete::MetaContact *,Kopete::OnlineStatus::StatusType)), this, SLOT(slotDelayedMetaContactAdded(Kopete::MetaContact *,Kopete::OnlineStatus::StatusType)));
+ connect(metaContact, SIGNAL(onlineStatusChanged(Kopete::MetaContact*,Kopete::OnlineStatus::StatusType)), this, SLOT(slotDelayedMetaContactAdded(Kopete::MetaContact*,Kopete::OnlineStatus::StatusType)));
}
}
}
@@ -131,7 +131,7 @@ void StatisticsPlugin::slotAboutToReceive(Kopete::Message &m)
void StatisticsPlugin::slotViewCreated(Kopete::ChatSession *session)
{
- connect(session, SIGNAL(closing(Kopete::ChatSession *)), this, SLOT(slotViewClosed(Kopete::ChatSession *)));
+ connect(session, SIGNAL(closing(Kopete::ChatSession*)), this, SLOT(slotViewClosed(Kopete::ChatSession*)));
}
void StatisticsPlugin::slotViewClosed(Kopete::ChatSession *session)
diff --git a/plugins/translator/translatorguiclient.cpp b/plugins/translator/translatorguiclient.cpp
index b378b7e49..533ac72f1 100644
--- a/plugins/translator/translatorguiclient.cpp
+++ b/plugins/translator/translatorguiclient.cpp
@@ -42,7 +42,7 @@ TranslatorGUIClient::TranslatorGUIClient(Kopete::ChatSession *parent)
setComponentName(QStringLiteral("kopete_translator"), i18n("Kopete"));
//setComponentData( TranslatorPlugin::plugin()->componentData() );
- connect(TranslatorPlugin::plugin(), SIGNAL(destroyed(QObject *)), this, SLOT(deleteLater()));
+ connect(TranslatorPlugin::plugin(), SIGNAL(destroyed(QObject*)), this, SLOT(deleteLater()));
m_manager = parent;
diff --git a/plugins/translator/translatorplugin.cpp b/plugins/translator/translatorplugin.cpp
index f196c5b08..58cd255b4 100644
--- a/plugins/translator/translatorplugin.cpp
+++ b/plugins/translator/translatorplugin.cpp
@@ -70,8 +70,8 @@ TranslatorPlugin::TranslatorPlugin(QObject *parent, const QVariantList & /* args
this, SLOT(slotIncomingMessage(Kopete::Message&)));
connect(Kopete::ChatSessionManager::self(), SIGNAL(aboutToSend(Kopete::Message&)),
this, SLOT(slotOutgoingMessage(Kopete::Message&)));
- connect(Kopete::ChatSessionManager::self(), SIGNAL(chatSessionCreated(Kopete::ChatSession *)),
- this, SLOT(slotNewKMM(Kopete::ChatSession *)));
+ connect(Kopete::ChatSessionManager::self(), SIGNAL(chatSessionCreated(Kopete::ChatSession*)),
+ this, SLOT(slotNewKMM(Kopete::ChatSession*)));
m_actionLanguage = new KSelectAction(QIcon::fromTheme("preferences-desktop-locale"), i18n("Set &Language"), this);
actionCollection()->addAction("contactLanguage", m_actionLanguage);
@@ -275,8 +275,8 @@ QString TranslatorPlugin::googleTranslateMessage(const QString &msg, const QStri
//job->addMetaData( "content-type", "application/x-www-form-urlencoded" );
//job->addMetaData( "referrer", "http://www.google.com" );
- QObject::connect(job, SIGNAL(data(KIO::Job *,QByteArray)), this, SLOT(slotDataReceived(KIO::Job *,QByteArray)));
- QObject::connect(job, SIGNAL(result(KJob *)), this, SLOT(slotJobDone(KJob *)));
+ QObject::connect(job, SIGNAL(data(KIO::Job*,QByteArray)), this, SLOT(slotDataReceived(KIO::Job*,QByteArray)));
+ QObject::connect(job, SIGNAL(result(KJob*)), this, SLOT(slotJobDone(KJob*)));
// KIO is async and we use a sync API, so use the processEvents hack to work around that
// FIXME: We need to make the libkopete API async to get rid of this processEvents.
@@ -317,8 +317,8 @@ QString TranslatorPlugin::babelTranslateMessage(const QString &msg, const QStrin
job->addMetaData("content-type", "Content-Type: application/x-www-form-urlencoded");
job->addMetaData("referrer", "http://babelfish.yahoo.com/translate_txt");
- QObject::connect(job, SIGNAL(data(KIO::Job *,QByteArray)), this, SLOT(slotDataReceived(KIO::Job *,QByteArray)));
- QObject::connect(job, SIGNAL(result(KJob *)), this, SLOT(slotJobDone(KJob *)));
+ QObject::connect(job, SIGNAL(data(KIO::Job*,QByteArray)), this, SLOT(slotDataReceived(KIO::Job*,QByteArray)));
+ QObject::connect(job, SIGNAL(result(KJob*)), this, SLOT(slotJobDone(KJob*)));
// KIO is async and we use a sync API, so use the processEvents hack to work around that
// FIXME: We need to make the libkopete API async to get rid of this processEvents.
@@ -405,8 +405,8 @@ void TranslatorPlugin::slotJobDone(KJob *job)
{
KIO::Job *kioJob = static_cast<KIO::Job *>(job);
m_completed[ kioJob ] = true;
- QObject::disconnect(kioJob, SIGNAL(data(KIO::Job *,QByteArray)), this, SLOT(slotDataReceived(KIO::Job *,QByteArray)));
- QObject::disconnect(kioJob, SIGNAL(result(KJob *)), this, SLOT(slotJobDone(KJob *)));
+ QObject::disconnect(kioJob, SIGNAL(data(KIO::Job*,QByteArray)), this, SLOT(slotDataReceived(KIO::Job*,QByteArray)));
+ QObject::disconnect(kioJob, SIGNAL(result(KJob*)), this, SLOT(slotJobDone(KJob*)));
}
void TranslatorPlugin::slotSetLanguage()
diff --git a/plugins/urlpicpreview/urlpicpreview.kcfg b/plugins/urlpicpreview/urlpicpreview.kcfg
index 58322b35b..32da81e2d 100644
--- a/plugins/urlpicpreview/urlpicpreview.kcfg
+++ b/plugins/urlpicpreview/urlpicpreview.kcfg
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE kcfg SYSTEM "http://www.kde.org/standards/kcfg/1.0/kcfg.dtd">
-<kcfg>
+<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
+ http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<kcfgfile name="kopeterc"/>
<group name="URLPicPreview Plugin">
<entry name="PreviewAmount" type="UInt">
diff --git a/protocols/bonjour/bonjouraccount.cpp b/protocols/bonjour/bonjouraccount.cpp
index 0ea32aca3..1706d2c7e 100644
--- a/protocols/bonjour/bonjouraccount.cpp
+++ b/protocols/bonjour/bonjouraccount.cpp
@@ -451,10 +451,10 @@ void BonjourAccount::newIncomingConnection()
QTcpSocket *sock = localServer->nextPendingConnection();
BonjourContactConnection *bcc = new BonjourContactConnection(sock);
- QObject::connect(bcc, SIGNAL(discoveredUserName(BonjourContactConnection *,QString)),
- this, SLOT(discoveredUserName(BonjourContactConnection *,QString)));
- QObject::connect(bcc, SIGNAL(usernameNotInStream(BonjourContactConnection *)),
- this, SLOT(usernameNotInStream(BonjourContactConnection *)));
+ QObject::connect(bcc, SIGNAL(discoveredUserName(BonjourContactConnection*,QString)),
+ this, SLOT(discoveredUserName(BonjourContactConnection*,QString)));
+ QObject::connect(bcc, SIGNAL(usernameNotInStream(BonjourContactConnection*)),
+ this, SLOT(usernameNotInStream(BonjourContactConnection*)));
unknownConnections << bcc;
}
diff --git a/protocols/bonjour/bonjourcontact.cpp b/protocols/bonjour/bonjourcontact.cpp
index 0bb91e703..74b1ecb21 100644
--- a/protocols/bonjour/bonjourcontact.cpp
+++ b/protocols/bonjour/bonjourcontact.cpp
@@ -75,7 +75,7 @@ Kopete::ChatSession *BonjourContact::manager(CanCreateFlags canCreateFlags)
Kopete::ChatSession::Form form = (Kopete::ChatSession::Small);
m_msgManager = Kopete::ChatSessionManager::self()->create(
account()->myself(), contacts, protocol(), form);
- connect(m_msgManager, SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession *)),
+ connect(m_msgManager, SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession*)),
this, SLOT(sendMessage(Kopete::Message&)));
connect(m_msgManager, SIGNAL(destroyed()), this, SLOT(slotChatSessionDestroyed()));
return m_msgManager;
@@ -197,8 +197,8 @@ void BonjourContact::setConnection(BonjourContactConnection *c)
// can delete the connection (and the socket hence)
connection->setParent(this);
- connect(connection, SIGNAL(disconnected(BonjourContactConnection *)),
- this, SLOT(connectionDisconnected(BonjourContactConnection *)));
+ connect(connection, SIGNAL(disconnected(BonjourContactConnection*)),
+ this, SLOT(connectionDisconnected(BonjourContactConnection*)));
connect(connection, SIGNAL(messageReceived(Kopete::Message)),
this, SLOT(receivedMessage(Kopete::Message)));
diff --git a/protocols/gadu/gaduaccount.cpp b/protocols/gadu/gaduaccount.cpp
index 20824d600..f65c714c6 100644
--- a/protocols/gadu/gaduaccount.cpp
+++ b/protocols/gadu/gaduaccount.cpp
@@ -234,10 +234,10 @@ GaduAccount::initConnections()
{
QObject::connect(p->session_, SIGNAL(error(QString,QString)),
SLOT(error(QString,QString)));
- QObject::connect(p->session_, SIGNAL(messageReceived(KGaduMessage *)),
- SLOT(messageReceived(KGaduMessage *)));
- QObject::connect(p->session_, SIGNAL(contactStatusChanged(KGaduNotify *)),
- SLOT(contactStatusChanged(KGaduNotify *)));
+ QObject::connect(p->session_, SIGNAL(messageReceived(KGaduMessage*)),
+ SLOT(messageReceived(KGaduMessage*)));
+ QObject::connect(p->session_, SIGNAL(contactStatusChanged(KGaduNotify*)),
+ SLOT(contactStatusChanged(KGaduNotify*)));
QObject::connect(p->session_, SIGNAL(connectionFailed(gg_failure_t)),
SLOT(connectionFailed(gg_failure_t)));
QObject::connect(p->session_, SIGNAL(connectionSucceed()),
diff --git a/protocols/gadu/gaducontact.cpp b/protocols/gadu/gaducontact.cpp
index 3ebb270bb..d09dab467 100644
--- a/protocols/gadu/gaducontact.cpp
+++ b/protocols/gadu/gaducontact.cpp
@@ -143,8 +143,8 @@ GaduContact::manager(Kopete::Contact::CanCreateFlags canCreate)
if (!msgManager_ && canCreate) {
msgManager_ = Kopete::ChatSessionManager::self()->create(account_->myself(), thisContact_,
GaduProtocol::protocol());
- connect(msgManager_, SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession *)),
- this, SLOT(messageSend(Kopete::Message&,Kopete::ChatSession *)));
+ connect(msgManager_, SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession*)),
+ this, SLOT(messageSend(Kopete::Message&,Kopete::ChatSession*)));
connect(msgManager_, SIGNAL(destroyed()), this, SLOT(slotChatSessionDestroyed()));
}
kDebug(14100) << "GaduContact::manager returning: " << msgManager_;
diff --git a/protocols/gadu/gadudcc.cpp b/protocols/gadu/gadudcc.cpp
index 19bef1a4d..fdf88fca5 100644
--- a/protocols/gadu/gadudcc.cpp
+++ b/protocols/gadu/gadudcc.cpp
@@ -133,7 +133,7 @@ GaduDCC::registerAccount(GaduAccount *account)
dccServer = new GaduDCCServer();
}
- connect(dccServer, SIGNAL(incoming(gg_dcc *,bool&)), SLOT(slotIncoming(gg_dcc *,bool&)));
+ connect(dccServer, SIGNAL(incoming(gg_dcc*,bool&)), SLOT(slotIncoming(gg_dcc*,bool&)));
initmutex.unlock();
diff --git a/protocols/gadu/gadudcctransaction.cpp b/protocols/gadu/gadudcctransaction.cpp
index 27d501867..517829f48 100644
--- a/protocols/gadu/gadudcctransaction.cpp
+++ b/protocols/gadu/gadudcctransaction.cpp
@@ -156,7 +156,7 @@ GaduDCCTransaction::setupIncoming(gg_dcc *dccS)
connect(Kopete::TransferManager::transferManager(), SIGNAL(accepted(Kopete::Transfer *,
QString)),
- this, SLOT(slotIncomingTransferAccepted(Kopete::Transfer *,QString)));
+ this, SLOT(slotIncomingTransferAccepted(Kopete::Transfer*,QString)));
connect(Kopete::TransferManager::transferManager(), SIGNAL(refused(Kopete::FileTransferInfo)),
this, SLOT(slotTransferRefused(Kopete::FileTransferInfo)));
@@ -287,7 +287,7 @@ GaduDCCTransaction::slotIncomingTransferAccepted(Kopete::Transfer *transfer, con
dccSock_->file_fd = localFile_.handle();
}
- connect(transfer, SIGNAL(result(KJob *)), this, SLOT(slotTransferResult()));
+ connect(transfer, SIGNAL(result(KJob*)), this, SLOT(slotTransferResult()));
// reenable notifiers
enableNotifiers(dccSock_->check);
diff --git a/protocols/gadu/gadueditcontact.cpp b/protocols/gadu/gadueditcontact.cpp
index 691acb1e6..1e96f603b 100644
--- a/protocols/gadu/gadueditcontact.cpp
+++ b/protocols/gadu/gadueditcontact.cpp
@@ -130,8 +130,8 @@ GaduEditContact::init()
show();
connect(this, SIGNAL(okClicked()), SLOT(slotApply()));
- connect(ui_->groups, SIGNAL(itemClicked(QTreeWidgetItem *,0)),
- SLOT(listClicked(QTreeWidgetItem *)));
+ connect(ui_->groups, SIGNAL(itemClicked(QTreeWidgetItem*,0)),
+ SLOT(listClicked(QTreeWidgetItem*)));
}
void
diff --git a/protocols/jabber/jabberfiletransfer.cpp b/protocols/jabber/jabberfiletransfer.cpp
index db47cc701..2038edae7 100644
--- a/protocols/jabber/jabberfiletransfer.cpp
+++ b/protocols/jabber/jabberfiletransfer.cpp
@@ -65,8 +65,8 @@ JabberFileTransfer::JabberFileTransfer (JabberAccount *account, XMPP::FileTransf
Kopete::ContactList::self()->addMetaContact(metaContact);
}
- connect(Kopete::TransferManager::transferManager(), SIGNAL(accepted(Kopete::Transfer *,QString)),
- this, SLOT(slotIncomingTransferAccepted(Kopete::Transfer *,QString)));
+ connect(Kopete::TransferManager::transferManager(), SIGNAL(accepted(Kopete::Transfer*,QString)),
+ this, SLOT(slotIncomingTransferAccepted(Kopete::Transfer*,QString)));
connect(Kopete::TransferManager::transferManager(), SIGNAL(refused(Kopete::FileTransferInfo)),
this, SLOT(slotTransferRefused(Kopete::FileTransferInfo)));
@@ -123,7 +123,7 @@ JabberFileTransfer::JabberFileTransfer (JabberAccount *account, JabberBaseContac
contact->contactId(),
Kopete::FileTransferInfo::Outgoing);
- connect(mKopeteTransfer, SIGNAL(result(KJob *)), this, SLOT(slotTransferResult()));
+ connect(mKopeteTransfer, SIGNAL(result(KJob*)), this, SLOT(slotTransferResult()));
mXMPPTransfer = mAccount->client()->fileTransferManager()->createTransfer();
@@ -224,7 +224,7 @@ void JabberFileTransfer::slotIncomingTransferAccepted(Kopete::Transfer *transfer
deleteLater();
} else {
- connect(mKopeteTransfer, SIGNAL(result(KJob *)), this, SLOT(slotTransferResult()));
+ connect(mKopeteTransfer, SIGNAL(result(KJob*)), this, SLOT(slotTransferResult()));
connect(mXMPPTransfer, SIGNAL(readyRead(QByteArray)), this, SLOT(slotIncomingDataReady(QByteArray)));
connect(mXMPPTransfer, SIGNAL(error(int)), this, SLOT(slotTransferError(int)));
mXMPPTransfer->accept(offset, length);
diff --git a/protocols/jabber/jingle/jinglecallsmanager.cpp b/protocols/jabber/jingle/jinglecallsmanager.cpp
index 42c044f70..ca6d99ee2 100644
--- a/protocols/jabber/jingle/jinglecallsmanager.cpp
+++ b/protocols/jabber/jingle/jinglecallsmanager.cpp
@@ -149,10 +149,10 @@ void JingleCallsManager::init()
d->mediaManager = new MediaManager(inputDev, outputDev);
d->client->jingleSessionManager()->setSupportedVideoPayloads(d->videoPayloads);
- connect((const QObject *)d->client->jingleSessionManager(), SIGNAL(newJingleSession(XMPP::JingleSession *)),
- this, SLOT(slotNewSession(XMPP::JingleSession *)));
- connect((const QObject *)d->client->jingleSessionManager(), SIGNAL(sessionTerminate(XMPP::JingleSession *)),
- this, SLOT(slotSessionTerminate(XMPP::JingleSession *)));
+ connect((const QObject *)d->client->jingleSessionManager(), SIGNAL(newJingleSession(XMPP::JingleSession*)),
+ this, SLOT(slotNewSession(XMPP::JingleSession*)));
+ connect((const QObject *)d->client->jingleSessionManager(), SIGNAL(sessionTerminate(XMPP::JingleSession*)),
+ this, SLOT(slotSessionTerminate(XMPP::JingleSession*)));
}
bool JingleCallsManager::startNewSession(const XMPP::Jid &toJid)
diff --git a/protocols/sms/services/smsclient.cpp b/protocols/sms/services/smsclient.cpp
index 09a29efbe..ed85e5185 100644
--- a/protocols/sms/services/smsclient.cpp
+++ b/protocols/sms/services/smsclient.cpp
@@ -84,9 +84,9 @@ void SMSClient::send(const Kopete::Message &msg)
*p << provider + ':' + nr;
*p << message;
- QObject::connect(p, SIGNAL(processExited(K3Process *)), this, SLOT(slotSendFinished(K3Process *)));
- QObject::connect(p, SIGNAL(receivedStdout(K3Process *,char *,int)), this, SLOT(slotReceivedOutput(K3Process *,char *,int)));
- QObject::connect(p, SIGNAL(receivedStderr(K3Process *,char *,int)), this, SLOT(slotReceivedOutput(K3Process *,char *,int)));
+ QObject::connect(p, SIGNAL(processExited(K3Process*)), this, SLOT(slotSendFinished(K3Process*)));
+ QObject::connect(p, SIGNAL(receivedStdout(K3Process*,char*,int)), this, SLOT(slotReceivedOutput(K3Process*,char*,int)));
+ QObject::connect(p, SIGNAL(receivedStderr(K3Process*,char*,int)), this, SLOT(slotReceivedOutput(K3Process*,char*,int)));
p->start(K3Process::Block, K3Process::AllOutput);
}
diff --git a/protocols/sms/services/smssendprovider.cpp b/protocols/sms/services/smssendprovider.cpp
index 1ff3a9ee7..fd056735d 100644
--- a/protocols/sms/services/smssendprovider.cpp
+++ b/protocols/sms/services/smssendprovider.cpp
@@ -234,8 +234,8 @@ void SMSSendProvider::send(const Kopete::Message &msg)
*p << QString("%1/bin/smssend").arg(prefix) << provider << values;
output = "";
- connect(p, SIGNAL(processExited(K3Process *)), this, SLOT(slotSendFinished(K3Process *)));
- connect(p, SIGNAL(receivedStdout(K3Process *,char *,int)), this, SLOT(slotReceivedOutput(K3Process *,char *,int)));
+ connect(p, SIGNAL(processExited(K3Process*)), this, SLOT(slotSendFinished(K3Process*)));
+ connect(p, SIGNAL(receivedStdout(K3Process*,char*,int)), this, SLOT(slotReceivedOutput(K3Process*,char*,int)));
// connect( p, SIGNAL(receivedStderr(K3Process*,char*,int)), this, SLOT(slotReceivedOutput(K3Process*,char*,int)));
p->start(K3Process::NotifyOnExit, K3Process::AllOutput);
diff --git a/protocols/sms/smscontact.cpp b/protocols/sms/smscontact.cpp
index 9645b73b8..2ccc8b43f 100644
--- a/protocols/sms/smscontact.cpp
+++ b/protocols/sms/smscontact.cpp
@@ -78,7 +78,7 @@ Kopete::ChatSession *SMSContact::manager(Kopete::Contact::CanCreateFlags canCrea
QList<Kopete::Contact *> contacts;
contacts.append(this);
m_msgManager = Kopete::ChatSessionManager::self()->create(account()->myself(), contacts, protocol());
- connect(m_msgManager, SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession *)),
+ connect(m_msgManager, SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession*)),
account(), SLOT(slotSendMessage(Kopete::Message&)));
connect(m_msgManager, SIGNAL(destroyed()), this, SLOT(slotChatSessionDestroyed()));
return m_msgManager;
diff --git a/protocols/winpopup/wpcontact.cpp b/protocols/winpopup/wpcontact.cpp
index d946bf9e1..5bb0684b3 100644
--- a/protocols/winpopup/wpcontact.cpp
+++ b/protocols/winpopup/wpcontact.cpp
@@ -79,8 +79,8 @@ Kopete::ChatSession *WPContact::manager(Kopete::Contact::CanCreateFlags /*canCre
m_manager = Kopete::ChatSessionManager::self()->create(account()->myself(), singleContact, protocol());
- connect(m_manager, SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession *)), this, SLOT(slotSendMessage(Kopete::Message&)));
- connect(m_manager, SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession *)), m_manager, SLOT(appendMessage(Kopete::Message&)));
+ connect(m_manager, SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession*)), this, SLOT(slotSendMessage(Kopete::Message&)));
+ connect(m_manager, SIGNAL(messageSent(Kopete::Message&,Kopete::ChatSession*)), m_manager, SLOT(appendMessage(Kopete::Message&)));
connect(m_manager, SIGNAL(destroyed()), this, SLOT(slotChatSessionDestroyed()));
}