diff options
Diffstat (limited to 'kexi/plugins/queries')
-rw-r--r-- | kexi/plugins/queries/kexiquerydesignerguieditor.cpp | 2 | ||||
-rw-r--r-- | kexi/plugins/queries/kexiquerydesignersqlhistory.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/kexi/plugins/queries/kexiquerydesignerguieditor.cpp b/kexi/plugins/queries/kexiquerydesignerguieditor.cpp index b08daaf0..9a6f3205 100644 --- a/kexi/plugins/queries/kexiquerydesignerguieditor.cpp +++ b/kexi/plugins/queries/kexiquerydesignerguieditor.cpp @@ -1372,7 +1372,7 @@ KexiQueryDesignerGuiEditor::parseExpressionString(const TQString& fullString, in } else if (str[0]>='0' && str[0]<='9' || str[0]=='-' || str[0]=='+') { //number - TQString decimalSym = KGlobal::locale()->decimalSymbol(); + TQString decimalSym = TDEGlobal::locale()->decimalSymbol(); bool ok; int pos = str.find('.'); if (pos==-1) {//second chance: local decimal symbol diff --git a/kexi/plugins/queries/kexiquerydesignersqlhistory.cpp b/kexi/plugins/queries/kexiquerydesignersqlhistory.cpp index 4fea781e..81bb22bc 100644 --- a/kexi/plugins/queries/kexiquerydesignersqlhistory.cpp +++ b/kexi/plugins/queries/kexiquerydesignersqlhistory.cpp @@ -335,12 +335,12 @@ HistoryEntry::highlight(const TQColorGroup &cg) if(!m_error.isEmpty()) // text += ("<br>"+i18n("Error: %1").arg(m_error)); -// text += TQString("<br><font face=\"") + KGlobalSettings::generalFont().family() + TQString("\" size=\"-1\">") + i18n("Error: %1").arg(m_error) + "</font>"; - text += TQString("<br><font face=\"") + KGlobalSettings::generalFont().family() + TQString("\">") + i18n("Error: %1").arg(m_error) + "</font>"; +// text += TQString("<br><font face=\"") + TDEGlobalSettings::generalFont().family() + TQString("\" size=\"-1\">") + i18n("Error: %1").arg(m_error) + "</font>"; + text += TQString("<br><font face=\"") + TDEGlobalSettings::generalFont().family() + TQString("\">") + i18n("Error: %1").arg(m_error) + "</font>"; kdDebug() << "HistoryEntry::highlight() text:" << text << endl; // m_formated = new TQSimpleRichText(text, TQFont("courier", 8)); - m_formated = new TQSimpleRichText(text, KGlobalSettings::fixedFont()); + m_formated = new TQSimpleRichText(text, TDEGlobalSettings::fixedFont()); } |