diff options
Diffstat (limited to 'sip/qtpe/qpeconfig.sip')
-rw-r--r-- | sip/qtpe/qpeconfig.sip | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/sip/qtpe/qpeconfig.sip b/sip/qtpe/qpeconfig.sip index a8f78d7..e816101 100644 --- a/sip/qtpe/qpeconfig.sip +++ b/sip/qtpe/qpeconfig.sip @@ -3,20 +3,20 @@ // Copyright (c) 2007 // Riverbank Computing Limited <[email protected]> // -// This file is part of PyQt. +// This file is part of PyTQt. // -// This copy of PyQt is free software; you can redistribute it and/or modify it +// This copy of PyTQt 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, or (at your option) any later // version. // -// PyQt is supplied in the hope that it will be useful, but WITHOUT ANY +// PyTQt is supplied 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 -// PyQt; see the file LICENSE. If not, write to the Free Software Foundation, +// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation, // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -33,46 +33,46 @@ class Config %End public: - typedef QMap<QString,QString> ConfigGroup; + typedef TQMap<TQString,TQString> ConfigGroup; enum Domain { File, User }; - Config(const QString &,Domain = User); + Config(const TQString &,Domain = User); bool isValid() const; - bool hasKey(const QString &) const; + bool hasKey(const TQString &) const; - void setGroup(const QString &); -// void writeEntry(const QString &,const char *); - void writeEntry(const QString &,const QString &); - void writeEntryCrypt(const QString &,const QString &); - void writeEntry(const QString &,int); -// void writeEntry(const QString &,bool); - void writeEntry(const QString &,const QStringList &,const QChar &); - void removeEntry(const QString &); + void setGroup(const TQString &); +// void writeEntry(const TQString &,const char *); + void writeEntry(const TQString &,const TQString &); + void writeEntryCrypt(const TQString &,const TQString &); + void writeEntry(const TQString &,int); +// void writeEntry(const TQString &,bool); + void writeEntry(const TQString &,const TQStringList &,const TQChar &); + void removeEntry(const TQString &); - QString readEntry(const QString &, - const QString & = QString::null) const; - QString readEntryCrypt(const QString &, - const QString & = QString::null) const; - QString readEntryDirect(const QString &, - const QString & = QString::null) const; - int readNumEntry(const QString &,int = -1) const; - bool readBoolEntry(const QString &,bool = 0) const; - QStringList readListEntry(const QString &,const QChar &) const; + TQString readEntry(const TQString &, + const TQString & = TQString::null) const; + TQString readEntryCrypt(const TQString &, + const TQString & = TQString::null) const; + TQString readEntryDirect(const TQString &, + const TQString & = TQString::null) const; + int readNumEntry(const TQString &,int = -1) const; + bool readBoolEntry(const TQString &,bool = 0) const; + TQStringList readListEntry(const TQString &,const TQChar &) const; void clearGroup(); - void write(const QString & = QString::null); + void write(const TQString & = TQString::null); protected: // void read(); -// bool parse(const QString &); +// bool parse(const TQString &); -// static QString configFilename(const QString &,Domain); +// static TQString configFilename(const TQString &,Domain); }; %End |