~smartboyhw/ubuntu/raring/calligra/2.6.0-0ubuntu1

« back to all changes in this revision

Viewing changes to kexi/kexiutils/identifier.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-10-23 21:09:16 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20121023210916-m82w6zxnxhaxz7va
Tags: 1:2.5.90-0ubuntu1
* New upstream alpha release (LP: #1070436)
  - Add libkactivities-dev and libopenimageio-dev to build-depends
  - Add kubuntu_build_calligraactive.diff to build calligraactive by default
  - Add package for calligraauthor and move files that are shared between
    calligrawords and calligraauthor to calligrawords-common
* Document the patches
* Remove numbers from patches so they follow the same naming scheme as
  the rest of our patches.
* calligra-data breaks replaces krita-data (<< 1:2.5.3) (LP: #1071686)

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
namespace KexiUtils
28
28
{
29
29
 
30
 
/*! \return true if \a s is a valid identifier, ie. starts with a letter or '_' character
31
 
 and contains only letters, numbers and '_' character. */
32
 
KEXIUTILS_EXPORT bool isIdentifier(const QString& s);
33
 
 
34
30
/*! \return valid identifier based on \a s.
35
31
 Non-alphanumeric characters (or spaces) are replaced with '_'.
36
32
 If a number is at the beginning, '_' is added at start.
42
38
KEXIUTILS_EXPORT QString identifierExpectedMessage(const QString &valueName,
43
39
        const QVariant& v);
44
40
 
45
 
//! \return Valid filename based on \a s
46
 
KEXIUTILS_EXPORT QString string2FileName(const QString &s);
47
 
 
48
41
//! Validates input for identifier name.
49
42
class KEXIUTILS_EXPORT IdentifierValidator : public Validator
50
43
{