From dc34f9c39105b0fe20ba45c064a08406084acbe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 30 Dec 2017 15:57:14 +0100 Subject: kopete: Remove AIM protocol AIM network has been shutdown in 2017-12-15 This resolves Bug 2846 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kopete/protocols/oscar/aim/aimjoinchat.cpp | 94 ------------------------------ 1 file changed, 94 deletions(-) delete mode 100644 kopete/protocols/oscar/aim/aimjoinchat.cpp (limited to 'kopete/protocols/oscar/aim/aimjoinchat.cpp') diff --git a/kopete/protocols/oscar/aim/aimjoinchat.cpp b/kopete/protocols/oscar/aim/aimjoinchat.cpp deleted file mode 100644 index bc4a3edf..00000000 --- a/kopete/protocols/oscar/aim/aimjoinchat.cpp +++ /dev/null @@ -1,94 +0,0 @@ -// aimjoinchat.cpp - -// Copyright (C) 2005 Matt Rogers - -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. - -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -// 02110-1301 USA - -#include "aimjoinchat.h" - -#include -#include -#include - -#include "aimjoinchatbase.h" -#include "aimaccount.h" - -AIMJoinChatUI::AIMJoinChatUI( AIMAccount* account, bool modal, - TQWidget* parent, const char* name ) - : KDialogBase( parent, name, modal, i18n( "Join AIM Chat Room" ), - Cancel | User1, User1, true, i18n( "Join" ) ) -{ - - kdDebug(OSCAR_AIM_DEBUG) << k_funcinfo << "Account " << account->accountId() - << " joining a chat room" << endl; - - m_account = account; - - m_joinUI = new AIMJoinChatBase( this, "aimjoinchatbase" ); - - setMainWidget( m_joinUI ); - - TQObject::connect( this, TQT_SIGNAL( user1Clicked() ), this, TQT_SLOT( joinChat() ) ); - TQObject::connect( this, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT( closeClicked() ) ); -} - -AIMJoinChatUI::~AIMJoinChatUI() -{ - m_exchanges.clear(); -} - -void AIMJoinChatUI::setExchangeList( const TQValueList& list ) -{ - m_exchanges = list; - TQStringList exchangeList; - TQValueList::const_iterator it = list.begin(); - while ( it != list.end() ) - { - exchangeList.append( TQString::number( ( *it ) ) ); - ++it; - } - - - m_joinUI->exchange->insertStringList( exchangeList ); -} - -void AIMJoinChatUI::joinChat() -{ - m_roomName = m_joinUI->roomName->text(); - int item = m_joinUI->exchange->currentItem(); - m_exchange = m_joinUI->exchange->text( item ); - - emit closing( TQDialog::Accepted ); -} - -void AIMJoinChatUI::closeClicked() -{ - //hmm, do nothing? - emit closing( TQDialog::Rejected ); -} - -TQString AIMJoinChatUI::roomName() const -{ - return m_roomName; -} - -TQString AIMJoinChatUI::exchange() const -{ - return m_exchange; -} - -#include "aimjoinchat.moc" -//kate: space-indent on; indent-width 4; -- cgit v1.2.1