kig
cabri-utils.cc File Reference
#include "cabri-utils.h"
#include "cabri-filter.h"
#include <qfile.h>
#include <qregexp.h>
#include <qstring.h>
#include <kdebug.h>
#include <klocale.h>
Include dependency graph for cabri-utils.cc:
Go to the source code of this file.
Namespaces | |
CabriNS | |
Macros | |
#define | KIG_CABRI_FILTER_PARSE_ERROR |
Typedefs | |
typedef std::map< QString, QColor >::iterator | cmit |
Functions | |
static QColor | defaultColorForObject (const QByteArray &type) |
static bool | extractValuesFromString (const QString &str, std::vector< int > &vec) |
QString | CabriNS::readLine (QFile &file) |
QString | CabriNS::readText (QFile &f, const QString &s, const QString &sep) |
Variables | |
static std::map< QString, QColor > | colormap |
static std::map< QString, QColor > | colormap_v12 |
Macro Definition Documentation
#define KIG_CABRI_FILTER_PARSE_ERROR |
Value:
{ \
QString locs = i18n( "An error was encountered at line %1 in file %2.", \
__LINE__, __FILE__ ); \
m_filter->publicParseError( file, locs ); \
return 0; \
}
Definition at line 31 of file cabri-utils.cc.
Typedef Documentation
Definition at line 41 of file cabri-utils.cc.
Function Documentation
|
static |
Gives the default color for an object, in case of an object come with no color specified; it's exactly what Cabri 1.2 does.
Definition at line 47 of file cabri-utils.cc.
|
static |
Definition at line 67 of file cabri-utils.cc.
Variable Documentation
Definition at line 39 of file cabri-utils.cc.
Definition at line 40 of file cabri-utils.cc.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.