• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kstars

timebox.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           timebox.h  -  description
00003                              -------------------
00004     begin                : Sun Jan 20 2002
00005     copyright            : (C) 2002 by Pablo de Vicente
00006     email                : vicente@oan.es
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef TIMEBOX_H
00019 #define TIMEBOX_H
00020 
00021 #include <qhbox.h>
00022 #include <qlineedit.h>
00023 #include <qstring.h>
00024 
00025 class QTime;
00026 class ExtDate;
00027 
00037 class timeBox : public QLineEdit  {
00038 public:
00046     timeBox(QWidget *parent, const char *n, bool tt=TRUE);
00047 
00048     ~timeBox();
00049 
00055     void showTime(QTime t);
00056 
00062     void showDate(ExtDate t);
00063 
00067     QTime createTime(bool *ok=0);
00068 
00072     ExtDate createDate(bool *ok=0);
00073 
00074 
00078     void setEntry(QString s) { setText(s); }
00079 
00084     bool timeType(void) const {return timet;}
00085 
00089     void clearFields (void) { setEntry(""); }
00090 
00091 private:
00092     bool timet;
00093 };
00094 
00095 #endif

kstars

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

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal