diff options
Diffstat (limited to 'sip/qtpe/qpeconfig.sip')
-rw-r--r-- | sip/qtpe/qpeconfig.sip | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/sip/qtpe/qpeconfig.sip b/sip/qtpe/qpeconfig.sip deleted file mode 100644 index 39c788f..0000000 --- a/sip/qtpe/qpeconfig.sip +++ /dev/null @@ -1,78 +0,0 @@ -// This is the SIP interface definition for Config. -// -// Copyright (c) 2007 -// Riverbank Computing Limited <info@riverbankcomputing.co.uk> -// -// This file is part of PyTQt. -// -// 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. -// -// 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 -// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation, -// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -// The documentation is in the main documentation file because SIP isn't clever -// enough to handle the resulting %Timeline complexity. - - -%If (WS_QWS) - -class Config -{ -%TypeHeaderCode -#include <tqpe/config.h> -%End - -public: - typedef TQMap<TQString,TQString> ConfigGroup; - - enum Domain { - File, - User - }; - - Config(const TQString &,Domain = User); - - bool isValid() const; - bool hasKey(const TQString &) const; - - 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 &); - - 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 TQString & = TQString::null); - -protected: -// void read(); -// bool parse(const TQString &); - -// static TQString configFilename(const TQString &,Domain); -}; - -%End |