[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/libs/store
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2008-02-20 10:51:50
Message-ID: 1203504710.944521.25842.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 777284 by rempt:
Krazy fixes (header & copyright)
M +1 -0 KoDirectoryStore.cpp
M +2 -1 KoEncryptedStore.cpp
M +0 -1 KoEncryptedStore.h
M +1 -0 KoStore.cpp
M +3 -1 KoXmlReader.cpp
M +2 -2 tests/kodomtest.cpp
M +1 -0 tests/kodomtest.h
M +15 -15 tests/storage_test2.cpp
M +19 -0 tests/storedroptest.cpp
M +19 -1 tests/xmlwritertest.cpp
--- trunk/koffice/libs/store/KoDirectoryStore.cpp #777283:777284
@@ -18,6 +18,7 @@
*/
#include "KoDirectoryStore.h"
+
#include <QFile>
#include <QDir>
#include <kdebug.h>
--- trunk/koffice/libs/store/KoEncryptedStore.cpp #777283:777284
@@ -16,9 +16,10 @@
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
+#ifdef QCA2
-#ifdef QCA2
#include "KoEncryptedStore.h"
+
#include "KoXmlReader.h"
#include <QString>
--- trunk/koffice/libs/store/KoEncryptedStore.h #777283:777284
@@ -20,7 +20,6 @@
#ifndef KoEncryptedStore_h
#define KoEncryptedStore_h
-
#include "KoStoreBase.h"
#include <QHash>
#include <QtCrypto>
--- trunk/koffice/libs/store/KoStore.cpp #777283:777284
@@ -20,6 +20,7 @@
*/
#include "KoStore.h"
+
#include "KoTarStore.h"
#include "KoZipStore.h"
#include "KoDirectoryStore.h"
--- trunk/koffice/libs/store/KoXmlReader.cpp #777283:777284
@@ -17,6 +17,8 @@
Boston, MA 02110-1301, USA.
*/
+#include "KoXmlReader.h"
+
/*
This is a memory-efficient DOM implementation for KOffice. See the API
documentation for details.
@@ -66,8 +68,8 @@
*/
-#include "KoXmlReader.h"
+
#include <QTextCodec>
#include <QTextDecoder>
--- trunk/koffice/libs/store/tests/kodomtest.cpp #777283:777284
@@ -17,13 +17,13 @@
* Boston, MA 02110-1301, USA.
*/
+#include "kodomtest.h"
+
#include "KoXmlReader.h"
static QString const KoXmlNS_office( \
"urn:oasis:names:tc:opendocument:xmlns:office:1.0" ); static QString const \
KoXmlNS_text( "urn:oasis:names:tc:opendocument:xmlns:text:1.0" );
-#include "kodomtest.h"
-
//static void debugElemNS( const QDomElement& elem )
//{
// qDebug( "nodeName=%s tagName=%s localName=%s prefix=%s namespaceURI=%s", \
elem.nodeName().latin1(), elem.tagName().latin1(), elem.localName().latin1(), \
elem.prefix().latin1(), elem.namespaceURI().latin1() );
--- trunk/koffice/libs/store/tests/kodomtest.h #777283:777284
@@ -22,6 +22,7 @@
#include <QByteArray>
#include <QtTest/QtTest>
+#include "KoXmlReader.h"
class KoDomTest: public QObject
{
--- trunk/koffice/libs/store/tests/storage_test2.cpp #777283:777284
@@ -1,19 +1,19 @@
/* This file is part of the KDE project
- Copyright (C) 2002 Werner Trobin <trobin@kde.org>
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library 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
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Copyright (C) 2002 Werner Trobin <trobin@kde.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
--- trunk/koffice/libs/store/tests/storedroptest.cpp #777283:777284
@@ -1,3 +1,22 @@
+/* This file is part of the KDE project
+ * Copyright (C) 2004 David Faure <faure@kde.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
#include <kapplication.h>
#include <kcmdlineargs.h>
#include <KoStore.h>
--- trunk/koffice/libs/store/tests/xmlwritertest.cpp #777283:777284
@@ -1,3 +1,21 @@
+/* This file is part of the KDE project
+ * Copyright (C) 2004 David Faure <faure@kde.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
#include "xmlwritertest.h"
#include "KoXmlWriter.h"
@@ -69,7 +87,7 @@
TEST_BEGIN( 0, 0 );
writer.startElement( "a" );
- writer.startElement( "b", false /*no indent*/ );
+ writer.startElement( "b", false /*no indent*/);
writer.startElement( "c" );
writer.endElement();
writer.addTextNode( "te" );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic