Fix a number of strings in Trinity that were incorrectly converted to TQ* from Q*

This fixes the Kopete MSN protocol among other things


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmyfirewall@1254372 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent ad46b81cd1
commit e471891972

@ -248,7 +248,7 @@ TQPtrList<IPTRule>& IPTChain::chainFwds() {
// FIXME: lots of targets missing !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
if ( !target.isEmpty() && target != "ACCEPT" && target != "DROP" && target != "LOG"
&& target != "REJECT" && target != "RETURN" && target != "DNAT" && target != "SNAT"
&& target != "TQUEUE" && target != "MIRROR" && target != "REDIRECT" && target != "MASTQUERADE" ) {
&& target != "QUEUE" && target != "MIRROR" && target != "REDIRECT" && target != "MASTQUERADE" ) {
//kdDebug() << "Found Forward to chain: " << target << endl;
fwds->append( rule );
}

@ -141,7 +141,7 @@ const TQString& IPTRule::target() const {
bool IPTRule::isForward() const {
//FIXME: Is that sematically correct???
if ( m_target == "ACCEPT" || m_target == "DROP" ||
m_target == "LOG" || m_target == "TQUEUE" ||
m_target == "LOG" || m_target == "QUEUE" ||
m_target == "RETURN" || m_target == "REJECT" ||
m_target == "MIRROR" || m_target == "SNAT" ||
m_target == "DNAT" || m_target == "REDIRECT" ||
@ -163,7 +163,7 @@ TQStringList IPTRule::availableTargets() const {
return *( new TQStringList() );
}
// general Targets
targets << "ACCEPT" << "DROP" << "LOG" << "TQUEUE" << "RETURN";
targets << "ACCEPT" << "DROP" << "LOG" << "QUEUE" << "RETURN";
if ( name == Constants::InputChain_Name || name == Constants::OutputChain_Name || name == Constants::ForwardChain_Name )
targets << "REJECT";

@ -771,7 +771,7 @@ void KMFListView::setupRuleView( IPTRule* rule, KMFListViewItem* parent ) {
item_target->setPixmap( 1, icon_reject );
} else if ( rule_target == "RETURN" ) {
item_target->setPixmap( 1, icon_return );
} else if ( rule_target == "TQUEUE" ) {
} else if ( rule_target == "QUEUE" ) {
item_target->setPixmap( 1, icon_queue );
}

Loading…
Cancel
Save