diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | e9ae80694875f869892f13f4fcaf1170a00dea41 (patch) | |
tree | aa2f8d8a217e2d376224c8d46b7397b68d35de2d /quanta/dialogs/tagdialogs/tagxml.h | |
download | tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.tar.gz tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/dialogs/tagdialogs/tagxml.h')
-rw-r--r-- | quanta/dialogs/tagdialogs/tagxml.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/quanta/dialogs/tagdialogs/tagxml.h b/quanta/dialogs/tagdialogs/tagxml.h new file mode 100644 index 00000000..52c2973d --- /dev/null +++ b/quanta/dialogs/tagdialogs/tagxml.h @@ -0,0 +1,56 @@ +/*************************************************************************** + tagxml.h - description + ------------------- + begin : � � 25 14:34:07 EEST 2000 + copyright : (C) 2000 by Dmitry Poplavsky & Alexander Yakovlev & Eric Laffoon <pdima@users.sourceforge.net,yshurik@penguinpowered.com,sequitur@easystreet.com> + (C) 2003, 2004 by Andras Mantia <amantia@kde.org> + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#ifndef TAGXML_H +#define TAGXML_H + +#include <qwidget.h> +#include <qdom.h> +#include <qptrlist.h> + +#include "tagattr.h" +#include "tagwidget.h" +#include "qtag.h" + +class Tagxml : public QWidget, TagWidget { + Q_OBJECT + public: + /** construtor */ + Tagxml(QDomNode &d, QTag *dtdTag, QWidget* parent=0, const char *name=0); + Tagxml(QDomNode &d, QTag *dtdTag, const QString& selection, QWidget* parent=0, const char *name=0); + /** destructor */ + ~Tagxml(); + + QPtrList<Attr> attributes; + + void readAttributes( QDict<QString> *d); + void writeAttributes( QDict<QString> *d ); + void focusToFirstItem(); + + private: + void initialize(QDomNode &d, QTag *dtdTag); + + QDomNode doc; + const DTDStruct *m_dtd; + QWidget *m_firstItem; + QTag *m_dtdTag; + QString m_selection; +}; + + + +#endif |