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

threadlinkevent.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *                                                                         *
00003  *   threadlinkevent.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 ThreadLinkEvent_h
00018 #define ThreadLinkEvent_h
00019 #include <qevent.h>
00020 #include <qstring.h>
00021 #include <qpixmap.h>
00022 #include "liturl.h"
00023 
00024 class LinkListBox;
00025 class QListViewItem;
00026 class ThreadLinkEvent: public QCustomEvent {
00027 private:
00028         ThreadLinkEvent(const ThreadLinkEvent&);
00029         LinkListBox *_box;
00030         QString _text;
00031         QPixmap pixm;
00032         QListViewItem *parentitem;
00033         LitUrl u;
00034 public:
00035         ThreadLinkEvent(LinkListBox *box, QString text, LitUrl url, QPixmap pm, QListViewItem *parentitem):QCustomEvent(User+2), _box(box), _text(text), pixm(pm), parentitem(parentitem), u(url) {
00036         }
00037         virtual ~ThreadLinkEvent() {  }
00038         
00039         LinkListBox *box() { return _box; }
00040         QString text() { return _text; }        
00041         QString url() { return u; }     
00042         QPixmap pixmap() { return pixm; }
00043         QListViewItem *parentItem() { return parentitem; }
00044 };
00045 
00046 #endif

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