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

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
  • oal
session.h
Go to the documentation of this file.
1 /***************************************************************************
2  session.h - description
3 
4  -------------------
5  begin : Wednesday July 8, 2009
6  copyright : (C) 2009 by Prakash Mohan
7  email : prakash.mohan@kdemail.net
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 #ifndef SESSION_H_
19 #define SESSION_H_
20 
21 #include "oal/oal.h"
22 #include "kstarsdatetime.h"
23 
24 #include <QString>
25 
26 class OAL::Session {
27  public:
28  Session ( const QString &name, const QString& site, const KStarsDateTime& begin, const KStarsDateTime& end, const QString& weather, const QString& equipment, const QString& comment, const QString& lang ) { setSession( name, site, begin, end, weather, equipment, comment, lang ); }
29  QString id() const { return m_Id; }
30  QString site() const { return m_Site; }
31  KStarsDateTime begin() const { return m_Begin; }
32  KStarsDateTime end() const { return m_End; }
33  QString weather() const { return m_Weather; }
34  QString equipment() const { return m_Equipment; }
35  QString comments() const { return m_Comment; }
36  QString lang() const { return m_Lang; }
37  void setSession( const QString& _name, const QString& _site, const KStarsDateTime& _begin, const KStarsDateTime& _end, const QString& _weather, const QString& _equipment, const QString& _comment, const QString& _lang = "en" );
38  private:
39  QString m_Site, m_Weather, m_Equipment, m_Comment, m_Lang, m_Id;
40  KStarsDateTime m_Begin, m_End;
41 };
42 #endif
OAL::Session::weather
QString weather() const
Definition: session.h:33
OAL::Session::comments
QString comments() const
Definition: session.h:35
OAL::Session::begin
KStarsDateTime begin() const
Definition: session.h:31
OAL::Session::id
QString id() const
Definition: session.h:29
OAL::Session::equipment
QString equipment() const
Definition: session.h:34
oal.h
OAL::Session::setSession
void setSession(const QString &_name, const QString &_site, const KStarsDateTime &_begin, const KStarsDateTime &_end, const QString &_weather, const QString &_equipment, const QString &_comment, const QString &_lang="en")
Definition: session.cpp:21
KStarsDateTime
Extension of KDateTime for KStars KStarsDateTime can represent the date/time as a Julian Day...
Definition: kstarsdatetime.h:45
OAL::Session::lang
QString lang() const
Definition: session.h:36
OAL::Session
Definition: session.h:26
OAL::Session::Session
Session(const QString &name, const QString &site, const KStarsDateTime &begin, const KStarsDateTime &end, const QString &weather, const QString &equipment, const QString &comment, const QString &lang)
Definition: session.h:28
kstarsdatetime.h
OAL::Session::end
KStarsDateTime end() const
Definition: session.h:32
OAL::Session::site
QString site() const
Definition: session.h:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

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