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.4 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 TQString word (const TQString&, uint);
static TQString word (const TQString&, const char*);
static TQString insword (const TQString&, const TQString&, uint);
static TQString setword (const TQString&, const TQString&, uint);
static TQString remrange (const TQString&, const char*);
static TQString remword (const TQString&, uint);
static TQString remword (const TQString&, const TQString&);
static TQString capwords (const TQString&);
static TQStringList capwords (const TQStringList&);
static TQString reverse (const TQString&);
static TQStringList reverse (const TQStringList&);
static TQString ljust (const TQString&, uint);
static TQString rjust (const TQString&, uint);
static TQString center (const TQString&, uint);
static TQString lsqueeze (const TQString&, uint = 40);
%If ( KDE_3_2_0 - )
static TQString lEmSqueeze (const TQString&, const TQFontMetrics&, uint = 30);
static TQString lPixelSqueeze (const TQString&, const TQFontMetrics&, uint);
%End
static TQString csqueeze (const TQString&, uint = 40);
%If ( KDE_3_2_0 - )
static TQString cEmSqueeze (const TQString&, const TQFontMetrics&, uint = 30);
static TQString cPixelSqueeze (const TQString&, const TQFontMetrics&, uint);
%End
static TQString rsqueeze (const TQString&, uint = 40);
%If ( KDE_3_2_0 - )
static TQString rEmSqueeze (const TQString&, const TQFontMetrics&, uint = 30);
static TQString rPixelSqueeze (const TQString&, const TQFontMetrics&, uint);
%End
static bool matchFileName (const TQString&, const TQString&);
//ig static TQStringList perlSplit (const TQString&, const TQString&, uint = 0);
//ig static TQStringList perlSplit (const TQChar&, const TQString&, uint = 0);
//ig static TQStringList perlSplit (const TQRegExp&, const TQString&, uint = 0);
%If ( KDE_3_1_0 - )
static TQString tagURLs (const TQString&);
%If ( KDE_3_2_0 - )
static TQString obscure (const TQString&);
static bool isUtf8 (const char*);
static TQString from8Bit (const char*);
%End
%End
static bool matchFilename (const TQString&, const TQString&);
}; // class KStringHandler