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

keduca

kquestion.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           kquestion.h  -  description
00003                              -------------------
00004     begin                : Tue May 22 2001
00005     copyright            : (C) 2001 by Javier Campos Morales
00006     email                : javi@asyris.org
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 
00019 #ifndef KQUESTION_H
00020 #define KQUESTION_H
00021 
00022 #include <qhbox.h>
00023 #include <qtextedit.h>
00024 #include <qlabel.h>
00025 
00026 class QTimer;
00027 class KProgress;
00028 
00033 class KQuestion : public QHBox
00034 {
00035     Q_OBJECT
00036 
00037 public:
00038     KQuestion(QWidget *parent=0, const char *name=0);
00039     ~KQuestion();
00041     void setPixmap( const QPixmap pixmap);
00043     void setText( const QString &text);
00044 
00050     void countdown(int starttime);
00051 
00052     void countdownVisible(bool visible);
00053 
00055     int getCurrentTime();
00056   
00057 private slots:
00058     void countDownOne();
00059 
00060 private:
00061 
00062     // Private methods
00063 
00065     void initGUI();
00066 
00067     // Private attributes
00068 
00070     QTextEdit *_view;
00072     QLabel *_picture;
00073     QTimer *_countdownTimer;
00074     KProgress *_countdownWidget;
00075     int _currentCount;
00076     int _totalCount;
00077 };
00078 
00079 #endif

keduca

Skip menu "keduca"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

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