not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / kdm / kfrontend / kdmclock.h
blob26761080fb32ed52e366083ead6d0deebea68a27
1 /*
3 clock module for kdm
5 Copyright (C) 2000 Espen Sand, espen@kde.org
6 Based on work by NN (yet to be determined)
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24 #ifndef _KDM_CLOCK_H_
25 #define _KDM_CLOCK_H_
27 //#define MORE
29 #include <QFrame>
31 class KdmClock : public QFrame {
32 Q_OBJECT
33 typedef QFrame inherited;
35 public:
36 KdmClock( QWidget *parent = 0 );
38 protected:
39 virtual void showEvent( QShowEvent * );
40 virtual void paintEvent( QPaintEvent * );
42 private Q_SLOTS:
43 void timeout();
45 #ifdef MORE
46 private:
47 QFont mFont;
48 bool mSecond;
49 bool mDigital;
50 bool mDate;
51 bool mBorder;
52 #endif
55 #endif