Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/12/head
Michele Calgaro 12 months ago
parent fe71db0569
commit a3180d7d50
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -89,9 +89,9 @@ UninstallWizard::UninstallWizard(TQWidget* parent, const char* name, bool modal,
icon.convertFromImage(qembed_findImage("misc"));
externalProcess = new TQProcess(this);
connect(externalProcess, SIGNAL(processExited()), SLOT(processExited()));
connect(externalProcess, SIGNAL(readyReadStdout()), SLOT(readyReadStdout()));
connect(externalProcess, SIGNAL(readyReadStderr()), SLOT(readyReadStderr()));
connect(externalProcess, TQ_SIGNAL(processExited()), TQ_SLOT(processExited()));
connect(externalProcess, TQ_SIGNAL(readyReadStdout()), TQ_SLOT(readyReadStdout()));
connect(externalProcess, TQ_SIGNAL(readyReadStderr()), TQ_SLOT(readyReadStderr()));
TQFile uninstallScript("/tmp/arkollon-uninstall.sh");
if (uninstallScript.exists())

@ -101,9 +101,9 @@ Wizard::Wizard(TQWidget *parent, const char *name)
componentList->header()->hide();
//progressLabel2->setMaximumSize(32767, progressLabel2->fontMetrics().height()*2);
externalProcess = new TQProcess(this);
connect(externalProcess, SIGNAL(processExited()), SLOT(processExited()));
connect(externalProcess, SIGNAL(readyReadStdout()), SLOT(readyReadStdout()));
connect(externalProcess, SIGNAL(readyReadStderr()), SLOT(readyReadStderr()));
connect(externalProcess, TQ_SIGNAL(processExited()), TQ_SLOT(processExited()));
connect(externalProcess, TQ_SIGNAL(readyReadStdout()), TQ_SLOT(readyReadStdout()));
connect(externalProcess, TQ_SIGNAL(readyReadStderr()), TQ_SLOT(readyReadStderr()));
logDialog = new LogDialog(this);
logDialog->hide();
@ -112,8 +112,8 @@ Wizard::Wizard(TQWidget *parent, const char *name)
createActionFormats();
kdeDirProcess = new TQProcess(this);
connect(kdeDirProcess, SIGNAL(readyReadStdout()), SLOT(kdeDirReady()));
connect(kdeDirProcess, SIGNAL(processExited()), SLOT(getInstalledComponents()));
connect(kdeDirProcess, TQ_SIGNAL(readyReadStdout()), TQ_SLOT(kdeDirReady()));
connect(kdeDirProcess, TQ_SIGNAL(processExited()), TQ_SLOT(getInstalledComponents()));
kdeDirProcess->addArgument("tde-config");
kdeDirProcess->addArgument("--prefix");
if (!kdeDirProcess->start())
@ -185,8 +185,8 @@ void Wizard::getInstalledComponents()
uninstallScript.close();
installedComponentsProcess = new TQProcess(this);
connect(installedComponentsProcess, SIGNAL(readyReadStdout()), SLOT(installedComponentsReady()));
connect(installedComponentsProcess, SIGNAL(processExited()), SLOT(setup()));
connect(installedComponentsProcess, TQ_SIGNAL(readyReadStdout()), TQ_SLOT(installedComponentsReady()));
connect(installedComponentsProcess, TQ_SIGNAL(processExited()), TQ_SLOT(setup()));
installedComponentsProcess->addArgument("/bin/sh");
installedComponentsProcess->addArgument("/tmp/arkollon-uninstall.sh");
installedComponentsProcess->addArgument("--list");

@ -147,36 +147,36 @@ TorkConfigDialog::TorkConfigDialog( TQWidget *parent, const char* name, TDEConfi
static_cast<TQLabel*>(label)->setMaximumWidth( 250 );
delete list;
connect( m_usability->LongLivedPorts, SIGNAL( selectionChanged() ), this, SLOT( enableApply() ) );
connect( m_torservers->ExitNodes, SIGNAL( selectionChanged() ), this, SLOT( enableApply() ) );
connect( m_torservers->ExcludeNodes, SIGNAL( selectionChanged() ), this, SLOT( enableApply() ) );
connect( m_torservers->MapAddress, SIGNAL( selectionChanged() ), this, SLOT( enableApply() ) );
connect( m_torservers->AllowUnverifiedNodes, SIGNAL( selectionChanged() ), this, SLOT( enableApply() ) );
connect( m_firewallsproxies->ReachableAddresses, SIGNAL( selectionChanged() ), this, SLOT( enableApply() ) );
connect( m_filtertable->FilterRules, SIGNAL( selectionChanged() ), this, SLOT( enableApply() ) );
connect( m_running->SOCKSPolicy, SIGNAL( selectionChanged() ), this, SLOT( enableApply() ) );
connect( m_running->SOCKSBindAddressMany, SIGNAL( selectionChanged() ), this, SLOT( enableApply() ) );
connect( m_running->PushAdd, SIGNAL( clicked() ), this, SLOT( enableApply() ) );
connect( m_running->PushAdd2, SIGNAL( clicked() ), this, SLOT( enableApply() ) );
connect( m_myserver->kcfg_ClientOnly, SIGNAL( toggled(bool) ), this, SLOT( showServerOpts(bool) ) );
connect( m_usability->TrackHostExits, SIGNAL( selectionChanged() ), this, SLOT( enableApply() ) );
connect( m_usability->PushAdd, SIGNAL( clicked() ), this, SLOT( enableApply() ) );
connect( m_quickconfig, SIGNAL( configChanged(const int &) ), this, SLOT( showHidePages(const int &) ) );
//connect( m_usability, SIGNAL(settingsChanged()), SLOT(updateButtons()) );
connect( m_usability->LongLivedPorts, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( enableApply() ) );
connect( m_torservers->ExitNodes, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( enableApply() ) );
connect( m_torservers->ExcludeNodes, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( enableApply() ) );
connect( m_torservers->MapAddress, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( enableApply() ) );
connect( m_torservers->AllowUnverifiedNodes, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( enableApply() ) );
connect( m_firewallsproxies->ReachableAddresses, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( enableApply() ) );
connect( m_filtertable->FilterRules, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( enableApply() ) );
connect( m_running->SOCKSPolicy, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( enableApply() ) );
connect( m_running->SOCKSBindAddressMany, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( enableApply() ) );
connect( m_running->PushAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( enableApply() ) );
connect( m_running->PushAdd2, TQ_SIGNAL( clicked() ), this, TQ_SLOT( enableApply() ) );
connect( m_myserver->kcfg_ClientOnly, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( showServerOpts(bool) ) );
connect( m_usability->TrackHostExits, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( enableApply() ) );
connect( m_usability->PushAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( enableApply() ) );
connect( m_quickconfig, TQ_SIGNAL( configChanged(const int &) ), this, TQ_SLOT( showHidePages(const int &) ) );
//connect( m_usability, TQ_SIGNAL(settingsChanged()), TQ_SLOT(updateButtons()) );
// Always apply settings when OK or Apply is pressed.
//connect( this, SIGNAL(settingsChanged()), this,
// SLOT(updateCustomSettings()) );
connect( this, SIGNAL(okClicked()), this,
SLOT(updateCustomSettings()) );
connect( this, SIGNAL(applyClicked()), this,
SLOT(updateCustomSettings()) );
connect( this, SIGNAL(updateServerButton( )), parent,
SLOT(updateServerButton( )) );
connect( m_firewallsproxies, SIGNAL(uncensorSelected( bool )), parent,
SLOT(toggleServerButton( bool )) );
//connect( this, TQ_SIGNAL(settingsChanged()), this,
// TQ_SLOT(updateCustomSettings()) );
connect( this, TQ_SIGNAL(okClicked()), this,
TQ_SLOT(updateCustomSettings()) );
connect( this, TQ_SIGNAL(applyClicked()), this,
TQ_SLOT(updateCustomSettings()) );
connect( this, TQ_SIGNAL(updateServerButton( )), parent,
TQ_SLOT(updateServerButton( )) );
connect( m_firewallsproxies, TQ_SIGNAL(uncensorSelected( bool )), parent,
TQ_SLOT(toggleServerButton( bool )) );
if (TorkConfig::currentTorVersion().left(3) == "0.1"){
m_filtertable->setEnabled(false);

@ -291,8 +291,8 @@ torK::CrashHandlerWidget::CrashHandlerWidget()
static_cast<TQPushButton*>(child("email"))->setDefault( true );
connect( child( "email" ), SIGNAL(clicked()), SLOT(accept()) );
connect( child( "close" ), SIGNAL(clicked()), SLOT(reject()) );
connect( child( "email" ), TQ_SIGNAL(clicked()), TQ_SLOT(accept()) );
connect( child( "close" ), TQ_SIGNAL(clicked()), TQ_SLOT(reject()) );
setCaption( i18n("Crash Handler") );
setFixedSize( sizeHint() );

@ -80,7 +80,7 @@ void FirewallsProxies::ReachableAddresses_contextMenuRequested( TQListViewItem *
TQPopupMenu *menu = new TQPopupMenu( ReachableAddresses );
menu->clear();
menu->insertItem( "Delete Entry", this,SLOT(slotDeleteEntry()) );
menu->insertItem( "Delete Entry", this,TQ_SLOT(slotDeleteEntry()) );
menu->popup( point );
}
@ -157,7 +157,7 @@ void FirewallsProxies::Bridge_contextMenuRequested( TQListViewItem *, const TQPo
TQPopupMenu *menu = new TQPopupMenu( Bridge );
menu->clear();
menu->insertItem( "Delete Entry", this,SLOT(slotDeleteBridgesEntry()) );
menu->insertItem( "Delete Entry", this,TQ_SLOT(slotDeleteBridgesEntry()) );
menu->popup( point );
}
@ -183,8 +183,8 @@ void FirewallsProxies::slotDeleteBridgesEntry( )
void FirewallsProxies::slotGetBridges( )
{
connect( filelist, SIGNAL( completed() ), this,
SLOT( parseBridges() ) );
connect( filelist, TQ_SIGNAL( completed() ), this,
TQ_SLOT( parseBridges() ) );
filelist->openURL("https://bridges.torproject.org");
}
@ -192,8 +192,8 @@ void FirewallsProxies::slotGetBridges( )
void FirewallsProxies::parseBridges()
{
disconnect( filelist, SIGNAL( completed() ), this,
SLOT( parseBridges() ) );
disconnect( filelist, TQ_SIGNAL( completed() ), this,
TQ_SLOT( parseBridges() ) );
const DOM::HTMLCollection links = filelist->htmlDocument().all();
if (links.length() == 0){

@ -65,8 +65,8 @@ void MyHidden::createService_clicked()
if (static_cast<tork*>(this->topLevelWidget()->parentWidget())->connectedToTor()){
HidSrvWizard wizard;
wizard.setCaption( i18n( "Hidden Services Wizard" ));
connect( &wizard, SIGNAL(createService(const TQString&,const TQString&)),this->topLevelWidget()->parent(), SLOT(createService(const TQString&,const TQString& )) );
connect( &wizard, SIGNAL(addService(const TQString&,const TQString&,const TQString&,const TQString&,const TQString&,const TQString&)), SLOT(addService(const TQString&,const TQString&,const TQString&,const TQString&,const TQString&,const TQString&)) );
connect( &wizard, TQ_SIGNAL(createService(const TQString&,const TQString&)),this->topLevelWidget()->parent(), TQ_SLOT(createService(const TQString&,const TQString& )) );
connect( &wizard, TQ_SIGNAL(addService(const TQString&,const TQString&,const TQString&,const TQString&,const TQString&,const TQString&)), TQ_SLOT(addService(const TQString&,const TQString&,const TQString&,const TQString&,const TQString&,const TQString&)) );
wizard.exec();
}else{
TQString caption = i18n("Not Connected To Tor!");
@ -130,8 +130,8 @@ void MyHidden::startService_clicked()
<< "-h " << servicesList->currentItem()->text(3).section(":",0,0)
<< "-d " << servicesList->currentItem()->text(4);
connect( thttpdproc, SIGNAL(processExited(TDEProcess *)),
SLOT(thttpdprocExited(TDEProcess *)) );
connect( thttpdproc, TQ_SIGNAL(processExited(TDEProcess *)),
TQ_SLOT(thttpdprocExited(TDEProcess *)) );
thttpdproc->start(KProcIO::NotifyOnExit) ;

@ -94,7 +94,7 @@ HidSrvWizard::showPage( TQWidget *w ) //virtual
else
emit createService(TQString("%1/.tork/%2/").arg(getenv("HOME")).arg(Nick->text()), TQString("%1 %2:%3").arg(NonWebPort->text()).arg(RedirectAddress->text()).arg(RedirectPort->text()));
GatheringDetailsText->setText("Please wait while Tor attempts to create the service.");
TQTimer::singleShot( 3000, this, SLOT(checkServiceDetails()) );
TQTimer::singleShot( 3000, this, TQ_SLOT(checkServiceDetails()) );
finishButton()->setEnabled(false);
}

@ -67,12 +67,12 @@ Tork_plug_in::Tork_plug_in( TQObject* parent, const char* name )
TDEActionMenu *menu = new TDEActionMenu( i18n("Anonymity Manager"), pix,
actionCollection(), "tork_menu" );
menu->setDelayed( false );
connect( menu->popupMenu(), SIGNAL( aboutToShow() ), SLOT( showPopup() ));
connect( menu->popupMenu(), TQ_SIGNAL( aboutToShow() ), TQ_SLOT( showPopup() ));
m_paToggleTDE=new TDEAction(i18n("Anonymize TDE"),
TDEGlobal::iconLoader()->loadIconSet("tork_konqueroroff", TDEIcon::Small),
TDEShortcut(),
this, SLOT(toggleTDE()),
this, TQ_SLOT(toggleTDE()),
actionCollection(), "tork_konqueroron" );
menu->insert( m_paToggleTDE );
@ -81,14 +81,14 @@ Tork_plug_in::Tork_plug_in( TQObject* parent, const char* name )
TDEAction *m_firefox=new TDEAction(i18n("Re-Open Anonymously with Firefox"),
TDEGlobal::iconLoader()->loadIconSet("tork_firefox", TDEIcon::Small),
TDEShortcut(),
this, SLOT(openWithFirefox()),
this, TQ_SLOT(openWithFirefox()),
actionCollection(), "tork_firefox" );
menu->insert( m_firefox );
TDEAction *m_opera=new TDEAction(i18n("Re-Open Anonymously with Opera"),
TDEGlobal::iconLoader()->loadIconSet("tork_opera", TDEIcon::Small),
TDEShortcut(),
this, SLOT(openWithOpera()),
this, TQ_SLOT(openWithOpera()),
actionCollection(), "tork_opera" );
menu->insert( m_opera );

@ -36,8 +36,8 @@ KWidgetListbox::KWidgetListbox(TQWidget *parent, const char *name)
verticalHeader()->hide();
setSelectionMode(TQTable::NoSelection);
setFocusStyle(TQTable::FollowStyle);
connect(this, SIGNAL(currentChanged(int, int)),
this, SLOT(selectionChanged(int, int)));
connect(this, TQ_SIGNAL(currentChanged(int, int)),
this, TQ_SLOT(selectionChanged(int, int)));
setHScrollBarMode(TQScrollView::AlwaysOff);
setVScrollBarMode(TQScrollView::Auto);
}

@ -73,31 +73,31 @@ LikeBackBar::LikeBackBar(LikeBack *likeBack)
m_likeButton->setIconSet(likeIconSet);
m_likeButton->setTextLabel("<p>" + i18n("Send application developers a comment about something you like"));
m_likeButton->setAutoRaise(true);
connect( m_likeButton, SIGNAL(clicked()), this, SLOT(clickedLike()) );
connect( m_likeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(clickedLike()) );
layout->add(m_likeButton);
m_dislikeButton = new TQToolButton(this, "likeback_dislike_tork");
m_dislikeButton->setIconSet(dislikeIconSet);
m_dislikeButton->setTextLabel("<p>" + i18n("Send application developers a comment about something you dislike"));
m_dislikeButton->setAutoRaise(true);
connect( m_dislikeButton, SIGNAL(clicked()), this, SLOT(clickedDislike()) );
connect( m_dislikeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(clickedDislike()) );
layout->add(m_dislikeButton);
m_bugButton = new TQToolButton(this, "likeback_bug_tork");
m_bugButton->setIconSet(bugIconSet);
m_bugButton->setTextLabel("<p>" + i18n("Send application developers a comment about an improper behavior of the application"));
m_bugButton->setAutoRaise(true);
connect( m_bugButton, SIGNAL(clicked()), this, SLOT(clickedBug()) );
connect( m_bugButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(clickedBug()) );
layout->add(m_bugButton);
m_featureButton = new TQToolButton(this, "likeback_feature_tork");
m_featureButton->setIconSet(featureIconSet);
m_featureButton->setTextLabel("<p>" + i18n("Send application developers a comment about a new feature you desire"));
m_featureButton->setAutoRaise(true);
connect( m_featureButton, SIGNAL(clicked()), this, SLOT(clickedFeature()) );
connect( m_featureButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(clickedFeature()) );
layout->add(m_featureButton);
connect( &m_timer, SIGNAL(timeout()), this, SLOT(autoMove()) );
connect( &m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(autoMove()) );
LikeBack::Button buttons = likeBack->buttons();
m_likeButton->setShown( buttons & LikeBack::Like );
@ -243,7 +243,7 @@ LikeBack::LikeBack(Button buttons, bool showBarByDefault, TDEConfig *config, con
// Show the bar if that's wanted by the developer or the user:
if (d->showBar)
TQTimer::singleShot( 0, d->bar, SLOT(startTimer()) );
TQTimer::singleShot( 0, d->bar, TQ_SLOT(startTimer()) );
#if 0
disableBar();
@ -378,7 +378,7 @@ TDEAction* LikeBack::sendACommentAction(TDEActionCollection *parent)
if (d->action == 0)
d->action = new TDEAction(
i18n("&Send a Comment to Developers"), /*icon=*/"mail-message-new", /*shortcut=*/"",
this, SLOT(execCommentDialog()),
this, TQ_SLOT(execCommentDialog()),
parent, "likeback_send_a_comment"
);
@ -584,7 +584,7 @@ bool LikeBack::isDevelopmentVersion(const TQString &version)
return;
m_process = new TDEProcess();
*m_process << TQString::fromLatin1("tdecmshell") << TQString::fromLatin1("kcm_useraccount");
connect( m_process, SIGNAL(processExited(TDEProcess*)), SLOT(fetchUserEmail()) );
connect( m_process, TQ_SIGNAL(processExited(TDEProcess*)), TQ_SLOT(fetchUserEmail()) );
if (!m_process->start()) {
kdDebug() << "Couldn't start tdecmshell.." << endl;
delete m_process;
@ -717,11 +717,11 @@ LikeBackDialog::LikeBackDialog(LikeBack::Button reason, const TQString &initialC
m_showButtons = new TQCheckBox(i18n("Show comment buttons below &window titlebars"), page);
m_showButtons->setChecked(m_likeBack->userWantsToShowBar());
pageLayout->addWidget(m_showButtons);
connect( m_showButtons, SIGNAL(stateChanged(int)), this, SLOT(changeButtonBarVisible()) );
connect( m_showButtons, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(changeButtonBarVisible()) );
setButtonOK(KGuiItem(i18n("&Send Comment"), "mail-send"));
enableButtonOK(false);
connect( m_comment, SIGNAL(textChanged()), this, SLOT(commentChanged()) );
connect( m_comment, TQ_SIGNAL(textChanged()), this, TQ_SLOT(commentChanged()) );
setButtonGuiItem(Default, KGuiItem(i18n("&Email Address..."), "mail_generic"));
@ -729,7 +729,7 @@ LikeBackDialog::LikeBackDialog(LikeBack::Button reason, const TQString &initialC
TQAction *sendShortcut = new TQAction(this);
sendShortcut->setAccel(TQString("Ctrl+Return"));
connect( sendShortcut, SIGNAL(activated()), actionButton(Ok), SLOT(animateClick()) );
connect( sendShortcut, TQ_SIGNAL(activated()), actionButton(Ok), TQ_SLOT(animateClick()) );
setMainWidget(page);
}
@ -819,7 +819,7 @@ void LikeBackDialog::send()
std::cout << "http://" << m_likeBack->hostName().local8Bit() << ":" << m_likeBack->hostPort() << m_likeBack->remotePath().local8Bit() << std::endl;
std::cout << data.local8Bit() << std::endl;
connect( http, SIGNAL(requestFinished(int, bool)), this, SLOT(requestFinished(int, bool)) );
connect( http, TQ_SIGNAL(requestFinished(int, bool)), this, TQ_SLOT(requestFinished(int, bool)) );
TQHttpRequestHeader header("POST", m_likeBack->remotePath());
header.setValue("Host", m_likeBack->hostName());

@ -101,7 +101,7 @@ void MaxMin::timedBandwidthList_contextMenuRequested( TQListViewItem *, const TQ
TQPopupMenu *menu = new TQPopupMenu( timedBandwidthList );
menu->clear();
menu->insertItem( "Delete Entry", this,SLOT(slotDeleteEntry()) );
menu->insertItem( "Delete Entry", this,TQ_SLOT(slotDeleteEntry()) );
menu->popup( point );
}

@ -63,10 +63,10 @@ void MixMinionClient::send_clicked()
*mixminionproc << "printf '" << messageBody->text() <<"' | mixminion send -t " << toAddress->text()
<< " --subject '" << subject->text() << "'";
connect( mixminionproc, SIGNAL(processExited(TDEProcess *)),
SLOT(mixminionprocExited(TDEProcess *)) );
connect( mixminionproc, SIGNAL(readReady(KProcIO *)),
SLOT(receivedMixminionOutput(KProcIO *)) );
connect( mixminionproc, TQ_SIGNAL(processExited(TDEProcess *)),
TQ_SLOT(mixminionprocExited(TDEProcess *)) );
connect( mixminionproc, TQ_SIGNAL(readReady(KProcIO *)),
TQ_SLOT(receivedMixminionOutput(KProcIO *)) );
progressDialog = new KProgressDialog( this, "progress_dialog", TQString::null, "Sending Anonymous Mail Message..", false );
@ -78,7 +78,7 @@ void MixMinionClient::send_clicked()
progressDialog->setMinimumDuration( 500 );
progressDialog->show();
TQTimer* timer = new TQTimer( this );
connect( timer, SIGNAL( timeout() ), this, SLOT( slotProg() ) );
connect( timer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotProg() ) );
timer->start( 200, FALSE );

@ -150,8 +150,8 @@ FirstRunWizard::init()
*whichproc<<whichCommand;
connect( whichproc, SIGNAL(readReady(KProcIO * )),
SLOT(processWhich(KProcIO * )) );
connect( whichproc, TQ_SIGNAL(readReady(KProcIO * )),
TQ_SLOT(processWhich(KProcIO * )) );
whichproc->start(KProcIO::NotifyOnExit,TRUE);
@ -481,9 +481,9 @@ void FirstRunWizard::testTor()
delete client;
client = new TorClient(host,port);
connect( client, SIGNAL(fatalError()),this, SLOT(cannotContactTor()));
connect( client, SIGNAL(authenticationFailed()),this, SLOT(cannotContactTor()));
connect( client, SIGNAL(authenticated()),this, SLOT(contactedTor()) );
connect( client, TQ_SIGNAL(fatalError()),this, TQ_SLOT(cannotContactTor()));
connect( client, TQ_SIGNAL(authenticationFailed()),this, TQ_SLOT(cannotContactTor()));
connect( client, TQ_SIGNAL(authenticated()),this, TQ_SLOT(contactedTor()) );
client->authenticate();
}
@ -496,9 +496,9 @@ void FirstRunWizard::modifyConfs_clicked()
void FirstRunWizard::cannotContactTor()
{
disconnect( client, SIGNAL(fatalError()),this, SLOT(cannotContactTor()));
disconnect( client, SIGNAL(authenticationFailed()),this, SLOT(cannotContactTor()));
disconnect( client, SIGNAL(authenticated()),this, SLOT(contactedTor()) );
disconnect( client, TQ_SIGNAL(fatalError()),this, TQ_SLOT(cannotContactTor()));
disconnect( client, TQ_SIGNAL(authenticationFailed()),this, TQ_SLOT(cannotContactTor()));
disconnect( client, TQ_SIGNAL(authenticated()),this, TQ_SLOT(contactedTor()) );
if (client != 0L){
client->socketReadyRead();
client->deleteLater();
@ -530,8 +530,8 @@ void FirstRunWizard::cannotContactTor()
void FirstRunWizard::contactedTor()
{
disconnect( client, SIGNAL(fatalError()),this, SLOT(cannotContactTor()));
disconnect( client, SIGNAL(authenticated()),this, SLOT(contactedTor()) );
disconnect( client, TQ_SIGNAL(fatalError()),this, TQ_SLOT(cannotContactTor()));
disconnect( client, TQ_SIGNAL(authenticated()),this, TQ_SLOT(contactedTor()) );
if (client != 0L){
client->socketReadyRead();
client->deleteLater();
@ -559,7 +559,7 @@ void FirstRunWizard::contactedTor()
testTorAgain->setEnabled(true);
TorkConfig::setGenerateRandomPassword(true);
// if (!monitorRemote->isChecked())
// TQTimer::singleShot( 3000, this, SLOT(examineConfigFiles()) );
// TQTimer::singleShot( 3000, this, TQ_SLOT(examineConfigFiles()) );
}

@ -183,15 +183,15 @@ void StreamOSD::renderOSD()
TQToolTip::add( this,i18n("This displays all network activity currently being handled by Tor."));
connect( hideMonitor, SIGNAL(clicked()),
SLOT(slotHideMonitor()) );
connect( toggleTDE, SIGNAL(clicked()),
SLOT(slotToggleTDE()) );
connect( changeID, SIGNAL(clicked()),
SLOT(slotChangeID()) );
connect( hideMonitor, TQ_SIGNAL(clicked()),
TQ_SLOT(slotHideMonitor()) );
connect( toggleTDE, TQ_SIGNAL(clicked()),
TQ_SLOT(slotToggleTDE()) );
connect( changeID, TQ_SIGNAL(clicked()),
TQ_SLOT(slotChangeID()) );
// connect( toggleTDE, SIGNAL(clicked()),
// SLOT(slotToggleTDE()) );
// connect( toggleTDE, TQ_SIGNAL(clicked()),
// TQ_SLOT(slotToggleTDE()) );
infoList = new TQListView( this, "infoList" );
@ -224,7 +224,7 @@ void StreamOSD::renderOSD()
//infoList->adjustSize();
//frame->update();
connect( infoList, SIGNAL( contextMenuRequested(TQListViewItem*,const TQPoint&,int) ), this, SLOT( contextMenuRequested(TQListViewItem*,const TQPoint&,int) ) );
connect( infoList, TQ_SIGNAL( contextMenuRequested(TQListViewItem*,const TQPoint&,int) ), this, TQ_SLOT( contextMenuRequested(TQListViewItem*,const TQPoint&,int) ) );
@ -288,8 +288,8 @@ void StreamOSD::renderNonTorOSD()
TQToolTip::add( this,i18n("This displays all your system's network activity."));
connect( hideMonitor, SIGNAL(clicked()),
SLOT(slotHideMonitor()) );
connect( hideMonitor, TQ_SIGNAL(clicked()),
TQ_SLOT(slotHideMonitor()) );
infoList = new TQListView( this, "infoList" );
@ -515,7 +515,7 @@ void StreamOSD::contextMenuRequested( TQListViewItem *, const TQPoint &point, in
TQPopupMenu *menu = new TQPopupMenu( infoList );
menu->clear();
menu->insertItem( "Close Stream", this,SLOT(slotCloseStream()) );
menu->insertItem( "Close Stream", this,TQ_SLOT(slotCloseStream()) );
menu->popup( point );
}

@ -97,8 +97,8 @@ void FilterTable::FilterRules_contextMenuRequested( TQListViewItem *, const TQPo
TQPopupMenu *menu = new TQPopupMenu( FilterRules );
menu->clear();
menu->insertItem( "Delete Entry", this,SLOT(slotDeleteEntry()) );
menu->insertItem( "Toggle Entry", this,SLOT(slotToggleEntry()) );
menu->insertItem( "Delete Entry", this,TQ_SLOT(slotDeleteEntry()) );
menu->insertItem( "Toggle Entry", this,TQ_SLOT(slotToggleEntry()) );
menu->popup( point );
@ -110,8 +110,8 @@ void FilterTable::SystemFilterRules_contextMenuRequested( TQListViewItem *, cons
TQPopupMenu *menu = new TQPopupMenu( SystemFilterRules );
menu->clear();
menu->insertItem( "Delete Entry", this,SLOT(slotDeleteSystemEntry()) );
menu->insertItem( "Toggle Entry", this,SLOT(slotToggleSystemEntry()) );
menu->insertItem( "Delete Entry", this,TQ_SLOT(slotDeleteSystemEntry()) );
menu->insertItem( "Toggle Entry", this,TQ_SLOT(slotToggleSystemEntry()) );
menu->popup( point );

@ -107,16 +107,16 @@ PopupMessage::PopupMessage( TQWidget *parent, TQWidget *anchor, int timeout, con
hbox->add( new TQCheckBox( this, "showWarnings" ) );
static_cast<TQCheckBox*>(child( "showWarnings" ))->setText(TQString("%1 in Future.").arg(m_name));
static_cast<TQCheckBox*>(child( "showWarnings" ))->setChecked(TRUE);
connect( child( "showWarnings" ), SIGNAL(toggled( bool )), SLOT(toggled( bool )) );
connect( child( "showWarnings" ), TQ_SIGNAL(toggled( bool )), TQ_SLOT(toggled( bool )) );
}
hbox->addItem( new TQSpacerItem( 4, 4, TQSizePolicy::Expanding, TQSizePolicy::Preferred ) );
hbox->add( new KPushButton( KStdGuiItem::yes(), this, "yesButton" ) );
hbox->add( new KPushButton( KStdGuiItem::no(), this, "closeButton" ) );
hbox->add( new KPushButton( KStdGuiItem::ok(), this, "okButton" ) );
connect( child( "yesButton" ), SIGNAL(clicked()), SLOT(yes()) );
connect( child( "closeButton" ), SIGNAL(clicked()), SLOT(no()) );
connect( child( "okButton" ), SIGNAL(clicked()), SLOT(no()) );
connect( child( "yesButton" ), TQ_SIGNAL(clicked()), TQ_SLOT(yes()) );
connect( child( "closeButton" ), TQ_SIGNAL(clicked()), TQ_SLOT(no()) );
connect( child( "okButton" ), TQ_SIGNAL(clicked()), TQ_SLOT(no()) );
}

@ -78,7 +78,7 @@ void Running::SOCKSBindAddressMany_contextMenuRequested( TQListViewItem *, const
TQPopupMenu *menu = new TQPopupMenu( SOCKSBindAddressMany );
menu->clear();
menu->insertItem( "Delete Entry", this,SLOT(slotDeleteEntry()) );
menu->insertItem( "Delete Entry", this,TQ_SLOT(slotDeleteEntry()) );
menu->popup( point );
}
@ -103,7 +103,7 @@ void Running::SOCKSPolicy_contextMenuRequested( TQListViewItem *, const TQPoint
TQPopupMenu *menu = new TQPopupMenu( SOCKSPolicy );
menu->clear();
menu->insertItem( "Delete Entry", this,SLOT(slotDeletePolicyEntry()) );
menu->insertItem( "Delete Entry", this,TQ_SLOT(slotDeletePolicyEntry()) );
menu->popup( point );
}

@ -176,7 +176,7 @@ void MyServer::ExitPolicy_contextMenuRequested( TQListViewItem *, const TQPoint
TQPopupMenu *menu = new TQPopupMenu( ExitPolicy );
menu->clear();
menu->insertItem( "Delete Entry", this,SLOT(slotDeleteEntry()) );
menu->insertItem( "Delete Entry", this,TQ_SLOT(slotDeleteEntry()) );
menu->popup( point );
}

@ -43,14 +43,14 @@ TestPrivoxy::TestPrivoxy( )
{
// create the socket and connect various of its signals
socket = new TQSocket( this );
connect( socket, SIGNAL(connected()),
SLOT(socketConnected()) );
connect( socket, SIGNAL(connectionClosed()),
SLOT(socketConnectionClosed()) );
/* connect( socket, SIGNAL(readyRead()),
SLOT(socketReadyRead()) );*/
connect( socket, SIGNAL(error(int)),
SLOT(socketError(int)) );
connect( socket, TQ_SIGNAL(connected()),
TQ_SLOT(socketConnected()) );
connect( socket, TQ_SIGNAL(connectionClosed()),
TQ_SLOT(socketConnectionClosed()) );
/* connect( socket, TQ_SIGNAL(readyRead()),
TQ_SLOT(socketReadyRead()) );*/
connect( socket, TQ_SIGNAL(error(int)),
TQ_SLOT(socketError(int)) );
}

@ -64,8 +64,8 @@ public slots:
socket->close();
if ( socket->state() == TQSocket::Closing ) {
// We have a delayed close.
connect( socket, SIGNAL(delayedCloseFinished()),
SLOT(socketClosed()) );
connect( socket, TQ_SIGNAL(delayedCloseFinished()),
TQ_SLOT(socketClosed()) );
} else {
// The socket is closed.
socketClosed();

@ -64,14 +64,14 @@ TorClient::TorClient( const TQString &host, TQ_UINT16 port )
{
// create the socket and connect various of its signals
socket = new TQSocket( this );
connect( socket, SIGNAL(connected()),
SLOT(socketConnected()) );
connect( socket, SIGNAL(connectionClosed()),
SLOT(socketConnectionClosed()) );
connect( socket, SIGNAL(readyRead()),
SLOT(socketReadyRead()) );
connect( socket, SIGNAL(error(int)),
SLOT(socketError(int)) );
connect( socket, TQ_SIGNAL(connected()),
TQ_SLOT(socketConnected()) );
connect( socket, TQ_SIGNAL(connectionClosed()),
TQ_SLOT(socketConnectionClosed()) );
connect( socket, TQ_SIGNAL(readyRead()),
TQ_SLOT(socketReadyRead()) );
connect( socket, TQ_SIGNAL(error(int)),
TQ_SLOT(socketError(int)) );
// connect to the server
//infoText->append( tr("Trying to connect to the server\n") );

@ -172,8 +172,8 @@ private slots:
socket->close();
if ( socket->state() == TQSocket::Closing ) {
// We have a delayed close.
connect( socket, SIGNAL(delayedCloseFinished()),
SLOT(socketClosed()) );
connect( socket, TQ_SIGNAL(delayedCloseFinished()),
TQ_SLOT(socketClosed()) );
} else {
// The socket is closed.
socketClosed();

File diff suppressed because it is too large Load Diff

@ -116,7 +116,7 @@ void TorkMenu::initialize()
insertItem( SmallIcon("tork_konqueroron"), i18n( "Anonymize TDE" ), 9,9 );
connect( this, SIGNAL( aboutToShow() ), SLOT( showPopup() ));
connect( this, TQ_SIGNAL( aboutToShow() ), TQ_SLOT( showPopup() ));
}

@ -166,7 +166,7 @@ torkView::torkView(TQWidget *parent)
chart->setMinimumWidth(ChartFrame->width());
chart->setMinimumHeight(ChartFrame->height());
connect(this, SIGNAL(updateStats()), chart, SLOT(update()));
connect(this, TQ_SIGNAL(updateStats()), chart, TQ_SLOT(update()));
m_osd = new StreamOSD(this, true);
@ -568,11 +568,11 @@ void torkView::toggleAnonymizerTork(bool state)
welcomeitem->setEnabled(true);
disconnect(welcomeitem->icon, SIGNAL(leftClickedURL()), this, SIGNAL(startEverything()));
disconnect(welcomeitem->icon, SIGNAL(leftClickedURL()), this, SIGNAL(stopEverything()));
disconnect(welcomeitem->icon, TQ_SIGNAL(leftClickedURL()), this, TQ_SIGNAL(startEverything()));
disconnect(welcomeitem->icon, TQ_SIGNAL(leftClickedURL()), this, TQ_SIGNAL(stopEverything()));
if (state){
connect(welcomeitem->icon, SIGNAL(leftClickedURL()), SIGNAL(stopEverything()));
connect(welcomeitem->icon, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(stopEverything()));
welcomeheaderLabel->setText(i18n("Welcome to the Tor Network!"));
welcomeitem->setIcon("tork_stop");
welcomeitem->setDescriptionText("<qt>"+i18n("- <b>You are %1.</b><br>"
@ -594,7 +594,7 @@ void torkView::toggleAnonymizerTork(bool state)
}
}else{
connect(welcomeitem->icon, SIGNAL(leftClickedURL()), SIGNAL(startEverything()));
connect(welcomeitem->icon, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(startEverything()));
welcomeitem->setIcon("tork_pressplay");
welcomeheaderLabel->setText(i18n("Press 'Play' to get started!"));
welcomeitem->setDescriptionText("<qt>"+i18n("- <b>Press 'Play' to connect to Tor. (You can also use the toolbar icons.)</b><br>"
@ -1522,20 +1522,20 @@ void torkView::populateMenu()
KURLLabel *buttonStart = new KURLLabel(welcomeitem);
buttonStart->setPixmap(SmallIcon("application-vnd.tde.info"));
welcomeitem->insertHitWidget(0,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SIGNAL(aboutTor()));
connect(buttonStart, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(aboutTor()));
buttonStart = new KURLLabel(welcomeitem);
buttonStart->setText(i18n("What You Need To Know When Using TorK!"));
welcomeitem->insertHitWidget(1,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SIGNAL(aboutTor()));
connect(buttonStart, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(aboutTor()));
paranoidmodeicon = new KURLLabel(welcomeitem);
welcomeitem->insertHitWidget(2,paranoidmodeicon);
connect(paranoidmodeicon, SIGNAL(leftClickedURL()), SIGNAL(aboutParanoidMode()));
connect(paranoidmodeicon, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(aboutParanoidMode()));
paranoidmodetext = new KURLLabel(welcomeitem);
welcomeitem->insertHitWidget(3,paranoidmodetext);
connect(paranoidmodetext, SIGNAL(leftClickedURL()), SIGNAL(aboutParanoidMode()));
connect(paranoidmodetext, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(aboutParanoidMode()));
paranoidmodeicon->setPixmap(SmallIcon("tork_penguin"));
@ -1549,10 +1549,10 @@ void torkView::populateMenu()
welcomeitem->score->setCurrentItem(TorkConfig::quickConfigure());
connect(welcomeitem->score, SIGNAL(activated(int)), SLOT(changeQuickConfigure(int)));
connect(welcomeitem->score, TQ_SIGNAL(activated(int)), TQ_SLOT(changeQuickConfigure(int)));
Anonymizer->insertItem(welcomeitem);
connect(welcomeitem->icon, SIGNAL(leftClickedURL()), SIGNAL(startEverything()));
connect(welcomeitem->icon, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(startEverything()));
TQLabel *headerLabel;
@ -1586,15 +1586,15 @@ void torkView::populateMenu()
buttonStart = new KURLLabel(firefoxitem);
buttonStart->setPixmap(SmallIcon("application-vnd.tde.info"));
firefoxitem->insertHitWidget(0,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SLOT(downloadTorButton()));
connect(buttonStart, TQ_SIGNAL(leftClickedURL()), TQ_SLOT(downloadTorButton()));
buttonStart = new KURLLabel(firefoxitem);
buttonStart->setText(i18n("Install TorButton First (Recommended)"));
firefoxitem->insertHitWidget(1,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SLOT(downloadTorButton()));
connect(buttonStart, TQ_SIGNAL(leftClickedURL()), TQ_SLOT(downloadTorButton()));
Anonymizer->insertItem(firefoxitem);
connect(firefoxitem->icon, SIGNAL(leftClickedURL()), SLOT(anonymousFirefox()));
connect(firefoxitem->icon, TQ_SIGNAL(leftClickedURL()), TQ_SLOT(anonymousFirefox()));
}
//Kopete
#endif
@ -1627,32 +1627,32 @@ void torkView::populateMenu()
// mixminionitem->score->setHidden(false);
// mixminionitem->score->insertStringList(shellsAvailable);
// mixminionitem->score->setPalette(TQPalette(TQt::white,TQt::white));
// connect(mixminionitem->score, SIGNAL(activated(int)),mixminionitem,
// SLOT(changeTerminalUrl(int)));
// connect(mixminionitem->score, TQ_SIGNAL(activated(int)),mixminionitem,
// TQ_SLOT(changeTerminalUrl(int)));
buttonStart = new KURLLabel(mixminionitem);
buttonStart->setPixmap(SmallIcon("application-vnd.tde.info"));
mixminionitem->insertHitWidget(0,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SLOT(downloadMixminion()));
connect(buttonStart, TQ_SIGNAL(leftClickedURL()), TQ_SLOT(downloadMixminion()));
buttonStart = new KURLLabel(mixminionitem);
buttonStart->setText(i18n("Install Mixminion"));
mixminionitem->insertHitWidget(1,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SLOT(downloadMixminion()));
connect(buttonStart, TQ_SIGNAL(leftClickedURL()), TQ_SLOT(downloadMixminion()));
buttonStart = new KURLLabel(mixminionitem);
buttonStart->setPixmap(SmallIcon("konqueror"));
mixminionitem->insertHitWidget(2,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SIGNAL(mixminionHome()));
connect(buttonStart, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(mixminionHome()));
buttonStart = new KURLLabel(mixminionitem);
buttonStart->setText(i18n("Visit the Mixminion Project page."));
mixminionitem->insertHitWidget(3,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SIGNAL(mixminionHome()));
connect(buttonStart, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(mixminionHome()));
Anonymizer->insertItem(mixminionitem);
connect(mixminionitem->icon, SIGNAL(leftClickedURL()), SLOT(sendAnonymousEmail()));
connect(mixminionitem->icon, TQ_SIGNAL(leftClickedURL()), TQ_SLOT(sendAnonymousEmail()));
konqitem=0L;
//Konqueror
@ -1684,25 +1684,25 @@ void torkView::populateMenu()
buttonStart = new KURLLabel(konqitem);
buttonStart->setPixmap(SmallIcon("configure"));
konqitem->insertHitWidget(0,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SIGNAL(showMyKonqueror()));
connect(buttonStart, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(showMyKonqueror()));
buttonStart = new KURLLabel(konqitem);
buttonStart->setText(i18n("Configure Anonymous Konqueror"));
konqitem->insertHitWidget(1,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SIGNAL(showMyKonqueror()));
connect(buttonStart, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(showMyKonqueror()));
configurePriv = new KURLLabel(konqitem);
configurePriv->setPixmap(SmallIcon("configure"));
konqitem->insertHitWidget(2,configurePriv);
connect(configurePriv, SIGNAL(leftClickedURL()), SIGNAL(configurePrivoxy()));
connect(configurePriv, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(configurePrivoxy()));
configurePrivText = new KURLLabel(konqitem);
configurePrivText->setText(i18n("Configure Privoxy"));
konqitem->insertHitWidget(3,configurePrivText);
connect(configurePrivText, SIGNAL(leftClickedURL()), SIGNAL(configurePrivoxy()));
connect(configurePrivText, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(configurePrivoxy()));
Anonymizer->insertItem(konqitem);
connect(konqitem->icon, SIGNAL(leftClickedURL()), SIGNAL(konqWithTor()));
connect(konqitem->icon, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(konqWithTor()));
}
#endif
@ -1730,7 +1730,7 @@ void torkView::populateMenu()
)+"</qt>");
operaitem->icon->setURL("opera");
Anonymizer->insertItem(operaitem);
connect(operaitem->icon, SIGNAL(leftClickedURL(const TQString&)), SLOT(anonymizedOpera(const TQString&)));
connect(operaitem->icon, TQ_SIGNAL(leftClickedURL(const TQString&)), TQ_SLOT(anonymizedOpera(const TQString&)));
}
#endif
@ -1754,15 +1754,15 @@ void torkView::populateMenu()
buttonStart = new KURLLabel(hiddenservicesitem);
buttonStart->setPixmap(SmallIcon("konqueror"));
hiddenservicesitem->insertHitWidget(0,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SIGNAL(hiddenServices()));
connect(buttonStart, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(hiddenServices()));
buttonStart = new KURLLabel(hiddenservicesitem);
buttonStart->setText(i18n("Search Hidden Services"));
hiddenservicesitem->insertHitWidget(1,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SIGNAL(hiddenServices()));
connect(buttonStart, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(hiddenServices()));
Anonymizer->insertItem(hiddenservicesitem);
connect(hiddenservicesitem->icon, SIGNAL(leftClickedURL()), SIGNAL(showMyHiddenServices()));
connect(hiddenservicesitem->icon, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(showMyHiddenServices()));
//Kopete
@ -1787,7 +1787,7 @@ void torkView::populateMenu()
)+"</qt>");
kopeteitem->icon->setURL("kopete --caption 'Anonymous IM Session - Launched From TorK'");
Anonymizer->insertItem(kopeteitem);
connect(kopeteitem->icon, SIGNAL(leftClickedURL(const TQString&)), SLOT(torify(const TQString&)));
connect(kopeteitem->icon, TQ_SIGNAL(leftClickedURL(const TQString&)), TQ_SLOT(torify(const TQString&)));
}
#endif
//Gaim
@ -1811,7 +1811,7 @@ void torkView::populateMenu()
)+"</qt>");
gaimitem->icon->setURL("gaim");
Anonymizer->insertItem(gaimitem);
connect(gaimitem->icon, SIGNAL(leftClickedURL(const TQString&)), SLOT(torify(const TQString&)));
connect(gaimitem->icon, TQ_SIGNAL(leftClickedURL(const TQString&)), TQ_SLOT(torify(const TQString&)));
}
#endif
//Pidgin
@ -1836,7 +1836,7 @@ void torkView::populateMenu()
)+"</qt>");
pidginitem->icon->setURL("pidgin");
Anonymizer->insertItem(pidginitem);
connect(pidginitem->icon, SIGNAL(leftClickedURL(const TQString&)), SLOT(torify(const TQString&)));
connect(pidginitem->icon, TQ_SIGNAL(leftClickedURL(const TQString&)), TQ_SLOT(torify(const TQString&)));
}
#endif
//Gaim
@ -1862,7 +1862,7 @@ void torkView::populateMenu()
)+"</qt>");
konversationitem->icon->setURL("konversation");
Anonymizer->insertItem(konversationitem);
connect(konversationitem->icon, SIGNAL(leftClickedURL(const TQString&)), SLOT(torify(const TQString&)));
connect(konversationitem->icon, TQ_SIGNAL(leftClickedURL(const TQString&)), TQ_SLOT(torify(const TQString&)));
}
#endif
//KSIRC
@ -1888,7 +1888,7 @@ void torkView::populateMenu()
ksircitem->icon->setURL("ksirc --caption 'Anonymous IRC Shell - Launched From TorK'");
Anonymizer->insertItem(ksircitem);
connect(ksircitem->icon, SIGNAL(leftClickedURL(const TQString&)), SLOT(torify(const TQString&)));
connect(ksircitem->icon, TQ_SIGNAL(leftClickedURL(const TQString&)), TQ_SLOT(torify(const TQString&)));
}
#endif
@ -1936,12 +1936,12 @@ void torkView::populateMenu()
buttonStart = new KURLLabel(sshitem);
buttonStart->setPixmap(SmallIcon("help"));
sshitem->insertHitWidget(0,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SIGNAL(aboutTorify()));
connect(buttonStart, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(aboutTorify()));
buttonStart = new KURLLabel(sshitem);
buttonStart->setText(i18n("How can I be sure this is working?"));
sshitem->insertHitWidget(1,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SIGNAL(aboutTorify()));
connect(buttonStart, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(aboutTorify()));
sshitem->shellTitles["konsole"] = " --caption 'Anonymous SSH Shell - Launched From TorK'";
sshitem->shellTitles["yakuake"] = " --caption 'Anonymous SSH Shell - Launched From TorK'";
@ -1954,10 +1954,10 @@ void torkView::populateMenu()
sshitem->score->setHidden(false);
sshitem->score->insertStringList(shellsAvailable);
sshitem->score->setPalette(TQPalette(TQt::white,TQt::white));
connect(sshitem->score, SIGNAL(activated(int)),sshitem, SLOT(changeTerminalUrl(int)));
connect(sshitem->score, TQ_SIGNAL(activated(int)),sshitem, TQ_SLOT(changeTerminalUrl(int)));
Anonymizer->insertItem(sshitem);
connect(sshitem->icon, SIGNAL(leftClickedURL(const TQString&)), SLOT(torify(const TQString&)));
connect(sshitem->icon, TQ_SIGNAL(leftClickedURL(const TQString&)), TQ_SLOT(torify(const TQString&)));
}
#endif
//Telnet
@ -1986,12 +1986,12 @@ void torkView::populateMenu()
buttonStart = new KURLLabel(telnetitem);
buttonStart->setPixmap(SmallIcon("help"));
telnetitem->insertHitWidget(0,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SIGNAL(riskySession()));
connect(buttonStart, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(riskySession()));
buttonStart = new KURLLabel(telnetitem);
buttonStart->setText(i18n("Why is anonymous telnet risky?"));
telnetitem->insertHitWidget(1,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SIGNAL(riskySession()));
connect(buttonStart, TQ_SIGNAL(leftClickedURL()), TQ_SIGNAL(riskySession()));
telnetitem->shellTitles["konsole"] = " --caption 'Anonymous Telnet Session - Launched From TorK'";
telnetitem->shellTitles["yakuake"] = " --caption 'Anonymous Telnet Session - Launched From TorK'";
@ -2004,10 +2004,10 @@ void torkView::populateMenu()
telnetitem->score->setHidden(false);
telnetitem->score->insertStringList(shellsAvailable);
telnetitem->score->setPalette(TQPalette(TQt::white,TQt::white));
connect(telnetitem->score, SIGNAL(activated(int)),telnetitem, SLOT(changeTerminalUrl(int)));
connect(telnetitem->score, TQ_SIGNAL(activated(int)),telnetitem, TQ_SLOT(changeTerminalUrl(int)));
Anonymizer->insertItem(telnetitem);
connect(telnetitem->icon, SIGNAL(leftClickedURL(const TQString&)), SLOT(torify(const TQString&)));
connect(telnetitem->icon, TQ_SIGNAL(leftClickedURL(const TQString&)), TQ_SLOT(torify(const TQString&)));
}
//GPG
#endif
@ -2048,10 +2048,10 @@ void torkView::populateMenu()
gpgitem->score->setHidden(false);
gpgitem->score->insertStringList(hkpShellsAvailable);
gpgitem->score->setPalette(TQPalette(TQt::white,TQt::white));
connect(gpgitem->score, SIGNAL(activated(int)),gpgitem, SLOT(changeTerminalUrl(int)));
connect(gpgitem->score, TQ_SIGNAL(activated(int)),gpgitem, TQ_SLOT(changeTerminalUrl(int)));
Anonymizer->insertItem(gpgitem);
connect(gpgitem->icon, SIGNAL(leftClickedURL(const TQString&)), SLOT(torify(const TQString&)));
connect(gpgitem->icon, TQ_SIGNAL(leftClickedURL(const TQString&)), TQ_SLOT(torify(const TQString&)));
}
#endif
//All Purpose Shell
@ -2082,7 +2082,7 @@ void torkView::populateMenu()
Anonymizer->insertItem(allpurposeitem);
connect(allpurposeitem->icon, SIGNAL(leftClickedURL()), SLOT(privoxiedBash()));
connect(allpurposeitem->icon, TQ_SIGNAL(leftClickedURL()), TQ_SLOT(privoxiedBash()));
}
#endif

