diff options
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 ); |