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

krfb

  • sources
  • kde-4.12
  • kdenetwork
  • krfb
  • krfb
invitation.h
Go to the documentation of this file.
1 /***************************************************************************
2  invitation.h
3  -------------------
4  begin : Sat Mar 30 2002
5  copyright : (C) 2002 by Tim Jansen
6  email : tim@tjansen.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef INVITATION_H
19 #define INVITATION_H
20 
21 #include <KApplication>
22 #include <KConfig>
23 
24 #include <QtCore/QDateTime>
25 #include <QtCore/QObject>
26 
27 const int INVITATION_DURATION = 60 * 60;
28 
29 class Invitation
30 {
31 public:
32  Invitation();
33  ~Invitation();
34  Invitation(const KConfigGroup &config);
35  Invitation(const Invitation &x);
36  Invitation &operator= (const Invitation &x);
37 
38  bool operator == (const Invitation &ot);
39 
40  QString password() const;
41  QDateTime expirationTime() const;
42  QDateTime creationTime() const;
43  bool isValid() const;
44 
45  void save(KConfigGroup &config) const;
46 private:
47  QString m_password;
48  QDateTime m_creationTime;
49  QDateTime m_expirationTime;
50 
51 };
52 
53 #endif
INVITATION_DURATION
const int INVITATION_DURATION
Definition: invitation.h:27
Invitation::operator=
Invitation & operator=(const Invitation &x)
Definition: invitation.cpp:82
Invitation::isValid
bool isValid() const
Definition: invitation.cpp:112
Invitation::save
void save(KConfigGroup &config) const
Definition: invitation.cpp:90
Invitation::expirationTime
QDateTime expirationTime() const
Definition: invitation.cpp:102
Invitation::Invitation
Invitation()
Definition: invitation.cpp:58
Invitation
Definition: invitation.h:29
Invitation::~Invitation
~Invitation()
Definition: invitation.cpp:78
Invitation::operator==
bool operator==(const Invitation &ot)
Definition: invitation.cpp:117
Invitation::password
QString password() const
Definition: invitation.cpp:97
Invitation::creationTime
QDateTime creationTime() const
Definition: invitation.cpp:107
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:54:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

krfb

Skip menu "krfb"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • 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