diff options
Diffstat (limited to 'knotes')
-rw-r--r-- | knotes/knote.cpp | 4 | ||||
-rw-r--r-- | knotes/knote.h | 2 | ||||
-rw-r--r-- | knotes/knoteslegacy.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/knotes/knote.cpp b/knotes/knote.cpp index dd3940c80..e59be706b 100644 --- a/knotes/knote.cpp +++ b/knotes/knote.cpp @@ -83,7 +83,7 @@ KNote::KNote( TQDomDocument buildDoc, Journal *j, TQWidget *parent, const char * : TQFrame( parent, name, WStyle_Customize | WStyle_NoBorder | WDestructiveClose ), m_label( 0 ), m_pushpin( 0 ), m_fold( 0 ), m_button( 0 ), m_tool( 0 ), m_editor( 0 ), m_config( 0 ), m_journal( j ), m_find( 0 ), - m_twinConf( KSharedConfig::openConfig( "twinrc", true ) ), + m_twinConf( TDESharedConfig::openConfig( "twinrc", true ) ), m_busy( 0 ), m_deleteWhenIdle( false ), m_blockEmitDataChanged( false ) { setAcceptDrops( true ); @@ -221,7 +221,7 @@ KNote::KNote( TQDomDocument buildDoc, Journal *j, TQWidget *parent, const char * // we want to write to configFile, so use "false" bool newNote = !TDEIO::NetAccess::exists( KURL::fromPathOrURL( configFile ), false, 0 ); - m_config = new KNoteConfig( KSharedConfig::openConfig( configFile, false, false ) ); + m_config = new KNoteConfig( TDESharedConfig::openConfig( configFile, false, false ) ); m_config->readConfig(); m_config->setVersion( KNOTES_VERSION ); diff --git a/knotes/knote.h b/knotes/knote.h index cc12dcdc2..3b7928c42 100644 --- a/knotes/knote.h +++ b/knotes/knote.h @@ -176,7 +176,7 @@ private: KToggleAction *m_keepAbove; KToggleAction *m_keepBelow; - KSharedConfig::Ptr m_twinConf; + TDESharedConfig::Ptr m_twinConf; static int s_ppOffset; diff --git a/knotes/knoteslegacy.cpp b/knotes/knoteslegacy.cpp index fc8c71b4a..2605d7f44 100644 --- a/knotes/knoteslegacy.cpp +++ b/knotes/knoteslegacy.cpp @@ -152,7 +152,7 @@ bool KNotesLegacy::convertKNotes1Config( Journal *journal, TQDir& noteDir, 0 ); - KNoteConfig config( KSharedConfig::openConfig( configFile, false, false ) ); + KNoteConfig config( TDESharedConfig::openConfig( configFile, false, false ) ); config.readConfig(); config.setVersion( KNOTES_VERSION ); |