diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/docprefs.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/docprefs.cpp')
-rw-r--r-- | korganizer/docprefs.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/docprefs.cpp b/korganizer/docprefs.cpp index 958eb236e..498886be4 100644 --- a/korganizer/docprefs.cpp +++ b/korganizer/docprefs.cpp @@ -30,7 +30,7 @@ KSimpleConfig *DocPrefs::mConfig = 0; -DocPrefs::DocPrefs( const QString &type ) +DocPrefs::DocPrefs( const TQString &type ) { if ( !mConfig ) { mConfig = new KSimpleConfig( locateLocal( "data", "korganizer/docprefs." + type + ".kconfig" ) ); @@ -42,17 +42,17 @@ DocPrefs::~DocPrefs() mConfig->sync(); } -void DocPrefs::setDoc( const QString &identifier ) +void DocPrefs::setDoc( const TQString &identifier ) { mDocId = identifier; } -QString DocPrefs::doc() const +TQString DocPrefs::doc() const { return mDocId; } -bool DocPrefs::readBoolEntry( const QString &id ) const +bool DocPrefs::readBoolEntry( const TQString &id ) const { mConfig->setGroup( mDocId ); bool result = mConfig->readBoolEntry( id, false ); @@ -60,7 +60,7 @@ bool DocPrefs::readBoolEntry( const QString &id ) const return result; } -void DocPrefs::writeEntry( const QString &id, bool value ) +void DocPrefs::writeEntry( const TQString &id, bool value ) { // kdDebug(5850) << "DocPrefs::writeEntry(): " << id << " : " << (value ? "True" : "False" ) << endl; mConfig->setGroup( mDocId ); |