@ -54,8 +54,8 @@ void torkview_base::init()
serverFilter->setSearchColumns(tmp);
clearButton->setIconSet(SmallIconSet("locationbar_erase"));
connect(clearButton, SIGNAL( clicked() ),
serverFilter, SLOT(clear()) );
connect(clearButton, TQ_SIGNAL( clicked() ),
serverFilter, TQ_SLOT(clear()) );
serverList->addColumn( kapp->iconLoader()->loadIconSet("tork_torsmall",
TDEIcon::Small),"", 24 );
@ -145,11 +145,11 @@ void torkview_base::streamList_contextMenuRequested( TQListViewItem *, const TQP
menu->clear();
if (streamList->childCount() > 0)
menu->insertItem( "Close Connection", this,SLOT(slotCloseStream()) );
menu->insertItem( "Close Connection", this,TQ_SLOT(slotCloseStream()) );
if (!m_LeaveStreamsUnattached)
menu->insertItem( "Let Me Drag Connections To Circuits Myself", this,SLOT(slotAttachStreams()) );
menu->insertItem( "Let Me Drag Connections To Circuits Myself", this,TQ_SLOT(slotAttachStreams()) );
else
menu->insertItem( "Attach Connections To Circuits Automatically", this,SLOT(slotAttachStreams()) );
menu->insertItem( "Attach Connections To Circuits Automatically", this,TQ_SLOT(slotAttachStreams()) );
menu->popup( point );
@ -185,7 +185,7 @@ void torkview_base::circuitList_contextMenuRequested( TQListViewItem *, const TQ
TQPopupMenu *menu = new TQPopupMenu( circuitList );
menu->clear();
menu->insertItem( "Close Circuit", this,SLOT(slotCloseCircuit()) );
menu->insertItem( "Close Circuit", this,TQ_SLOT(slotCloseCircuit()) );
menu->popup( point );
}
@ -218,21 +218,21 @@ void torkview_base::serverList_contextMenuRequested( TQListViewItem *, const TQP
menu->clear();
menu->insertItem( i18n("For This Session Only"), m_ThisSession );
menu->insertItem( i18n("From Now On"), m_ThisPerm );
menu->insertItem( "Add to My Family", this, SLOT(slotAddToFamily()) );
menu->insertItem( "Add to My Family", this, TQ_SLOT(slotAddToFamily()) );
m_ThisSession->insertItem( i18n("Always Use Server As An Exit"), this,
SLOT(slotAddSessionStrictExitNodes()) );
m_ThisSession->insertItem( i18n("Try To Use Server As an Exit"), this, SLOT(slotAddSessionExitNodes()) );
m_ThisSession->insertItem( i18n("Never Use Server At All"), this, SLOT(slotAddSessionExcludeNodes()) );
m_ThisSession->insertItem( i18n("Never Use Country At All"), this, SLOT(slotAddSessionExcludeCountry()) );
TQ_SLOT(slotAddSessionStrictExitNodes()) );
m_ThisSession->insertItem( i18n("Try To Use Server As an Exit"), this, TQ_SLOT(slotAddSessionExitNodes()) );
m_ThisSession->insertItem( i18n("Never Use Server At All"), this, TQ_SLOT(slotAddSessionExcludeNodes()) );
m_ThisSession->insertItem( i18n("Never Use Country At All"), this, TQ_SLOT(slotAddSessionExcludeCountry()) );
m_ThisPerm->insertItem( i18n("Always Use Server As An Exit"), this, SLOT(slotAddPermStrictExitNodes()) );
m_ThisPerm->insertItem( i18n("Try To Use Server As an Exit"), this, SLOT(slotAddPermExitNodes()) );
m_ThisPerm->insertItem( i18n("Never Use Server At All"), this, SLOT(slotAddPermExcludeNodes()) );
m_ThisPerm->insertItem( i18n("Never Use Country At All"), this, SLOT(slotAddPermExcludeCountry()) );
m_ThisPerm->insertItem( i18n("Always Use Server As An Exit"), this, TQ_SLOT(slotAddPermStrictExitNodes()) );
m_ThisPerm->insertItem( i18n("Try To Use Server As an Exit"), this, TQ_SLOT(slotAddPermExitNodes()) );
m_ThisPerm->insertItem( i18n("Never Use Server At All"), this, TQ_SLOT(slotAddPermExcludeNodes()) );
m_ThisPerm->insertItem( i18n("Never Use Country At All"), this, TQ_SLOT(slotAddPermExcludeCountry()) );
menu->insertSeparator();
menu->insertItem( "Reset Session Settings", this, SLOT(slotClearNodes()) );
menu->insertItem( "Reset Session Settings", this, TQ_SLOT(slotClearNodes()) );
menu->popup( point );
}
@ -566,9 +566,9 @@ void torkview_base::infoList_contextMenuRequested( TQListViewItem *, const TQPoi
TQPopupMenu *menu = new TQPopupMenu( infoList );
menu->clear();
menu->insertItem( SmallIconSet("copy"), "Copy", this, SLOT(copyLogLines()) );
menu->insertItem( SmallIconSet("copy"), "Copy", this, TQ_SLOT(copyLogLines()) );
menu->insertSeparator();
menu->insertItem( "Select All", this, SLOT(selectAllLogLines()) );
menu->insertItem( "Select All", this, TQ_SLOT(selectAllLogLines()) );
menu->popup( point );
}
@ -580,7 +580,7 @@ void torkview_base::TorTraffic_contextMenuRequested( TQListViewItem *, const TQP
TQPopupMenu *menu = new TQPopupMenu( TorTraffic );
menu->clear();
menu->insertItem( SmallIconSet("help"), "Resolve Hostname/Address", this, SLOT(queryHostName()) );
menu->insertItem( SmallIconSet("help"), "Resolve Hostname/Address", this, TQ_SLOT(queryHostName()) );
menu->popup( point );
}
@ -638,7 +638,7 @@ void torkview_base::NonTorTraffic_contextMenuRequested( TQListViewItem *, const
TQPopupMenu *menu = new TQPopupMenu( NonTorTraffic );
menu->clear();
menu->insertItem( SmallIconSet("help"), "Resolve Hostname/Address", this, SLOT(queryHostName()) );
menu->insertItem( SmallIconSet("help"), "Resolve Hostname/Address", this, TQ_SLOT(queryHostName()) );
menu->popup( point );
}

