diff options
author | Michele Calgaro <[email protected]> | 2025-01-20 19:39:01 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-01-28 16:10:53 +0900 |
commit | 07a12d6eb21cce4cd735de6b4a4a17cce152f6a8 (patch) | |
tree | 68012ffbb56cb0f0023b257591f3e2218827fda9 /parts/astyle/astyle_part.cpp | |
parent | f9e07649d38f3ec8c2c599c0ba65a288e8eac5e0 (diff) | |
download | tdevelop-07a12d6eb21cce4cd735de6b4a4a17cce152f6a8.tar.gz tdevelop-07a12d6eb21cce4cd735de6b4a4a17cce152f6a8.zip |
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'parts/astyle/astyle_part.cpp')
-rw-r--r-- | parts/astyle/astyle_part.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parts/astyle/astyle_part.cpp b/parts/astyle/astyle_part.cpp index af16f84f..df911cc1 100644 --- a/parts/astyle/astyle_part.cpp +++ b/parts/astyle/astyle_part.cpp @@ -88,7 +88,7 @@ AStylePart::AStylePart(TQObject *parent, const char *name, const TQStringList &) void AStylePart::loadGlobal() { // kdDebug(9009) << "Load global"<<endl; - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); config->setGroup("AStyle"); TQString options = config->readEntry("Options","BlockBreak=0,BlockBreakAll=0,BlockIfElse=0,Brackets=Break,BracketsCloseHeaders=0,FStyle=UserDefined,Fill=Tabs,FillCount=4,FillEmptyLines=0,FillForce=0,IndentBlocks=0,IndentBrackets=0,IndentCases=0,IndentClasses=1,IndentLabels=1,IndentNamespaces=1,IndentPreprocessors=0,IndentSwitches=1,KeepBlocks=1,KeepStatements=1,MaxStatement=40,MinConditional=-1,PadOperators=0,PadParenthesesIn=1,PadParenthesesOut=1,PadParenthesesUn=1,"); m_globalExtensions=TQStringList::split(",",config->readEntry("Extensions",defaultFormatExtensions)); @@ -123,7 +123,7 @@ void AStylePart::saveGlobal() // kdDebug(9009) << "project before: " <<iter.key() << "="<< iter.data() << endl; // } - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); config->setGroup("AStyle"); config->writeEntry("Options",options); config->writeEntry("Extensions",m_globalExtensions.join(",")); |