@ -57,7 +57,7 @@ void showSplash() {
bool show = true;
if ( show ) {
KStandardDirs std_dir;
TDEStandardDirs std_dir;
TQString dir = std_dir.findResource( "data", "kmyfirewall/pics/splash.png" );
kdDebug() << "\nFound Splashscreen at: " << dir << endl;
@ -128,7 +128,7 @@ KMFError* KMFDoc::exportXMLRuleset( bool promptFile, bool asTemplate ) {
TQString tmp_dir = std_dir.findResourceDir( "data", "kmyfirewall/templates/" );
TQDir dir( tmp_dir + "/kmyfirewall/templates/" );
@ -458,7 +458,7 @@ void KMFIPTDoc::parseDocument( const KURL& url, TQStringList& errors ) {
void KMFIPTDoc::registerRuleOptions() {
kdDebug() << "KMFIPTDoc::registerRuleOptions()" << endl;
TQStringList files = std_dir.findAllResources(
"data", "kmyfirewall/ruleoptions/kmfruleoption*.xml", false, true );
@ -95,7 +95,7 @@ void KMFProtocolLibrary::forceProtocolLibraryReload() {
KMFError *err = new KMFError();
KMFErrorHandler *errH = new KMFErrorHandler( "KMFErrorHandler" );
TQString file = std_dir.findResource( "data", "kmyfirewall/protocols/kmfprotocollibrary.xml" );
KURL url;
url.setPath( file );
@ -228,7 +228,7 @@ void KMFProtocolLibrary::loadProtocolDefinitionsFromURL( const KURL& url, KMFEr
KMFError* KMFProtocolLibrary::saveProtocolLibrary() {
kdDebug() << "KMFProtocolLibrary::saveProtocolLibrary()" << endl;
TQString saveFile = std_dir.saveLocation( "data", "kmyfirewall" );
@ -32,7 +32,7 @@
#include "kdebug.h"
namespace KMF {
KMFNewDocDlg::KMFNewDocDlg( TQWidget *parent, const char *name, WFlags fl ) : KMyFirewallNewDocument( parent, name, fl ) {
TQString dir = std_dir.findResource( "data", "kmyfirewall/pics/splash_cut.png" );
kdDebug() << "Found Splashscreen at: " << dir << endl;
@ -41,7 +41,7 @@ KMFSelectInterface::KMFSelectInterface( TQWidget *parent, const char *name, bool
m_descs << i18n("<qt><p>The IPTable interface is meant to be used by advanced users who like to have full control over the rules generated; as such, the IPTables interface provides an almost 1-1 view on your iptables configuration.</p></qt>");
m_cob_interface->insertItem( i18n("IPTables Interface") );
KStandardDirs dir;
TDEStandardDirs dir;
TQString filename = dir.findResource( "data", "kmyfirewall/pics/kmf_snapshot_generic_interface.png" );
TQPixmap *p = new TQPixmap( filename );
m_pic_screenshot->setPixmap( *p );
@ -66,7 +66,7 @@ void KMFSelectInterface::slotInterfaceChanged( int index ) {
kdDebug() << "KMFSelectInterface::slotInterfaceChanged( int index )" << endl;
m_lbl_descripton->setText( *m_descs.at( index ) );
TQString filename = "";
switch ( index ) {
case 0:
@ -97,7 +97,7 @@ void KMFTemplateChooser::parseTemplates(){
m_templateDescriptions.append( i18n("Clean Ruleset that does not do anything. Use this if you like to setup your firewall from scratch.") );
}