00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
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
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