• 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
  • ui
kopetepasswordwidget.h
Go to the documentation of this file.
1 /*
2  kopetepasswordwidget.cpp - widget for editing a Kopete::Password
3 
4  Copyright (c) 2003 by Richard Smith <kde@metafoo.co.uk>
5 
6  Kopete (c) 2003 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 KOPETEPASSWORDWIDGET_H
19 #define KOPETEPASSWORDWIDGET_H
20 
21 #include "ui_kopetepasswordwidgetbase.h"
22 #include "kopete_export.h"
23 
24 namespace Kopete
25 {
26 
27 class Password;
28 class Protocol;
29 
30 namespace UI
31 {
32 
38 class KOPETE_EXPORT PasswordWidget : public QWidget, public Ui::KopetePasswordWidgetBase
39 {
40  Q_OBJECT
41 
42 public:
43  PasswordWidget( QWidget *parent = 0 );
44 
50  explicit PasswordWidget( Kopete::Password *from, QWidget *parent = 0 );
51 
52  ~PasswordWidget();
53 
60  void setValidationProtocol( Kopete::Protocol * );
61 
65  void load( Kopete::Password *source );
69  void save( Kopete::Password *target );
70 
76  bool validate();
77 
81  QString password() const;
87  bool remember() const;
88 
93  void setPassword( const QString &pass );
94 
95 signals:
99  void changed();
100 
101 public slots:
103  void receivePassword( const QString & );
104 
105 private slots:
106  void slotRememberChanged();
107  void passwordTextChanged();
108 
109 private:
110  class Private;
111  Private * const d;
112 };
113 
114 }
115 
116 }
117 
118 #endif
119 
120 // vim: set noet ts=4 sts=4 sw=4:
121 
KOPETE_EXPORT
#define KOPETE_EXPORT
Definition: kopete_export.h:27
QWidget
Kopete::Protocol
base class of every protocol.
Definition: kopeteprotocol.h:62
kopete_export.h
QString
Kopete::Password
Definition: kopetepassword.h:48
Kopete::UI::PasswordWidget
Definition: kopetepasswordwidget.h:38
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