diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
commit | 86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch) | |
tree | 97d3ac2c2f60780d9a1de4f82caac7cb27534501 /knode/kncomposer.cpp | |
parent | a9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff) | |
download | tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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"); |