|
|
|
@ -38,7 +38,7 @@
|
|
|
|
|
#include <tdeio/netaccess.h>
|
|
|
|
|
#include <tdelocale.h>
|
|
|
|
|
#include <tdeglobal.h>
|
|
|
|
|
#include <kdesktopfile.h>
|
|
|
|
|
#include <tdedesktopfile.h>
|
|
|
|
|
#include <tdefiledialog.h>
|
|
|
|
|
|
|
|
|
|
#include <tqfile.h>
|
|
|
|
@ -220,7 +220,7 @@ void ReportView::initReportList() {
|
|
|
|
|
TDEStandardDirs std;
|
|
|
|
|
TQStringList reportDesktopFiles = std.findAllResources("data", "kplato/reports/*.desktop", true, true);
|
|
|
|
|
for (TQStringList::iterator it = reportDesktopFiles.begin(); it != reportDesktopFiles.end(); ++it) {
|
|
|
|
|
KDesktopFile file((*it), true);
|
|
|
|
|
TDEDesktopFile file((*it), true);
|
|
|
|
|
TQString name = file.readName();
|
|
|
|
|
if (!name.isNull()) {
|
|
|
|
|
//kdDebug()<<" file: "<<*it<<" name="<<name<<endl;
|
|
|
|
|