|
|
|
@ -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 );
|
|
|
|
|
|
|
|
|
|