tobackground.h

Ir a la documentación de este archivo.
00001 //***************************************************************************
00002 /*
00003  * TOra - An Oracle Toolkit for DBA's and developers
00004  * Copyright (C) 2000-2001,2001 Underscore AB
00005  * 
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation;  only version 2 of
00009  * the License is valid for this program.
00010  * 
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  * 
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00019  *
00020  *      As a special exception, you have permission to link this program
00021  *      with the Oracle Client libraries and distribute executables, as long
00022  *      as you follow the requirements of the GNU GPL in regard to all of the
00023  *      software in the executable aside from Oracle client libraries.
00024  *
00025  *      Specifically you are not permitted to link this program with the
00026  *      Qt/UNIX, Qt/Windows or Qt Non Commercial products of TrollTech.
00027  *      And you are not permitted to distribute binaries compiled against
00028  *      these libraries without written consent from Underscore AB. Observe
00029  *      that this does not disallow linking to the Qt Free Edition.
00030  *
00031  * All trademarks belong to their respective owners.
00032  *
00033  ****************************************************************************/
00034 
00035 #ifndef __TOBACKGROUND_H
00036 #define __TOBACKGROUND_H
00037 
00038 #include <qtimer.h>
00039 
00040 class QLabel;
00041 class QMovie;
00042 
00045 class toTimer : public QTimer {
00046   int LastTimer;
00047 public:
00052   toTimer(QObject *parent=0,const char * name=0)
00053     : QTimer(parent,name)
00054   { }
00059   int start(int msec,bool sshot=false)
00060   { LastTimer=msec; return QTimer::start(msec,sshot); }
00064   int lastTimer(void)
00065   { return LastTimer; }
00066 };
00067 
00073 class toBackground : public toTimer {
00074   static int Running;
00075   static QLabel *Label;
00076   static QMovie *Animation;
00077 public:
00083   toBackground(QObject* parent=0,const char* name=0)
00084     : toTimer(parent,name)
00085   { }
00086   ~toBackground();
00090   void start(int msec);
00093   void stop(void);
00094 
00095   static void init(void);
00096 };
00097 
00098 #endif

Generado el Sat May 21 00:04:45 2005 para BulmaGes por  doxygen 1.4.2