summaryrefslogtreecommitdiffstats
path: root/kget/kget_plug_in/links.h
blob: 9430dcc083e1c916f708753abc9e06e2fb813a48 (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 <[email protected]>
**
****************************************************************************/

#ifndef LINKS_H
#define LINKS_H

#include <dom/dom_element.h>

#include <kurl.h>

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

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


#endif // LINKS_H