Rename old tq methods that no longer need a unique name

pull/1/head
Timothy Pearson 13 years ago
parent dc97c53fce
commit 161cc76d48

@ -42,7 +42,7 @@ MainApp::MainApp() : KApplication() {
// KConfig *ksConfig = config();
// KMFIPTWatcher *watch = new KMFIPTWatcher( this, "KMFIPTWatcher" );
// MainWidget *mainWid = new MainWidget( 0 );
// connect( watch, TQT_SIGNAL( sigUpdateActive( bool ) ), mainWid, TQT_SLOT( slotSetRunningtqStatus( bool ) ) );
// connect( watch, TQT_SIGNAL( sigUpdateActive( bool ) ), mainWid, TQT_SLOT( slotSetRunningStatus( bool ) ) );
// connect( watch, TQT_SIGNAL( sigUpdateRuleCount( const TQString&, const TQString&, int ) ),
// mainWid, TQT_SIGNAL( sigUpdateRuleCount( const TQString&, const TQString&, int ) ) );

@ -458,7 +458,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>51</width>
<height>20</height>

@ -54,7 +54,7 @@ KMFSysTray::KMFSysTray( TQWidget* w ) : KSystemTray ( w ) , DCOPObject( "KMFSys
setPixmap( baseIcon );
// Connect the watch deamon
connect( watch, TQT_SIGNAL( sigUpdateActive( bool ) ), this, TQT_SLOT( slotSetRunningtqStatus( bool ) ) );
connect( watch, TQT_SIGNAL( sigUpdateActive( bool ) ), this, TQT_SLOT( slotSetRunningStatus( bool ) ) );
connect( watch, TQT_SIGNAL( sigUpdateRuleCount( const TQString&, const TQString&, int ) ),
this, TQT_SIGNAL( sigUpdateRuleCount( const TQString&, const TQString&, int ) ) );
@ -86,7 +86,7 @@ void KMFSysTray::initMenu() {
}
void KMFSysTray::slotSetRunningtqStatus( bool on ) {
void KMFSysTray::slotSetRunningStatus( bool on ) {
if ( on ) {
baseIcon = KSystemTray::loadIcon( "kmyfirewall" );
} else {

@ -54,7 +54,7 @@ public:
virtual void preferences();
public slots:
void slotSetRunningtqStatus( bool on );
void slotSetRunningStatus( bool on );
void slotLaunchKMF();
void slotShowDetails();
void slotQueryDetails();

@ -49,7 +49,7 @@ MainWidget::~MainWidget()
{
}
void MainWidget::slotSetRunningtqStatus( bool on ) {
void MainWidget::slotSetRunningStatus( bool on ) {
m_ledActive->on();
m_cmd_info->setEnabled( on );
if ( on ) {

@ -37,7 +37,7 @@ public:
/*$PUBLIC_FUNCTIONS$*/
public slots:
void slotSetRunningtqStatus( bool );
void slotSetRunningStatus( bool );
void slotDetailsClosed();
protected:

@ -37,13 +37,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>30</width>
<height>30</height>

@ -73,7 +73,7 @@ void showSplash() {
splash->setFrameStyle( TQFrame::WinPanel | TQFrame::Raised );
splash->setPixmap( pic );
splash->adjustSize();
splash->setFixedSize( splash->tqsizeHint() );
splash->setFixedSize( splash->sizeHint() );
splash->move( screen.center() - TQPoint( splash->width() / 2, splash->height() / 2 ) );
splash->tqrepaint( FALSE );
splash->show();

@ -85,8 +85,8 @@ void KMFPlugin::showOutput() {
KMyFirewallInterface::instance()->showOutput();
}
void KMFPlugin::checktqStatus() {
KMyFirewallInterface::instance()->checktqStatus();
void KMFPlugin::checkStatus() {
KMyFirewallInterface::instance()->checkStatus();
}
}

@ -42,7 +42,7 @@ public:
void setOutputWidget( TQWidget* wid );
void showEditor();
void showOutput();
void checktqStatus();
void checkStatus();
protected:
KMFRulesetDoc* rulesetDoc();

@ -47,7 +47,7 @@ public:
virtual void showEditor() = 0;
virtual void showOutput() = 0;
virtual void setOutputWidget( TQWidget* wid ) = 0;
virtual void checktqStatus() = 0;
virtual void checkStatus() = 0;
virtual void updateCaption() = 0;
virtual void enableUndo( bool ) = 0;
virtual void enableRedo( bool ) = 0;

@ -187,7 +187,7 @@ void KProcessWrapper::slotReceivedOutput( KProcess *, char *buffer, int buflen )
*m_stderrbuf = "";
}
*m_stdoutbuf += TQString::tqfromLatin1( buffer, buflen );
*m_stdoutbuf += TQString::fromLatin1( buffer, buflen );
m_allOut.append( *m_stdoutbuf );
m_stdOut.append( *m_stdoutbuf );
@ -214,7 +214,7 @@ void KProcessWrapper::slotReceivedError( KProcess *, char *buffer, int buflen )
*m_stdoutbuf = "";
}
*m_stderrbuf += TQString::tqfromLatin1( buffer, buflen );
*m_stderrbuf += TQString::fromLatin1( buffer, buflen );
m_allOut.append( *m_stderrbuf );
m_stdErr.append( *m_stderrbuf );
*m_stderrbuf = "";

@ -35,7 +35,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>80</height>
@ -69,7 +69,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>401</width>
<height>20</height>
@ -131,7 +131,7 @@ A DoS attack is mostly performed by a lot of hosts connecting to the victim host
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>381</width>
<height>20</height>

@ -35,7 +35,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>81</height>
@ -89,7 +89,7 @@ The entries are written to the system's main log file
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>381</width>
<height>20</height>

@ -187,7 +187,7 @@ void KMFInstallerPlugin::generateInstallerPackage( KMFTarget* tg ) {
return;
if ( KIO::NetAccess::exists( url, false, KApplication::kApplication()->mainWidget() ) ) {
TQDateTime now = TQDateTime::tqcurrentDateTime();
TQDateTime now = TQDateTime::currentDateTime();
TQString backUp;
backUp.append( url.url() );

@ -209,7 +209,7 @@ void KMFIPTInstaller::cmdRunFW() {
setOutputWidget( execWidget() );
execWidget()->runCmd( cmd, Constants::StartFirewallJob_Name, i18n("Start Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ), true );
showOutput();
checktqStatus();
checkStatus();
} else {
if( KMessageBox::questionYesNo ( 0 , i18n( "<p><b>Are you sure you want to execute the generated firewall script on %1?</b>"
"<p><b>A wrongly configured firewall script may make your computer unusable! PLease make sure that you have left the SSH port open, otherwise you will no longer be able to remote control the comuter using KMyFirewall or any other SSH client!</b></p>"
@ -257,7 +257,7 @@ void KMFIPTInstaller::cmdRunFW() {
setOutputWidget( execWidget() );
execWidget()->setText( KProcessWrapper::instance()->stdOut(), i18n("Start Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ) );
showOutput();
checktqStatus();
checkStatus();
}
}
@ -285,7 +285,7 @@ void KMFIPTInstaller::cmdStopFW() {
setOutputWidget( execWidget() );
execWidget()->runCmd( cmd, Constants::StopFirewallJob_Name, i18n("Stop Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ), true );
showOutput();
checktqStatus();
checkStatus();
} else {
setOutputWidget( execWidget() );
@ -305,7 +305,7 @@ void KMFIPTInstaller::cmdStopFW() {
setOutputWidget( execWidget() );
execWidget()->setText( KProcessWrapper::instance()->stdOut(), i18n("Stop Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ) );
showOutput();
checktqStatus();
checkStatus();
}
}
@ -426,7 +426,7 @@ void KMFIPTInstaller::cmdInstallFW() {
setOutputWidget( execWidget() );
execWidget()->runCmd( cmd, Constants::InstallFirewallJob_Name, i18n("Install Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ), true );
showOutput();
checktqStatus();
checkStatus();
} else {
setOutputWidget( execWidget() );
execWidget()->setText( i18n("Please wait while the scripts are uploaded and executed..."), i18n("Install Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ) );
@ -445,7 +445,7 @@ void KMFIPTInstaller::cmdInstallFW() {
setOutputWidget( execWidget() );
execWidget()->setText( KProcessWrapper::instance()->stdOut(), i18n("Install Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ) );
showOutput();
checktqStatus();
checkStatus();
}
}
@ -521,7 +521,7 @@ void KMFIPTInstaller::cmdUninstallFW() {
setOutputWidget( execWidget() );
execWidget()->runCmd( cmd, Constants::UninstallFirewallJob_Name, i18n("Uninstall Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ), true );
showOutput();
checktqStatus();
checkStatus();
} else {
setOutputWidget( execWidget() );
@ -541,7 +541,7 @@ void KMFIPTInstaller::cmdUninstallFW() {
setOutputWidget( execWidget() );
execWidget()->setText( KProcessWrapper::instance()->stdOut(), i18n("Uninstall Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ) );
showOutput();
checktqStatus();
checkStatus();
}
@ -871,7 +871,7 @@ void KMFIPTInstaller::generateInstallerPackage( KMFTarget* tg ) {
return;
if ( KIO::NetAccess::exists( url, false, KApplication::kApplication()->mainWidget() ) ) {
TQDateTime now = TQDateTime::tqcurrentDateTime();
TQDateTime now = TQDateTime::currentDateTime();
TQString backUp;
backUp.append( url.url() );

@ -220,7 +220,7 @@ void KMFPFInstaller::cmdRunFW() {
// setOutputWidget( execWidget() );
// execWidget()->runCmd( cmd, Constants::StartFirewallJob_Name, i18n("Start Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ), true );
// showOutput();
// checktqStatus();
// checkStatus();
// } else {
// if( KMessageBox::questionYesNo ( 0 , i18n( "<p><b>Are you sure you want to execute the generated firewall script on %1?</b>"
// "<p><b>A wrongly configured firewall script may make your computer unusable! PLease make sure that you have left the SSH port open, otherwise you will no longer be able to remote control the comuter using KMyFirewall or any other SSH client!</b></p>"
@ -268,7 +268,7 @@ void KMFPFInstaller::cmdRunFW() {
// setOutputWidget( execWidget() );
// execWidget()->setText( KProcessWrapper::instance()->stdOut(), i18n("Start Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ) );
// showOutput();
// checktqStatus();
// checkStatus();
// }
//
}
@ -296,7 +296,7 @@ void KMFPFInstaller::cmdStopFW() {
// setOutputWidget( execWidget() );
// execWidget()->runCmd( cmd, Constants::StopFirewallJob_Name, i18n("Stop Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ), true );
// showOutput();
// checktqStatus();
// checkStatus();
//
// } else {
// setOutputWidget( execWidget() );
@ -316,7 +316,7 @@ void KMFPFInstaller::cmdStopFW() {
// setOutputWidget( execWidget() );
// execWidget()->setText( KProcessWrapper::instance()->stdOut(), i18n("Stop Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ) );
// showOutput();
// checktqStatus();
// checkStatus();
// }
}
@ -439,7 +439,7 @@ void KMFPFInstaller::cmdInstallFW() {
// setOutputWidget( execWidget() );
// execWidget()->runCmd( cmd, Constants::InstallFirewallJob_Name, i18n("Install Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ), true );
// showOutput();
// checktqStatus();
// checkStatus();
// } else {
// setOutputWidget( execWidget() );
// execWidget()->setText( i18n("Please wait while the scripts are uploaded and executed..."), i18n("Install Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ) );
@ -458,7 +458,7 @@ void KMFPFInstaller::cmdInstallFW() {
// setOutputWidget( execWidget() );
// execWidget()->setText( KProcessWrapper::instance()->stdOut(), i18n("Install Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ) );
// showOutput();
// checktqStatus();
// checkStatus();
// }
//
}
@ -534,7 +534,7 @@ void KMFPFInstaller::cmdUninstallFW() {
// setOutputWidget( execWidget() );
// execWidget()->runCmd( cmd, Constants::UninstallFirewallJob_Name, i18n("Uninstall Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ), true );
// showOutput();
// checktqStatus();
// checkStatus();
//
// } else {
// setOutputWidget( execWidget() );
@ -554,7 +554,7 @@ void KMFPFInstaller::cmdUninstallFW() {
// setOutputWidget( execWidget() );
// execWidget()->setText( KProcessWrapper::instance()->stdOut(), i18n("Uninstall Firewall on %1").tqarg( rulesetDoc()->target()->toFriendlyString() ) );
// showOutput();
// checktqStatus();
// checkStatus();
// }
//
//
@ -829,7 +829,7 @@ void KMFPFInstaller::cmdUninstallFW() {
// return;
//
// if ( KIO::NetAccess::exists( url, false, KApplication::kApplication()->mainWidget() ) ) {
// TQDateTime now = TQDateTime::tqcurrentDateTime();
// TQDateTime now = TQDateTime::currentDateTime();
//
// TQString backUp;
// backUp.append( url.url() );

@ -288,7 +288,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>110</width>
<height>20</height>
@ -324,7 +324,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>110</width>
<height>20</height>

@ -206,7 +206,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>79</width>
<height>0</height>
@ -233,7 +233,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>16</width>
<height>16</height>

@ -186,13 +186,13 @@
<property name="name">
<cstring>m_led_modules</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
@ -228,13 +228,13 @@
<property name="name">
<cstring>m_led_rp</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
@ -254,13 +254,13 @@
<property name="name">
<cstring>m_led_fwd</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
@ -288,13 +288,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
@ -314,13 +314,13 @@
<property name="name">
<cstring>m_led_syn</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>

@ -67,7 +67,7 @@ void KMFCheckListOutput::appendLine( const TQString &txt ) {
kdDebug() << "void KMFCheckListOutput::appendLine(TQString txt)" << endl;
}
void KMFCheckListOutput::settqStatus( bool ok, const TQString &err_msg ) {
void KMFCheckListOutput::setStatus( bool ok, const TQString &err_msg ) {
kdDebug() << "void KMFCheckListOutput::setStatus(bool ok,TQString &err_msg)" << endl;
if ( ok ) {
m_currItem->setPixmap( 1, icon_ok );

@ -42,9 +42,9 @@ public:
void appendLine( const TQString &txt );
/**
Sets the tqStatus of the last created ListItem
Sets the Status of the last created ListItem
*/
void settqStatus( bool ok, const TQString &err_msg );
void setStatus( bool ok, const TQString &err_msg );
void clearList();

@ -135,15 +135,15 @@ void KMFHostWidget::updateView() {
m_cb_os->blockSignals( true );
m_host_desc->blockSignals( true );
m_cmd_testSSH->blockSignals( true );
m_led_configtqStatus->off();
m_led_configStatus->off();
if ( m_target ) {
m_led_configtqStatus->on();
m_led_configStatus->on();
if ( m_target->config()->isValid() ) {
m_led_configtqStatus->setColor( TQt::green );
m_lbl_configtqStatus->setText( i18n( "Config Ok" ) );
m_led_configStatus->setColor( TQt::green );
m_lbl_configStatus->setText( i18n( "Config Ok" ) );
} else {
m_led_configtqStatus->setColor( TQt::red );
m_lbl_configtqStatus->setText( i18n( "Invalid Config!" ) );
m_led_configStatus->setColor( TQt::red );
m_lbl_configStatus->setText( i18n( "Invalid Config!" ) );
}

@ -54,7 +54,7 @@ KMFListView::KMFListView( TQWidget *parent, const char *name ) : KListView( pare
addColumn( i18n( "Rule No." ) );
addColumn( TQString() );
addColumn( i18n( "Value" ) );
tqsetSizePolicy( TQSizePolicy( ( TQSizePolicy::SizeType ) 2, ( TQSizePolicy::SizeType ) 2, 0, 0,
setSizePolicy( TQSizePolicy( ( TQSizePolicy::SizeType ) 2, ( TQSizePolicy::SizeType ) 2, 0, 0,
sizePolicy().hasHeightForWidth() ) );
setFrameShape( KListView::StyledPanel );
setFrameShadow( KListView::Sunken );

@ -126,7 +126,7 @@ void KMFProcOut::slotReceivedOutput( KProcess *, char *buffer, int buflen ) {
stderrbuf = new TQString( "" );
}
*stdoutbuf += TQString::tqfromLatin1( buffer, buflen );
*stdoutbuf += TQString::fromLatin1( buffer, buflen );
int pos;
while ( ( pos = stdoutbuf->find( '\n' ) ) != -1 ) {
TQString line = stdoutbuf->left( pos );
@ -143,7 +143,7 @@ void KMFProcOut::slotReceivedError( KProcess *, char *buffer, int buflen ) {
stdoutbuf = new TQString( "" );
}
*stderrbuf += TQString::tqfromLatin1( buffer, buflen );
*stderrbuf += TQString::fromLatin1( buffer, buflen );
int pos;
while ( ( pos = stderrbuf->find( '\n' ) ) != -1 ) {
TQString line = stderrbuf->left( pos );

@ -113,7 +113,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>300</width>
<height>20</height>

@ -204,7 +204,7 @@ This required if you like to use a protocol not directely suppotred by KMyFirewa
<property name="name">
<cstring>m_lb_tcpPorts</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>0</width>
<height>80</height>
@ -215,7 +215,7 @@ This required if you like to use a protocol not directely suppotred by KMyFirewa
<property name="name">
<cstring>m_te_desc</cstring>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>32767</width>
<height>150</height>

@ -320,7 +320,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>71</height>
@ -329,7 +329,7 @@
</spacer>
<widget class="TQLabel" row="7" column="1">
<property name="name">
<cstring>m_lbl_configtqStatus</cstring>
<cstring>m_lbl_configStatus</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
@ -372,7 +372,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>241</width>
<height>20</height>
@ -381,7 +381,7 @@
</spacer>
<widget class="KLed" row="7" column="0">
<property name="name">
<cstring>m_led_configtqStatus</cstring>
<cstring>m_led_configStatus</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>

@ -56,7 +56,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>41</height>

@ -23,13 +23,13 @@
<property name="name">
<cstring>TextLabel7</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>32767</width>
<height>40</height>
@ -171,7 +171,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>51</width>
<height>0</height>
@ -199,7 +199,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>21</width>
<height>0</height>

@ -228,7 +228,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>19</width>
<height>2</height>
@ -286,7 +286,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>45</height>

@ -12,13 +12,13 @@
<height>330</height>
</rect>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>580</width>
<height>330</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>580</width>
<height>330</height>
@ -145,7 +145,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>25</width>
<height>25</height>
@ -204,7 +204,7 @@
<property name="sizeType">
<enum>Minimum</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>50</height>
@ -320,7 +320,7 @@
<property name="sizeType">
<enum>Minimum</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>

@ -23,13 +23,13 @@
<property name="name">
<cstring>m_header</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>32767</width>
<height>40</height>
@ -93,7 +93,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>21</width>
<height>20</height>
@ -118,7 +118,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>21</width>
<height>20</height>

@ -48,7 +48,7 @@
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>

@ -29,7 +29,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>339</width>
<height>20</height>
@ -87,7 +87,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>178</width>
<height>20</height>

@ -67,13 +67,13 @@
<property name="name">
<cstring>m_pic_screenshot</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>400</width>
<height>300</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>400</width>
<height>300</height>
@ -179,7 +179,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>101</width>
<height>20</height>
@ -244,7 +244,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>25</width>
<height>25</height>
@ -283,7 +283,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>0</width>
<height>0</height>
@ -304,7 +304,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>0</width>
<height>0</height>

@ -157,7 +157,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>51</height>
@ -174,7 +174,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>41</height>

@ -12,7 +12,7 @@
<height>401</height>
</rect>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>580</width>
<height>400</height>
@ -131,7 +131,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@ -321,13 +321,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>25</width>
<height>25</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>25</width>
<height>25</height>
@ -366,7 +366,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>31</height>

@ -189,7 +189,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>225</width>
<height>20</height>
@ -262,7 +262,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>201</width>
<height>20</height>

@ -152,7 +152,7 @@ KMyFirewall::KMyFirewall( TQWidget* parent, const char *name ) : KMFMainWindow(
setActiveWindow(); // Make sure this window gets keyboard focus
raise(); // Make sure the window is now on top of other windows
statusBar() ->changeItem( "Ready", 0 );
checktqStatus();
checkStatus();
} else {
close(); // User indicated an abort is needed, so close the main window
}
@ -883,7 +883,7 @@ KMFError* KMyFirewall::parseDocument( const KURL& url ) {
toggleActions( true );
actionSave->setEnabled( true );
checktqStatus();
checkStatus();
updateCaption();
m_err->setErrType( KMFError::OK );
const TQString msg = "";
@ -906,7 +906,7 @@ void KMyFirewall::slotRestoreSession() {
worked = false;
}
checktqStatus();
checkStatus();
if ( ! worked ) {
KMFConfig::setCurrentConfiguration( "" );
}
@ -932,7 +932,7 @@ void KMyFirewall::slotLoadEmptyRuleset() {
// slotLoadDocument( network() );
toggleActions( true );
actionSave->setEnabled( true );
checktqStatus();
checkStatus();
toggleActions( true );
// m_configDlg->slotAutoConf();
@ -1002,10 +1002,10 @@ void KMyFirewall::slotConfigureKMF() {
m_configDlg->exec();
}
//################ Check tqStatus #############//
//################ Check Status #############//
// FIXME: Implement iptables active check
void KMyFirewall::checktqStatus() {
void KMyFirewall::checkStatus() {
kdDebug() << "checkStatus()" << endl;
bool isInstalled = false;

@ -77,7 +77,7 @@ public:
virtual void showEditor();
virtual void showOutput();
virtual void setOutputWidget( TQWidget* );
virtual void checktqStatus();
virtual void checkStatus();
virtual void updateCaption();
public slots: // Public slots

@ -34,13 +34,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>32767</width>
<height>40</height>
@ -266,7 +266,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>80</width>
<height>20</height>
@ -291,7 +291,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>141</width>
<height>20</height>

@ -29,13 +29,13 @@
<property name="name">
<cstring>TextLabel1</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>32767</width>
<height>40</height>
@ -185,7 +185,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>0</height>
@ -283,7 +283,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>0</height>
@ -337,7 +337,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>80</width>
<height>20</height>
@ -362,7 +362,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>130</width>
<height>20</height>

@ -37,13 +37,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>32767</width>
<height>40</height>
@ -170,7 +170,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>21</height>
@ -203,7 +203,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>60</width>
<height>20</height>
@ -228,7 +228,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>100</width>
<height>20</height>

@ -37,13 +37,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>32767</width>
<height>40</height>
@ -157,7 +157,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>0</height>
@ -268,7 +268,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>0</height>
@ -303,7 +303,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>21</height>
@ -336,7 +336,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>60</width>
<height>20</height>
@ -361,7 +361,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>60</width>
<height>20</height>

@ -37,13 +37,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>32767</width>
<height>40</height>
@ -100,13 +100,13 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>40</width>
<height>32767</height>
@ -120,7 +120,7 @@
<property name="name">
<cstring>TextLabel1_2_6</cstring>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>5</width>
<height>32767</height>
@ -137,13 +137,13 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>40</width>
<height>32767</height>
@ -157,7 +157,7 @@
<property name="name">
<cstring>TextLabel1_2_5</cstring>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>5</width>
<height>32767</height>
@ -174,13 +174,13 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>40</width>
<height>32767</height>
@ -194,7 +194,7 @@
<property name="name">
<cstring>TextLabel1_2_4</cstring>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>5</width>
<height>32767</height>
@ -211,13 +211,13 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>40</width>
<height>32767</height>
@ -231,7 +231,7 @@
<property name="name">
<cstring>TextLabel1_2_3</cstring>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>5</width>
<height>32767</height>
@ -248,13 +248,13 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>40</width>
<height>32767</height>
@ -268,7 +268,7 @@
<property name="name">
<cstring>TextLabel1_2_2</cstring>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>5</width>
<height>32767</height>
@ -285,13 +285,13 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>40</width>
<height>32767</height>
@ -351,7 +351,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>16</width>
<height>22</height>
@ -384,7 +384,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>80</width>
<height>20</height>
@ -409,7 +409,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>80</width>
<height>20</height>

@ -96,7 +96,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>21</height>

@ -34,13 +34,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>32767</width>
<height>40</height>
@ -720,7 +720,7 @@ A misuse of this functionality may result in a hard to detect bug in the firewal
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>48</width>
<height>20</height>
@ -772,7 +772,7 @@ A misuse of this functionality may result in a hard to detect bug in the firewal
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>48</width>
<height>16</height>
@ -903,7 +903,7 @@ A misuse of this functionality may result in a hard to detect bug in the firewal
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>140</width>
<height>20</height>
@ -928,7 +928,7 @@ A misuse of this functionality may result in a hard to detect bug in the firewal
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>140</width>
<height>20</height>

@ -37,13 +37,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>32767</width>
<height>40</height>
@ -311,7 +311,7 @@
<property name="sizeType">
<enum>MinimumExpanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>90</width>
<height>20</height>
@ -336,7 +336,7 @@
<property name="sizeType">
<enum>MinimumExpanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>90</width>
<height>20</height>

@ -127,7 +127,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>21</height>

@ -127,7 +127,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>21</height>

Loading…
Cancel
Save