0,0 → 1,50 |
/*************************************************************************** |
* Copyright (C) 2004 by Riku Leino * |
* tsoots@welho.com * |
* * |
* 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. * |
* * |
* This program is distributed in the hope that it will be useful, * |
* but WITHOUT ANY WARRANTY; without even the implied warranty of * |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
* GNU General Public License for more details. * |
* * |
* You should have received a copy of the GNU General Public License * |
* along with this program; if not, write to the * |
* Free Software Foundation, Inc., * |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
***************************************************************************/ |
|
#ifndef PREFSREADER_H |
#define PREFSREADER_H |
|
#include <vector> |
#include <qstring.h> |
#include <qxml.h> |
#include "prefscontext.h" |
#include "prefsfile.h" |
#include "prefstable.h" |
|
class PrefsReader : public QXmlDefaultHandler |
{ |
private: |
ContextMap* aContexts; |
ContextMap* pContexts; |
PrefsContext* currentContext; |
PrefsTable* currentTable; |
bool inApp; |
int rowIndex; |
int colIndex; |
bool inTable; |
public: |
PrefsReader(ContextMap *appContexts, ContextMap *pluginContexts); |
~PrefsReader(); |
bool startElement(const QString&, const QString&, const QString &name, const QXmlAttributes &attrs); |
bool characters (const QString& ch); |
bool endElement(const QString&, const QString&, const QString &name); |
}; |
|
#endif |
Property changes: |
Added: svn:eol-style |
## -0,0 +1 ## |
+native |
\ No newline at end of property |
Added: svn:keywords |
## -0,0 +1 ## |
+Author Date Id Revision |
\ No newline at end of property |