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

linklistbox.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *                                                                         *
00003  *   linklistbox.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 LINKLISTBOX_H
00018 #define LINKLISTBOX_H
00019 #include <qlistview.h>
00020 #include <qpopupmenu.h>
00021 class LitUrl;
00022 class LinkListBoxItem;
00023 
00024 class LinkListBox: public QListView  {
00025    Q_OBJECT
00026 
00027 private:
00028         LinkListBox(const LinkListBox&);
00029         LinkListBox& operator=(const LinkListBox&);
00030 
00031 protected:              
00032         QPopupMenu pop;
00033 //      QPoint mousePos;
00034         
00035 public:
00036         LinkListBox(QWidget *parent=0, const char *name=0);
00037         ~LinkListBox();
00038         LitUrl url();
00039         
00040         
00041 signals:
00042         void open(QString where, const char *data, bool);
00043         void open(QString where, bool); 
00044         
00045 protected slots:
00046         void slotSelected(QListViewItem *item);
00047         void slotOpen();
00048         void slotNewWindow();
00049         void slotPopupMenu(QListViewItem *item, const QPoint& p, int c);
00050              void open(bool newwin);
00051 };
00052 #endif

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