summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-gutenbrowser/SearchResults.h
blob: bab8e484e87a0a7e4c0d6ce227e287fb5910d450 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51

/****************************************************************************
** Created: Sat Feb 24 23:32:10 2001
    copyright            : (C) 2000 -2004 by llornkcor
    email                : ljp@llornkcor.com

****************************************************************************/
#ifndef SEARCHRESULTSDLG_H
#define SEARCHRESULTSDLG_H

//#include "gutenbrowser.h"
#include <qdialog.h>
#include <qlabel.h>
#include <qstringlist.h>
#include <qlistbox.h>

class QVBoxLayout; 
class QHBoxLayout; 
class QGridLayout; 
//class QListBox;
class QListBoxItem;
class QPushButton;

class SearchResultsDlg : public QDialog
{ 
    Q_OBJECT

public:
    SearchResultsDlg( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, QStringList stringList=0);
    ~SearchResultsDlg();

    QLabel* statusLabel, *outPutLabel;
    QPushButton* buttonOk;
    QPushButton* buttonCancel;
    QListBox* ListBox1;
    QString selText;
    QStringList resultsList;
    int numListItems;

protected:
    QHBoxLayout* hbox;
public slots:
    void slotListClicked(QListBoxItem *);

protected slots:
    void dwnLd();
    void downloadButtonSlot();

};

#endif // SEARCHRESULTSDLG_H