@ -199,7 +199,7 @@ void TorServers::MapAddress_contextMenuRequested( TQListViewItem *, const TQPoin
TQPopupMenu *menu = new TQPopupMenu( MapAddress );
menu->clear();
menu->insertItem( "Delete Entry", this,SLOT(slotDeleteEntry()) );
menu->insertItem( "Delete Entry", this,TQ_SLOT(slotDeleteEntry()) );
menu->popup( point );
}

@ -54,8 +54,8 @@ TrayHoverPopup::TrayHoverPopup(const TQPixmap & pix,TQWidget *parent, const char
{
setTimeout(0);
setAutoDelete(false);
connect(&hover_timer,SIGNAL(timeout()),this,SLOT(onHoverTimeout()));
connect(&show_timer,SIGNAL(timeout()),this,SLOT(onShowTimeout()));
connect(&hover_timer,TQ_SIGNAL(timeout()),this,TQ_SLOT(onHoverTimeout()));
connect(&show_timer,TQ_SIGNAL(timeout()),this,TQ_SLOT(onShowTimeout()));
create();
setPalette(TQToolTip::palette());
setLineWidth(1);

@ -68,10 +68,10 @@ TrayIcon::TrayIcon( tork *parent, const char *name)
setAcceptDrops( TRUE );
m_hover_popup = new TrayHoverPopup(m_kt_pix,this);
connect(this,SIGNAL(quitSelected()),kapp,SLOT(quit()));
connect(this,TQ_SIGNAL(quitSelected()),kapp,TQ_SLOT(quit()));
connect(this->contextMenu(),SIGNAL(aboutToShow()),m_hover_popup,SLOT(contextMenuAboutToShow()));
connect(this->contextMenu(),SIGNAL(aboutToHide()),m_hover_popup,SLOT(contextMenuAboutToHide()));
connect(this->contextMenu(),TQ_SIGNAL(aboutToShow()),m_hover_popup,TQ_SLOT(contextMenuAboutToShow()));
connect(this->contextMenu(),TQ_SIGNAL(aboutToHide()),m_hover_popup,TQ_SLOT(contextMenuAboutToHide()));
}
TrayIcon::~TrayIcon()
@ -185,7 +185,7 @@ SetMaxRate::SetMaxRate( tork *parent, const char *name):TDEPopupMenu(parent, nam
m_parent = parent;
m_rate = TorkConfig::bandwidthRate();
makeMenu();
connect(this,SIGNAL(activated(int)),this,SLOT(rateSelected(int)));
connect(this,TQ_SIGNAL(activated(int)),this,TQ_SLOT(rateSelected(int)));
}
void SetMaxRate::makeMenu()
{

@ -271,7 +271,7 @@ void TorkUpdate::downloadComponent(TQString component, TQString version, TQStrin
*arkollonproc << command;
connect( arkollonproc, SIGNAL(processExited(TDEProcess *)), SLOT(torkInstallationExited(TDEProcess *)) );
connect( arkollonproc, TQ_SIGNAL(processExited(TDEProcess *)), TQ_SLOT(torkInstallationExited(TDEProcess *)) );
arkollonproc->start();
}
}
@ -409,11 +409,11 @@ void TorkUpdate::startProgressDialog( const TQString & text )
progressDialog->setMinimumDuration( 500 );
progressDialog->show();
connect( progressDialog, SIGNAL( cancelClicked() ), this,
SLOT( updateCanceled() ) );
connect( progressDialog, TQ_SIGNAL( cancelClicked() ), this,
TQ_SLOT( updateCanceled() ) );
timer = new TQTimer( this );
connect( timer, SIGNAL( timeout() ), this, SLOT( slotProg() ) );
connect( timer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotProg() ) );
timer->start( 200, FALSE );
}
@ -443,7 +443,7 @@ TorkUpdate::checkInternet() //SLOT
m_url.setHost( "prdownloads.sourceforge.net" );
if ( !m_url.port() ) m_url.setPort( 80 );
connect( &m_resolver, SIGNAL( finished( KResolverResults ) ), SLOT( resolved( KResolverResults ) ) );
connect( &m_resolver, TQ_SIGNAL( finished( KResolverResults ) ), TQ_SLOT( resolved( KResolverResults ) ) );
connectToHost();
}
@ -457,7 +457,7 @@ TorkUpdate::connectToHost() //SLOT
void
TorkUpdate::resolved( KResolverResults result) // SLOT
TorkUpdate::resolved( KResolverResults result) //SLOT
{
if ((!( result.error() != KResolver::NoError || result.isEmpty() ))
/*&& tork_box->isChecked()*/)
@ -471,8 +471,8 @@ TorkUpdate::resolved( KResolverResults result) // SLOT
void TorkUpdate::getLatestVersionFromSF(KURL url)
{
connect( filelist, SIGNAL( completed() ), this,
SLOT( parseSFPage() ) );
connect( filelist, TQ_SIGNAL( completed() ), this,
TQ_SLOT( parseSFPage() ) );
filelist->setStatusMessagesEnabled(false);
filelist->openURL(url);
@ -486,8 +486,8 @@ void TorkUpdate::getLatestVersionFromSFHack(KURL url)
if (!filelist)
filelist = new TDEHTMLPart();
connect( filelist, SIGNAL( completed() ), this,
SLOT( parseSFPageHack() ) );
connect( filelist, TQ_SIGNAL( completed() ), this,
TQ_SLOT( parseSFPageHack() ) );
filelist->setStatusMessagesEnabled(false);
filelist->openURL(url);
@ -518,8 +518,8 @@ void TorkUpdate::parseSFPage()
return;
}
disconnect( filelist, SIGNAL( completed() ), this,
SLOT( parseSFPage() ) );
disconnect( filelist, TQ_SIGNAL( completed() ), this,
TQ_SLOT( parseSFPage() ) );
for (unsigned int j=0; j != links.length(); j++ ){
const DOM::Node linkNode = links.item( j );
@ -550,8 +550,8 @@ void TorkUpdate::parseSFPageHack()
return;
}
disconnect( filelist, SIGNAL( completed() ), this,
SLOT( parseSFPageHack() ) );
disconnect( filelist, TQ_SIGNAL( completed() ), this,
TQ_SLOT( parseSFPageHack() ) );
for (unsigned int j=0; j != links.length(); j++ ){
const DOM::Node linkNode = links.item( j );

@ -32,7 +32,7 @@ namespace kt
ExitJobOperation::ExitJobOperation(TDEIO::Job* j)
{
connect(j,SIGNAL(result(TDEIO::Job*)),this,SLOT(onResult( TDEIO::Job* )));
connect(j,TQ_SIGNAL(result(TDEIO::Job*)),this,TQ_SLOT(onResult( TDEIO::Job* )));
}
ExitJobOperation::~ExitJobOperation()

@ -37,11 +37,11 @@ namespace bt
sock->enableWrite(true);
sock->setTimeout(30000);
sock->setBlocking(false);
connect(sock,SIGNAL(readyRead()),this,SLOT(onReadyRead()));
connect(sock,SIGNAL(gotError(int)),this,SLOT(onError(int )));
connect(sock,SIGNAL(timedOut()),this,SLOT(onTimeout()));
connect(sock,SIGNAL(connected(const KResolverEntry&)),
this, SLOT(onConnect( const KResolverEntry& )));
connect(sock,TQ_SIGNAL(readyRead()),this,TQ_SLOT(onReadyRead()));
connect(sock,TQ_SIGNAL(gotError(int)),this,TQ_SLOT(onError(int )));
connect(sock,TQ_SIGNAL(timedOut()),this,TQ_SLOT(onTimeout()));
connect(sock,TQ_SIGNAL(connected(const KResolverEntry&)),
this, TQ_SLOT(onConnect( const KResolverEntry& )));
}

@ -49,8 +49,8 @@ namespace kt
UPnPMCastSocket::UPnPMCastSocket(bool verbose) : verbose(verbose)
{
routers.setAutoDelete(true);
TQObject::connect(this,SIGNAL(readyRead()),this,SLOT(onReadyRead()));
TQObject::connect(this,SIGNAL(gotError(int)),this,SLOT(onError(int)));
TQObject::connect(this,TQ_SIGNAL(readyRead()),this,TQ_SLOT(onReadyRead()));
TQObject::connect(this,TQ_SIGNAL(gotError(int)),this,TQ_SLOT(onError(int)));
setAddressReuseable(true);
setFamily(KNetwork::KResolver::IPv4Family);
setBlocking(true);
@ -69,8 +69,8 @@ namespace kt
UPnPMCastSocket::~UPnPMCastSocket()
{
leaveUPnPMCastGroup();
TQObject::disconnect(this,SIGNAL(readyRead()),this,SLOT(onReadyRead()));
TQObject::disconnect(this,SIGNAL(gotError(int)),this,SLOT(onError(int)));
TQObject::disconnect(this,TQ_SIGNAL(readyRead()),this,TQ_SLOT(onReadyRead()));
TQObject::disconnect(this,TQ_SIGNAL(gotError(int)),this,TQ_SLOT(onError(int)));
}
void UPnPMCastSocket::discover()
@ -144,8 +144,8 @@ namespace kt
UPnPRouter* r = parseResponse(p.data());
if (r)
{
TQObject::connect(r,SIGNAL(xmlFileDownloaded( UPnPRouter*, bool )),
this,SLOT(onXmlFileDownloaded( UPnPRouter*, bool )));
TQObject::connect(r,TQ_SIGNAL(xmlFileDownloaded( UPnPRouter*, bool )),
this,TQ_SLOT(onXmlFileDownloaded( UPnPRouter*, bool )));
// download it's xml file
r->downloadXMLFile();
@ -271,7 +271,7 @@ namespace kt
{
UPnPRouter* r = new UPnPRouter(server,location);
// download it's xml file
TQObject::connect(r,SIGNAL(xmlFileDownloaded( UPnPRouter*, bool )),this,SLOT(onXmlFileDownloaded( UPnPRouter*, bool )));
TQObject::connect(r,TQ_SIGNAL(xmlFileDownloaded( UPnPRouter*, bool )),this,TQ_SLOT(onXmlFileDownloaded( UPnPRouter*, bool )));
r->downloadXMLFile();
}
}

@ -174,7 +174,7 @@ namespace kt
{
// downlaod XML description into a temporary file in /tmp
TDEIO::Job* job = TDEIO::file_copy(location,tmp_file,-1,true,false,false);
connect(job,SIGNAL(result(TDEIO::Job *)),this,SLOT(downloadFinished( TDEIO::Job* )));
connect(job,TQ_SIGNAL(result(TDEIO::Job *)),this,TQ_SLOT(downloadFinished( TDEIO::Job* )));
}
void UPnPRouter::debugPrintData()
@ -390,12 +390,12 @@ namespace kt
HTTPRequest* r = new HTTPRequest(http_hdr,query,location.host(),location.port(),verbose, fwd);
connect(r,SIGNAL(replyError(bt::HTTPRequest* ,const TQString& ,bool)),
this,SLOT(onReplyError(bt::HTTPRequest* ,const TQString& ,bool)));
connect(r,SIGNAL(replyOK(bt::HTTPRequest* ,const TQString& ,bool)),
this,SLOT(onReplyOK(bt::HTTPRequest* ,const TQString& ,bool)));
connect(r,SIGNAL(error(bt::HTTPRequest*, bool )),
this,SLOT(onError(bt::HTTPRequest*, bool )));
connect(r,TQ_SIGNAL(replyError(bt::HTTPRequest* ,const TQString& ,bool)),
this,TQ_SLOT(onReplyError(bt::HTTPRequest* ,const TQString& ,bool)));
connect(r,TQ_SIGNAL(replyOK(bt::HTTPRequest* ,const TQString& ,bool)),
this,TQ_SLOT(onReplyOK(bt::HTTPRequest* ,const TQString& ,bool)));
connect(r,TQ_SIGNAL(error(bt::HTTPRequest*, bool )),
this,TQ_SLOT(onError(bt::HTTPRequest*, bool )));
r->start();
if (!at_exit)
active_reqs.append(r);
@ -471,7 +471,7 @@ namespace bt
WaitJob::WaitJob(Uint32 millis) : TDEIO::Job(false)
{
connect(&timer,SIGNAL(timeout()),this,SLOT(timerDone()));
connect(&timer,TQ_SIGNAL(timeout()),this,TQ_SLOT(timerDone()));
timer.start(millis,true);
}
@ -495,8 +495,8 @@ namespace bt
void WaitJob::addExitOperation(kt::ExitOperation* op)
{
exit_ops.append(op);
connect(op,SIGNAL(operationFinished( kt::ExitOperation* )),
this,SLOT(operationFinished( kt::ExitOperation* )));
connect(op,TQ_SIGNAL(operationFinished( kt::ExitOperation* )),
this,TQ_SLOT(operationFinished( kt::ExitOperation* )));
}
void WaitJob::operationFinished(kt::ExitOperation* op)

@ -44,8 +44,8 @@ UPnPManager* UPnPManager::manager = 0;
: TQWidget(parent, name)
{
sock = new UPnPMCastSocket();
connect(sock,SIGNAL(discovered( kt::UPnPRouter* )),
this,SLOT(discovered( kt::UPnPRouter* )));
connect(sock,TQ_SIGNAL(discovered( kt::UPnPRouter* )),
this,TQ_SLOT(discovered( kt::UPnPRouter* )));
discover();
}
@ -84,15 +84,15 @@ UPnPManager* UPnPManager::manager = 0;
TQValueList<kt::UPnPRouter*>::iterator r = discoveredRouters.begin();
while (r != discoveredRouters.end())
{
disconnect((*r),SIGNAL(replyError(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )),
this,SLOT(onReplyError(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )));
disconnect((*r),SIGNAL(replyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )),
this,SLOT(onReplyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )));
connect((*r),SIGNAL(replyError(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )),
this,SLOT(onReplyError(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )));
connect((*r),SIGNAL(replyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )),
this,SLOT(onReplyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )));
disconnect((*r),TQ_SIGNAL(replyError(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )),
this,TQ_SLOT(onReplyError(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )));
disconnect((*r),TQ_SIGNAL(replyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )),
this,TQ_SLOT(onReplyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )));
connect((*r),TQ_SIGNAL(replyError(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )),
this,TQ_SLOT(onReplyError(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )));
connect((*r),TQ_SIGNAL(replyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )),
this,TQ_SLOT(onReplyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )));
for (net::ForwardPortList::ConstIterator i = forwardPorts.begin();
i != forwardPorts.end();i++)

@ -79,7 +79,7 @@ void Usability::TrackHostExits_contextMenuRequested( TQListViewItem *, const TQP
TQPopupMenu *menu = new TQPopupMenu( TrackHostExits );
menu->clear();
menu->insertItem( "Delete Entry", this,SLOT(slotDeleteEntry()) );
menu->insertItem( "Delete Entry", this,TQ_SLOT(slotDeleteEntry()) );
menu->popup( point );
}

Loading…
Cancel
Save