Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Commit

Permalink
icq: Remove dead functions from public header
Browse files Browse the repository at this point in the history
  • Loading branch information
flynd committed Dec 16, 2012
1 parent 986fb18 commit c6e1410
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 21 deletions.
5 changes: 0 additions & 5 deletions licq/include/licq/icq/icq.h
Expand Up @@ -72,9 +72,6 @@ class CICQDaemon : private boost::noncopyable
virtual unsigned long icqRequestICQphone(const Licq::UserId& userId, bool bServer = false) = 0;

// Server functions
virtual void icqRegister(const std::string& passwd) = 0;
virtual void icqVerifyRegistration() = 0;
virtual void icqVerify(const std::string& verification) = 0;
virtual unsigned long icqSetWorkInfo(const std::string& city, const std::string& state,
const std::string& phone, const std::string& fax, const std::string& address,
const std::string& zip, unsigned short companyCountry, const std::string& name,
Expand All @@ -99,8 +96,6 @@ class CICQDaemon : private boost::noncopyable
virtual void icqUpdatePhoneBookTimestamp() = 0;
virtual void icqUpdatePictureTimestamp() = 0;
virtual void icqSetPhoneFollowMeStatus(unsigned newStatus) = 0;
virtual void icqUpdateContactList() = 0;
virtual void icqCheckInvisible(const Licq::UserId& userId) = 0;

virtual unsigned long setRandomChatGroup(unsigned chatGroup) = 0;
virtual unsigned long randomChatSearch(unsigned chatGroup) = 0;
Expand Down
5 changes: 0 additions & 5 deletions qt4-gui/src/core/mainwin.cpp
Expand Up @@ -964,11 +964,6 @@ void MainWindow::slot_logon()
updateStatus();
}

void MainWindow::slot_updateContactList()
{
gLicqDaemon->icqUpdateContactList();
}

void MainWindow::showAboutBox()
{
new AboutDlg(this);
Expand Down
1 change: 0 additions & 1 deletion qt4-gui/src/core/mainwin.h
Expand Up @@ -176,7 +176,6 @@ private slots:
void prevGroup();

void slot_logon();
void slot_updateContactList();
void slot_updatedUser(const Licq::UserId& userId, unsigned long subSignal, int argument);

/**
Expand Down
8 changes: 0 additions & 8 deletions qt4-gui/src/core/usermenu.cpp
Expand Up @@ -163,7 +163,6 @@ UserMenu::UserMenu(QWidget* parent)
addMenu(mySendMenu);
addMenu(myMiscModesMenu);
addMenu(myUtilitiesMenu);
//myCheckInvisibleAction = addAction(tr("Check If Invisible"), this, SLOT(checkInvisible()));
myCheckArAction = addAction(QString::null, this, SLOT(checkAutoResponse()));
myCustomArAction = addAction(tr("Custom Auto Response..."), this, SLOT(customAutoResponse()));
myCustomArAction->setCheckable(true);
Expand Down Expand Up @@ -322,7 +321,6 @@ void UserMenu::aboutToShowMenu()
mySendActions[RequestPhoneFollowMeStatus]->setVisible(isIcq);
mySendActions[RequestIcqphoneStatus]->setVisible(isIcq);
mySendActions[RequestFileServerStatus]->setVisible(isIcq);
// myCheckInvisibleAction->setVisible(isIcq);
myCheckArAction->setVisible(isIcq);
myCustomArAction->setVisible(isIcq);
myMiscModesActions[ModeUseRealIp]->setVisible(isIcq);
Expand Down Expand Up @@ -395,12 +393,6 @@ void UserMenu::viewEvent()
gLicqGui->showViewEventDialog(myUserId);
}

void UserMenu::checkInvisible()
{
if (myPpid == LICQ_PPID)
gLicqDaemon->icqCheckInvisible(myUserId);
}

void UserMenu::checkAutoResponse()
{
new ShowAwayMsgDlg(myUserId, true);
Expand Down
3 changes: 1 addition & 2 deletions qt4-gui/src/core/usermenu.h
@@ -1,6 +1,6 @@
/*
* This file is part of Licq, an instant messaging client for UNIX.
* Copyright (C) 2007-2011 Licq developers
* Copyright (C) 2007-2012 Licq developers <licq-dev@googlegroups.com>
*
* Licq is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -85,7 +85,6 @@ private slots:
void aboutToShowMenu();

void viewEvent();
void checkInvisible();
void checkAutoResponse();
void customAutoResponse();
void makePermanent();
Expand Down

0 comments on commit c6e1410

Please sign in to comment.