00001 /*************************************************************************** 00002 * * 00003 * threadsearchevent.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 ThreadSearchEvent_H 00018 #define ThreadSearchEvent_H 00019 00020 00021 class ThreadSearchEvent: public QCustomEvent { 00022 private: 00023 ThreadSearchEvent(const ThreadSearchEvent&); 00024 QString res; 00025 public: 00026 ThreadSearchEvent(QString res):QCustomEvent(User+4), res(res) { 00027 } 00028 virtual ~ThreadSearchEvent() { } 00029 QString result() { return res; } 00030 }; 00031 00032 #endif