Rename KStandard for enhanced compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 198b0bf66b
commit 8e93828d75

@ -14,7 +14,7 @@
#include <tqdir.h> #include <tqdir.h>
bool k9Tools::checkProgram(TQString _progName) { bool k9Tools::checkProgram(TQString _progName) {
return KStandardDirs::findExe( _progName,NULL,false) !=NULL ; return TDEStandardDirs::findExe( _progName,NULL,false) !=NULL ;
} }
void k9Tools::clearOutput(TQString name) { void k9Tools::clearOutput(TQString name) {

@ -109,7 +109,7 @@ k9Main::k9Main(TQWidget* parent, const char* name, k9CdDrives *_drives)
items.setAutoDelete(true); items.setAutoDelete(true);
listView1->setDefaultRenameAction(TQListView::Accept); listView1->setDefaultRenameAction(TQListView::Accept);
// KStandardDirs kd; // TDEStandardDirs kd;
m_prefOutput=locateLocal("tmp","k9copy/",true); //kd.findResource("tmp",""); m_prefOutput=locateLocal("tmp","k9copy/",true); //kd.findResource("tmp","");
connect(drives,TQT_SIGNAL(deviceAdded( k9CdDrive*)),this,TQT_SLOT(deviceAdded( k9CdDrive* ))); connect(drives,TQT_SIGNAL(deviceAdded( k9CdDrive*)),this,TQT_SLOT(deviceAdded( k9CdDrive* )));
connect(drives,TQT_SIGNAL(deviceRemoved( k9CdDrive*)),this,TQT_SLOT(deviceRemoved( k9CdDrive* ))); connect(drives,TQT_SIGNAL(deviceRemoved( k9CdDrive*)),this,TQT_SLOT(deviceRemoved( k9CdDrive* )));

Loading…
Cancel
Save