You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
553 B
33 lines
553 B
15 years ago
|
/****************************************************************************
|
||
|
** $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
|