• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdenetwork API Reference
  • KDE Home
  • Contact Us
 

kopete/libkopete

  • sources
  • kde-4.14
  • kdenetwork
  • kopete
  • libkopete
managedconnectionaccount.h
Go to the documentation of this file.
1 /*
2  managedconnectionaccount.h - Kopete Account that uses a manager to
3  control its connection and respond to connection events
4 
5  Copyright (c) 2005 by Will Stephenson <wstephenson@kde.org>
6  Kopete (c) 2002-2005 by the Kopete developers <kopete-devel@kde.org>
7 
8  *************************************************************************
9  * *
10  * This library is free software; you can redistribute it and/or *
11  * modify it under the terms of the GNU Lesser General Public *
12  * License as published by the Free Software Foundation; either *
13  * version 2 of the License, or (at your option) any later version. *
14  * *
15  *************************************************************************
16 */
17 
18 #ifndef MANAGEDCONNECTIONACCOUNT_H
19 #define MANAGEDCONNECTIONACCOUNT_H
20 
21 #include "networkstatuscommon.h"
22 
23 #include "kopetepasswordedaccount.h"
24 
25 namespace Kopete
26 {
27 class Protocol;
28 
36 class KOPETE_EXPORT ManagedConnectionAccount : public PasswordedAccount
37 {
38  Q_OBJECT
39  public:
46  ManagedConnectionAccount( Protocol *parent, const QString &acctId );
47  public slots:
53  void connectWithPassword( const QString &password );
54  protected:
60  virtual void performConnectWithPassword( const QString & password ) = 0;
61  protected slots:
70  virtual void slotConnectionStatusChanged( const QString & host, NetworkStatus::EnumStatus status );
71  private:
72  QString m_password;
73  bool m_waitingForConnection;
74 };
75 
76 }
77 
78 #endif
KOPETE_EXPORT
#define KOPETE_EXPORT
Definition: kopete_export.h:27
status
OnlineStatus::StatusType status
Definition: kopeteonlinestatus.cpp:103
kopetepasswordedaccount.h
Kopete::Protocol
base class of every protocol.
Definition: kopeteprotocol.h:62
networkstatuscommon.h
QString
Kopete::PasswordedAccount
An account requiring a password to connect.
Definition: kopetepasswordedaccount.h:36
NetworkStatus::EnumStatus
EnumStatus
Definition: networkstatuscommon.h:9
Kopete::ManagedConnectionAccount
A ManagedConnectionAccount queries the NetworkStatus KDED Module before trying to connect using conne...
Definition: managedconnectionaccount.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/libkopete

Skip menu "kopete/libkopete"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal