Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

KMoodUniqueApplication.hh

Go to the documentation of this file.
00001 /*
00002  *   kmood - a mood indicator
00003  *   Copyright (C) 2003  Andreas Baumann
00004  *
00005  *   This program is free software; you can redistribute it and/or modify
00006  *   it under the terms of the GNU General Public License as published by
00007  *   the Free Software Foundation; either version 2 of the License, or
00008  *   (at your option) any later version.
00009  *
00010  *   This program 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
00013  *   GNU General Public License for more details.
00014  *
00015  *   You should have received a copy of the GNU General Public License
00016  *   along with this program; if not, write to the Free Software
00017  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00018  *
00019  */
00020 
00021 #ifndef __KMOOD_UNIQUE_APPLICATION_H__
00022 #define __KMOOD_UNIQUE_APPLICATION_H__
00023 
00024 // Qt includes
00025 #include <qtimer.h>
00026 
00027 // KDE includes
00028 #include <kuniqueapplication.h>
00029 
00030 // KMood includes
00031 #include "KMood.hh"
00032 #include "KMoods.hh"
00033 #include "KDirMoods.hh"
00034 #include "KMoodStatusBarApplet.hh"
00035 #include "KMoodMainWindow.hh"
00036 
00045 class KMoodUniqueApplication : public KUniqueApplication
00046 {
00047    Q_OBJECT
00048          
00049    public:
00050       KMoodUniqueApplication( );
00051       ~KMoodUniqueApplication( );
00052 
00053    private slots:
00054       void slotMoodCurrentUserChanged( KMood *mood );
00055       void slotAgeCurrentUserChanged( KMood *mood );
00056 
00057    protected slots:
00058       void timerEvent( QTimerEvent *e );
00059 
00060    private:
00061       KMoodStatusBarApplet *m_moodStatusBarApplet;
00062       KMoodMainWindow *m_moodMainWindow;
00063       KMood *m_currentUserMood;
00064       KMoods *m_moods;
00065 };
00066 
00067 #endif
00068 

Generated on Wed Oct 8 21:52:18 2003 for kmood by doxygen1.2.18