Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

threadfinishedevent.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *                                                                         *
00003  *   threadfinishedevent.h                                                                 *
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  *   Read the file COPYING for details.                                    *
00011  *                                                                         *
00012  *   copyright: (C) 2003 by Jan Mueller                                    *
00013  *   email: janmueller7@hotmail.com                                        *
00014  *                                                                         *
00015  ***************************************************************************/
00016 
00017 #ifndef GUIEvent
00018 #define GUIEvent
00019 #include <qevent.h>
00020 #include <qstring.h>
00021 
00022 class ThreadFinishedEvent: public QCustomEvent {
00023 private:
00024         ThreadFinishedEvent(const ThreadFinishedEvent&);
00025         QString _name;
00026 
00027 public:
00028         ThreadFinishedEvent(QString name):QCustomEvent(User+1), _name(name) {
00029         }
00030         ThreadFinishedEvent(ThreadFinishedEvent& e): QCustomEvent(User+1), _name(e.name()) { }
00031         virtual ~ThreadFinishedEvent() {  }
00032         
00033         QString name() { return _name; }
00034 };
00035 
00036 #endif
00037 

Generated on Sat Mar 27 19:20:44 2004 for Literature by doxygen 1.3.6-20040222