You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pytde/sip/tdecore/kstringhandler.sip

90 lines
3.3 KiB

//
// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
// may also apply
// Generated by preSip
// module tdecore version KDE 3.5.3
// This software 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 software 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 library; see the file COPYING.
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class KStringHandler
{
%TypeHeaderCode
#include <kstringhandler.h>
%End
public:
static QString word (const QString&, uint);
static QString word (const QString&, const char*);
static QString insword (const QString&, const QString&, uint);
static QString setword (const QString&, const QString&, uint);
static QString remrange (const QString&, const char*);
static QString remword (const QString&, uint);
static QString remword (const QString&, const QString&);
static QString capwords (const QString&);
static QStringList capwords (const QStringList&);
static QString reverse (const QString&);
static QStringList reverse (const QStringList&);
static QString ljust (const QString&, uint);
static QString rjust (const QString&, uint);
static QString center (const QString&, uint);
static QString lsqueeze (const QString&, uint = 40);
%If ( KDE_3_2_0 - )
static QString lEmSqueeze (const QString&, const QFontMetrics&, uint = 30);
static QString lPixelSqueeze (const QString&, const QFontMetrics&, uint);
%End
static QString csqueeze (const QString&, uint = 40);
%If ( KDE_3_2_0 - )
static QString cEmSqueeze (const QString&, const QFontMetrics&, uint = 30);
static QString cPixelSqueeze (const QString&, const QFontMetrics&, uint);
%End
static QString rsqueeze (const QString&, uint = 40);
%If ( KDE_3_2_0 - )
static QString rEmSqueeze (const QString&, const QFontMetrics&, uint = 30);
static QString rPixelSqueeze (const QString&, const QFontMetrics&, uint);
%End
static bool matchFileName (const QString&, const QString&);
//ig static QStringList perlSplit (const QString&, const QString&, uint = 0);
//ig static QStringList perlSplit (const QChar&, const QString&, uint = 0);
//ig static QStringList perlSplit (const QRegExp&, const QString&, uint = 0);
%If ( KDE_3_1_0 - )
static QString tagURLs (const QString&);
%If ( KDE_3_2_0 - )
static QString obscure (const QString&);
static bool isUtf8 (const char*);
static QString from8Bit (const char*);
%End
%End
static bool matchFilename (const QString&, const QString&);
}; // class KStringHandler