From 86d8364ac704bdc8ad2dfcf52307d9626cfac567 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:37:21 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- knode/kncomposer.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'knode/kncomposer.cpp') diff --git a/knode/kncomposer.cpp b/knode/kncomposer.cpp index ec6e61b1..38a18a34 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::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 (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 lst=conf->readIntListEntry("Att_Splitter"); -- cgit v1.2.3