diff options
Diffstat (limited to 'knode/kncomposer.cpp')
-rw-r--r-- | knode/kncomposer.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/knode/kncomposer.cpp b/knode/kncomposer.cpp index ec6e61b1c..38a18a342 100644 --- a/knode/kncomposer.cpp +++ b/knode/kncomposer.cpp @@ -376,7 +376,7 @@ KNComposer::KNComposer(KNLocalArticle *a, const TQString &text, const TQString & v_iew->e_dit->setModified(false); // restore window & toolbar configuration - KConfig *conf = knGlobals.config(); + TDEConfig *conf = knGlobals.config(); conf->setGroup("composerWindow_options"); resize(535,450); // default optimized for 800x600 applyMainWindowSettings(conf); @@ -401,7 +401,7 @@ KNComposer::~KNComposer() for ( TQValueList<KNAttachment*>::Iterator it = mDeletedAttachments.begin(); it != mDeletedAttachments.end(); ++it ) delete (*it); - KConfig *conf = knGlobals.config(); + TDEConfig *conf = knGlobals.config(); conf->setGroup("composerWindow_options"); saveMainWindowSettings(conf); } @@ -1397,7 +1397,7 @@ void KNComposer::slotConfKeys() void KNComposer::slotConfToolbar() { - KConfig *conf = knGlobals.config(); + TDEConfig *conf = knGlobals.config(); conf->setGroup("composerWindow_options"); saveMainWindowSettings(conf); KEditToolbar dlg(guiFactory(),this); @@ -1412,7 +1412,7 @@ void KNComposer::slotNewToolbarConfig() a_ttPopup=static_cast<TQPopupMenu*> (factory()->container("attachment_popup", this)); if(!a_ttPopup) a_ttPopup = new TQPopupMenu(); - KConfig *conf = knGlobals.config(); + TDEConfig *conf = knGlobals.config(); conf->setGroup("composerWindow_options"); applyMainWindowSettings(conf); } @@ -1588,8 +1588,8 @@ void KNComposer::slotSpellStarted( KSpell *) s_pellChecker->setProgressResolution(2); // read the quote indicator from the preferences - KConfig *config=knGlobals.config(); - KConfigGroupSaver saver(config, "READNEWS"); + TDEConfig *config=knGlobals.config(); + TDEConfigGroupSaver saver(config, "READNEWS"); TQString quotePrefix; quotePrefix = config->readEntry("quoteCharacters",">"); //todo fixme @@ -1779,8 +1779,8 @@ KNComposer::ComposerView::ComposerView(KNComposer *composer, const char *n) e_dit=new Editor(this, composer, main); e_dit->setMinimumHeight(50); - KConfig *config = knGlobals.config(); - KConfigGroupSaver saver(config, "VISUAL_APPEARANCE"); + TDEConfig *config = knGlobals.config(); + TDEConfigGroupSaver saver(config, "VISUAL_APPEARANCE"); TQColor defaultColor1( kapp->palette().active().text()); // defaults from kmreaderwin.cpp TQColor defaultColor2( kapp->palette().active().text() ); TQColor defaultColor3( kapp->palette().active().text() ); @@ -1817,7 +1817,7 @@ KNComposer::ComposerView::ComposerView(KNComposer *composer, const char *n) KNComposer::ComposerView::~ComposerView() { if(v_iewOpen) { - KConfig *conf=knGlobals.config(); + TDEConfig *conf=knGlobals.config(); conf->setGroup("POSTNEWS"); conf->writeEntry("Att_Splitter",sizes()); // save splitter pos @@ -1943,7 +1943,7 @@ void KNComposer::ComposerView::showAttachmentView() v_iewOpen=true; a_ttWidget->show(); - KConfig *conf=knGlobals.config(); + TDEConfig *conf=knGlobals.config(); conf->setGroup("POSTNEWS"); TQValueList<int> lst=conf->readIntListEntry("Att_Splitter"); |