[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeutils/okteta/kasten/controllers/view/libbytearraychecksum
From: Friedrich W. H. Kossebau <kossebau () kde ! org>
Date: 2009-09-30 23:48:48
Message-ID: 1254354528.054599.22230.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1029880 by kossebau:
fixed: complete adaption of instructions for adding new algorithm from the one for \
new filter
M +4 -4 bytearraychecksumalgorithmfactory.cpp
M +8 -8 bytearraychecksumparameterseteditfactory.cpp
--- trunk/KDE/kdeutils/okteta/kasten/controllers/view/libbytearraychecksum/bytearraychecksumalgorithmfactory.cpp \
#1029879:1029880 @@ -35,9 +35,9 @@
#include "algorithm/qca2bytearraychecksumalgorithm.h"
#endif
// NEWCHECKSUM(start)
-// Here add the name of your header file of your filter,
+// Here add the name of your header file of your checksum algorithm,
// e.g.
-// #include "filter/my_bytearrayfilter.h"
+// #include "algorithm/mybytearraychecksumalgorithm.h"
// NEWCHECKSUM(end)
// KDE
#include <KLocale>
@@ -67,10 +67,10 @@
<< new Adler32ByteArrayChecksumAlgorithm()
<< new Crc32ByteArrayChecksumAlgorithm();
// NEWCHECKSUM(start)
-// Here add the creation of an object of your checksum class and add it to the list,
+// Here add the creation of an object of your checksum algorithm class and add it to \
the list, // e.g.
// result
-// << new My_ByteArrayChecksumAlgorithm();
+// << new MyByteArrayChecksumAlgorithm();
// NEWCHECKSUM(end)
#ifdef HAVE_QCA2
--- trunk/KDE/kdeutils/okteta/kasten/controllers/view/libbytearraychecksum/bytearraychecksumparameterseteditfactory.cpp \
#1029879:1029880 @@ -25,11 +25,11 @@
// lib
#include "algorithm/modsumbytearraychecksumparametersetedit.h"
#include "algorithm/nobytearraychecksumparametersetedit.h"
-//// NEWFILTERPARAMETERSET(start)
+//// NEWCHECKSUMPARAMETERSET(start)
//// Here add the name of your header file of your edit widget for the parameterset,
//// e.g.
-//// #include "filter/my_bytearrayfilterparametersetedit.h"
-//// NEWFILTERPARAMETERSET(end)
+//// #include "algorithm/mybytearraychecksumparametersetedit.h"
+//// NEWCHECKSUMPARAMETERSET(end)
AbstractByteArrayChecksumParameterSetEdit* \
ByteArrayChecksumParameterSetEditFactory::createEdit( const char* id ) @@ -38,13 \
+38,13 @@
if( qstrcmp(id,ModSumByteArrayChecksumParameterSetEdit::Id) == 0 )
result = new ModSumByteArrayChecksumParameterSetEdit();
-//// NEWFILTERPARAMETERSET(start)
+//// NEWCHECKSUMPARAMETERSET(start)
//// Here add the check for the id of your parameter set
-//// and if it matches the creation of the widget
+//// and, if it matches, the creation of the widget
//// e.g.
-//// else if( qstrcmp(id,My_ByteArrayFilterParameterSetEdit::Id) == 0 )
-//// result = new My_ByteArrayFilterParameterSetEdit();
-//// NEWFILTERPARAMETERSET(end)
+//// else if( qstrcmp(id,MyByteArrayChecksumParameterSetEdit::Id) == 0 )
+//// result = new MyByteArrayChecksumParameterSetEdit();
+//// NEWCHECKSUMPARAMETERSET(end)
else //if( qstrcmp(id,NoByteArrayChecksumParameterSetEdit::Id) == 0 ) TODO: \
default should be a message "Not found" result = new \
NoByteArrayChecksumParameterSetEdit();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic