summaryrefslogtreecommitdiffstats
path: root/kget/kget_plug_in/links.h
blob: 89ba9ab50de3f52b2e945a7ff49d7507cf7878a5 (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
/****************************************************************************
** $Id$
**
** Copyright (C) 2002 Carsten Pfeiffer <pfeiffer@kde.org>
**
****************************************************************************/

#ifndef LINKS_H
#define LINKS_H

#include <dom/dom_element.h>

#include <kurl.h>

class LinkItem
{
public:
    LinkItem( DOM::Element link );

    KURL url;
    QString icon;
    QString text;
    QString mimeType;
    
    bool isValid() const { return m_valid; }
    
private:
    bool m_valid : 1;
};


#endif // LINKS_H