Main Page   Class Hierarchy   Compound List   File List   Compound Members  

statusmanager.h

00001 /*
00002  *
00003  * Copyright (C) 2002 George Staikos <staikos@kde.org>
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Library General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Library General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Library General Public License
00016  * along with this library; see the file COPYING.LIB.  If not, write to
00017  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00018  * Boston, MA 02111-1307, USA.
00019  */
00020 
00021 
00022 
00023 #ifndef _StatusMANAGER_H
00024 #define _StatusMANAGER_H
00025 
00026 #include <qstring.h>
00027 #include <qobject.h>
00028 
00029 
00030 class StatusManagerPrivate;
00031 
00035 class StatusManager : public QObject
00036 {
00037         Q_OBJECT
00038 
00039 public slots:
00040     void setProgram(const QString& name);
00041 
00042 signals:
00043     // Emitted when the program listed on the CC wire changes
00044     void programChanged(const QString& name);
00045 
00046     // Emitted when the user changes the channel.
00047     // This is a rebroadcast from QtVision::
00048     void channelChanged();
00049 
00050 protected:
00051     friend class QtVision;
00052     StatusManager();
00053     ~StatusManager();
00054 
00055 private:
00056     StatusManagerPrivate *d;
00057 };
00058 
00059 
00060 
00061 #endif
00062 

Generated at Thu Jan 30 02:56:02 2003 for QtVision by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001