From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/docprefs.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'korganizer/docprefs.cpp') diff --git a/korganizer/docprefs.cpp b/korganizer/docprefs.cpp index 958eb236..498886be 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 ); -- cgit v1.2.3