1 /***************************************************************************
2 * Copyright (C) 2003 by Hideki Ikemoto *
3 * ikemo@users.sourceforge.jp *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 ***************************************************************************/
30 @author Hideki Ikemoto
34 Thread( const QString& datURL, const QString& threadName = QString::null );
42 const QString& datURL() const;
43 const QString& name() const;
45 static Thread* getByURL( const QString& datURL );
46 static Thread* getByURLNew( const KURL& datURL );
47 static void setName( const QString& datURL, QString threadName );
48 static void replace( const QString& fromURL, const QString& toURL );
52 static QDict<Thread>* m_threadDict;
55 class NullThread : public Thread