summaryrefslogtreecommitdiffstats
path: root/parts/outputviews
diff options
context:
space:
mode:
Diffstat (limited to 'parts/outputviews')
-rw-r--r--parts/outputviews/appoutputwidget.cpp2
-rw-r--r--parts/outputviews/makewidget.cpp12
2 files changed, 7 insertions, 7 deletions
diff --git a/parts/outputviews/appoutputwidget.cpp b/parts/outputviews/appoutputwidget.cpp
index 6560552d..6020b1d6 100644
--- a/parts/outputviews/appoutputwidget.cpp
+++ b/parts/outputviews/appoutputwidget.cpp
@@ -43,7 +43,7 @@ AppOutputWidget::AppOutputWidget(AppOutputViewPart* part)
connect(this, TQT_SIGNAL(executed(TQListBoxItem*)), TQT_SLOT(slotRowSelected(TQListBoxItem*)));
connect(this, TQT_SIGNAL(rightButtonClicked( TQListBoxItem *, const TQPoint & )),
TQT_SLOT(slotContextMenu( TQListBoxItem *, const TQPoint & )));
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("General Options");
setFont(config->readFontEntry("OutputViewFont"));
setSelectionMode(TQListBox::Extended);
diff --git a/parts/outputviews/makewidget.cpp b/parts/outputviews/makewidget.cpp
index 4dd11fa5..ad106ef0 100644
--- a/parts/outputviews/makewidget.cpp
+++ b/parts/outputviews/makewidget.cpp
@@ -527,7 +527,7 @@ void MakeWidget::searchItem(int parag)
void MakeWidget::insertStdoutLine( const TQCString& line )
{
TQString sline;
- bool forceCLocale = KConfigGroup( kapp->config(), "MakeOutputWidget" ).readBoolEntry( "ForceCLocale", true );
+ bool forceCLocale = TDEConfigGroup( kapp->config(), "MakeOutputWidget" ).readBoolEntry( "ForceCLocale", true );
if( forceCLocale )
sline = TQString::fromAscii( stdoutbuf+line );
@@ -542,7 +542,7 @@ void MakeWidget::insertStdoutLine( const TQCString& line )
void MakeWidget::insertStderrLine( const TQCString& line )
{
TQString sline;
- bool forceCLocale = KConfigGroup( kapp->config(), "MakeOutputWidget" ).readBoolEntry( "ForceCLocale", true );
+ bool forceCLocale = TDEConfigGroup( kapp->config(), "MakeOutputWidget" ).readBoolEntry( "ForceCLocale", true );
if( forceCLocale ) {
sline = TQString( stderrbuf+line );
@@ -724,7 +724,7 @@ TQPopupMenu* MakeWidget::createPopupMenu( const TQPoint& pos )
void MakeWidget::toggleLineWrapping()
{
m_bLineWrapping = !m_bLineWrapping;
- KConfig *pConfig = kapp->config();
+ TDEConfig *pConfig = kapp->config();
pConfig->setGroup("MakeOutputView");
pConfig->writeEntry("LineWrapping", m_bLineWrapping);
pConfig->sync();
@@ -759,7 +759,7 @@ void MakeWidget::slotFullCompilerOutput() { setTextFormat( TQt::RichText ); setC
void MakeWidget::setCompilerOutputLevel(EOutputLevel level)
{
m_compilerOutputLevel = level;
- KConfig *pConfig = kapp->config();
+ TDEConfig *pConfig = kapp->config();
pConfig->setGroup("MakeOutputView");
pConfig->writeEntry("CompilerOutputLevel", (int) level);
pConfig->sync();
@@ -769,7 +769,7 @@ void MakeWidget::setCompilerOutputLevel(EOutputLevel level)
void MakeWidget::toggleShowDirNavigMessages()
{
DirectoryItem::setShowDirectoryMessages( !DirectoryItem::getShowDirectoryMessages() );
- KConfig *pConfig = kapp->config();
+ TDEConfig *pConfig = kapp->config();
pConfig->setGroup("MakeOutputView");
pConfig->writeEntry("ShowDirNavigMsg", DirectoryItem::getShowDirectoryMessages());
pConfig->sync();
@@ -778,7 +778,7 @@ void MakeWidget::toggleShowDirNavigMessages()
void MakeWidget::updateSettingsFromConfig()
{
- KConfig *pConfig = kapp->config();
+ TDEConfig *pConfig = kapp->config();
pConfig->setGroup("General Options");
TQFont outputFont = pConfig->readFontEntry("OutputViewFont");
setFont(outputFont);