From 5b6d393e0a2c88cce8f433607c091ae883ef54f9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:27:15 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- src/reportdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/reportdialog.cpp') diff --git a/src/reportdialog.cpp b/src/reportdialog.cpp index 3267a39..0600950 100644 --- a/src/reportdialog.cpp +++ b/src/reportdialog.cpp @@ -61,7 +61,7 @@ ReportDialog::ReportDialog(TQWidget* parent_, const char* name_/*=0*/) hlay->addWidget(l); // KStandardDirs::findAllResources(const char *type, const TQString &filter, bool recursive, bool uniq) - TQStringList files = KGlobal::dirs()->findAllResources("appdata", TQString::fromLatin1("report-templates/*.xsl"), + TQStringList files = TDEGlobal::dirs()->findAllResources("appdata", TQString::fromLatin1("report-templates/*.xsl"), false, true); KSortableValueList templates; for(TQStringList::ConstIterator it = files.begin(); it != files.end(); ++it) { @@ -195,7 +195,7 @@ void ReportDialog::slotSaveAs() { TQString filter = i18n("*.html|HTML Files (*.html)") + TQChar('\n') + i18n("*|All Files"); KURL u = KFileDialog::getSaveURL(TQString(), filter, this); if(!u.isEmpty() && u.isValid()) { - KConfigGroup config(KGlobal::config(), "ExportOptions"); + KConfigGroup config(TDEGlobal::config(), "ExportOptions"); bool encode = config.readBoolEntry("EncodeUTF8", true); int oldOpt = m_exporter->options(); -- cgit v1.2.1