Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/12/head
Michele Calgaro 5 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")); icon.convertFromImage(qembed_findImage("misc"));
externalProcess = new TQProcess(this); externalProcess = new TQProcess(this);
connect(externalProcess, SIGNAL(processExited()), SLOT(processExited())); connect(externalProcess, TQ_SIGNAL(processExited()), TQ_SLOT(processExited()));
connect(externalProcess, SIGNAL(readyReadStdout()), SLOT(readyReadStdout())); connect(externalProcess, TQ_SIGNAL(readyReadStdout()), TQ_SLOT(readyReadStdout()));
connect(externalProcess, SIGNAL(readyReadStderr()), SLOT(readyReadStderr())); connect(externalProcess, TQ_SIGNAL(readyReadStderr()), TQ_SLOT(readyReadStderr()));
TQFile uninstallScript("/tmp/arkollon-uninstall.sh"); TQFile uninstallScript("/tmp/arkollon-uninstall.sh");
if (uninstallScript.exists()) if (uninstallScript.exists())

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

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

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

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

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

@ -94,7 +94,7 @@ HidSrvWizard::showPage( TQWidget *w ) //virtual
else 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())); 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."); 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); 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, TDEActionMenu *menu = new TDEActionMenu( i18n("Anonymity Manager"), pix,
actionCollection(), "tork_menu" ); actionCollection(), "tork_menu" );
menu->setDelayed( false ); 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"), m_paToggleTDE=new TDEAction(i18n("Anonymize TDE"),
TDEGlobal::iconLoader()->loadIconSet("tork_konqueroroff", TDEIcon::Small), TDEGlobal::iconLoader()->loadIconSet("tork_konqueroroff", TDEIcon::Small),
TDEShortcut(), TDEShortcut(),
this, SLOT(toggleTDE()), this, TQ_SLOT(toggleTDE()),
actionCollection(), "tork_konqueroron" ); actionCollection(), "tork_konqueroron" );
menu->insert( m_paToggleTDE ); 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"), TDEAction *m_firefox=new TDEAction(i18n("Re-Open Anonymously with Firefox"),
TDEGlobal::iconLoader()->loadIconSet("tork_firefox", TDEIcon::Small), TDEGlobal::iconLoader()->loadIconSet("tork_firefox", TDEIcon::Small),
TDEShortcut(), TDEShortcut(),
this, SLOT(openWithFirefox()), this, TQ_SLOT(openWithFirefox()),
actionCollection(), "tork_firefox" ); actionCollection(), "tork_firefox" );
menu->insert( m_firefox ); menu->insert( m_firefox );
TDEAction *m_opera=new TDEAction(i18n("Re-Open Anonymously with Opera"), TDEAction *m_opera=new TDEAction(i18n("Re-Open Anonymously with Opera"),
TDEGlobal::iconLoader()->loadIconSet("tork_opera", TDEIcon::Small), TDEGlobal::iconLoader()->loadIconSet("tork_opera", TDEIcon::Small),
TDEShortcut(), TDEShortcut(),
this, SLOT(openWithOpera()), this, TQ_SLOT(openWithOpera()),
actionCollection(), "tork_opera" ); actionCollection(), "tork_opera" );
menu->insert( m_opera ); menu->insert( m_opera );

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

@ -73,31 +73,31 @@ LikeBackBar::LikeBackBar(LikeBack *likeBack)
m_likeButton->setIconSet(likeIconSet); m_likeButton->setIconSet(likeIconSet);
m_likeButton->setTextLabel("<p>" + i18n("Send application developers a comment about something you like")); m_likeButton->setTextLabel("<p>" + i18n("Send application developers a comment about something you like"));
m_likeButton->setAutoRaise(true); 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); layout->add(m_likeButton);
m_dislikeButton = new TQToolButton(this, "likeback_dislike_tork"); m_dislikeButton = new TQToolButton(this, "likeback_dislike_tork");
m_dislikeButton->setIconSet(dislikeIconSet); m_dislikeButton->setIconSet(dislikeIconSet);
m_dislikeButton->setTextLabel("<p>" + i18n("Send application developers a comment about something you dislike")); m_dislikeButton->setTextLabel("<p>" + i18n("Send application developers a comment about something you dislike"));
m_dislikeButton->setAutoRaise(true); 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); layout->add(m_dislikeButton);
m_bugButton = new TQToolButton(this, "likeback_bug_tork"); m_bugButton = new TQToolButton(this, "likeback_bug_tork");
m_bugButton->setIconSet(bugIconSet); m_bugButton->setIconSet(bugIconSet);
m_bugButton->setTextLabel("<p>" + i18n("Send application developers a comment about an improper behavior of the application")); m_bugButton->setTextLabel("<p>" + i18n("Send application developers a comment about an improper behavior of the application"));
m_bugButton->setAutoRaise(true); 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); layout->add(m_bugButton);
m_featureButton = new TQToolButton(this, "likeback_feature_tork"); m_featureButton = new TQToolButton(this, "likeback_feature_tork");
m_featureButton->setIconSet(featureIconSet); m_featureButton->setIconSet(featureIconSet);
m_featureButton->setTextLabel("<p>" + i18n("Send application developers a comment about a new feature you desire")); m_featureButton->setTextLabel("<p>" + i18n("Send application developers a comment about a new feature you desire"));
m_featureButton->setAutoRaise(true); 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); 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(); LikeBack::Button buttons = likeBack->buttons();
m_likeButton->setShown( buttons & LikeBack::Like ); 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: // Show the bar if that's wanted by the developer or the user:
if (d->showBar) if (d->showBar)
TQTimer::singleShot( 0, d->bar, SLOT(startTimer()) ); TQTimer::singleShot( 0, d->bar, TQ_SLOT(startTimer()) );
#if 0 #if 0
disableBar(); disableBar();
@ -378,7 +378,7 @@ TDEAction* LikeBack::sendACommentAction(TDEActionCollection *parent)
if (d->action == 0) if (d->action == 0)
d->action = new TDEAction( d->action = new TDEAction(
i18n("&Send a Comment to Developers"), /*icon=*/"mail-message-new", /*shortcut=*/"", i18n("&Send a Comment to Developers"), /*icon=*/"mail-message-new", /*shortcut=*/"",
this, SLOT(execCommentDialog()), this, TQ_SLOT(execCommentDialog()),
parent, "likeback_send_a_comment" parent, "likeback_send_a_comment"
); );
@ -584,7 +584,7 @@ bool LikeBack::isDevelopmentVersion(const TQString &version)
return; return;
m_process = new TDEProcess(); m_process = new TDEProcess();
*m_process << TQString::fromLatin1("tdecmshell") << TQString::fromLatin1("kcm_useraccount"); *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()) { if (!m_process->start()) {
kdDebug() << "Couldn't start tdecmshell.." << endl; kdDebug() << "Couldn't start tdecmshell.." << endl;
delete m_process; 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 = new TQCheckBox(i18n("Show comment buttons below &window titlebars"), page);
m_showButtons->setChecked(m_likeBack->userWantsToShowBar()); m_showButtons->setChecked(m_likeBack->userWantsToShowBar());
pageLayout->addWidget(m_showButtons); 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")); setButtonOK(KGuiItem(i18n("&Send Comment"), "mail-send"));
enableButtonOK(false); 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")); 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); TQAction *sendShortcut = new TQAction(this);
sendShortcut->setAccel(TQString("Ctrl+Return")); 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); 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 << "http://" << m_likeBack->hostName().local8Bit() << ":" << m_likeBack->hostPort() << m_likeBack->remotePath().local8Bit() << std::endl;
std::cout << data.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()); TQHttpRequestHeader header("POST", m_likeBack->remotePath());
header.setValue("Host", m_likeBack->hostName()); header.setValue("Host", m_likeBack->hostName());

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

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

@ -150,8 +150,8 @@ FirstRunWizard::init()
*whichproc<<whichCommand; *whichproc<<whichCommand;
connect( whichproc, SIGNAL(readReady(KProcIO * )), connect( whichproc, TQ_SIGNAL(readReady(KProcIO * )),
SLOT(processWhich(KProcIO * )) ); TQ_SLOT(processWhich(KProcIO * )) );
whichproc->start(KProcIO::NotifyOnExit,TRUE); whichproc->start(KProcIO::NotifyOnExit,TRUE);
@ -481,9 +481,9 @@ void FirstRunWizard::testTor()
delete client; delete client;
client = new TorClient(host,port); client = new TorClient(host,port);
connect( client, SIGNAL(fatalError()),this, SLOT(cannotContactTor())); connect( client, TQ_SIGNAL(fatalError()),this, TQ_SLOT(cannotContactTor()));
connect( client, SIGNAL(authenticationFailed()),this, SLOT(cannotContactTor())); connect( client, TQ_SIGNAL(authenticationFailed()),this, TQ_SLOT(cannotContactTor()));
connect( client, SIGNAL(authenticated()),this, SLOT(contactedTor()) ); connect( client, TQ_SIGNAL(authenticated()),this, TQ_SLOT(contactedTor()) );
client->authenticate(); client->authenticate();
} }
@ -496,9 +496,9 @@ void FirstRunWizard::modifyConfs_clicked()
void FirstRunWizard::cannotContactTor() void FirstRunWizard::cannotContactTor()
{ {
disconnect( client, SIGNAL(fatalError()),this, SLOT(cannotContactTor())); disconnect( client, TQ_SIGNAL(fatalError()),this, TQ_SLOT(cannotContactTor()));
disconnect( client, SIGNAL(authenticationFailed()),this, SLOT(cannotContactTor())); disconnect( client, TQ_SIGNAL(authenticationFailed()),this, TQ_SLOT(cannotContactTor()));
disconnect( client, SIGNAL(authenticated()),this, SLOT(contactedTor()) ); disconnect( client, TQ_SIGNAL(authenticated()),this, TQ_SLOT(contactedTor()) );
if (client != 0L){ if (client != 0L){
client->socketReadyRead(); client->socketReadyRead();
client->deleteLater(); client->deleteLater();
@ -530,8 +530,8 @@ void FirstRunWizard::cannotContactTor()
void FirstRunWizard::contactedTor() void FirstRunWizard::contactedTor()
{ {
disconnect( client, SIGNAL(fatalError()),this, SLOT(cannotContactTor())); disconnect( client, TQ_SIGNAL(fatalError()),this, TQ_SLOT(cannotContactTor()));
disconnect( client, SIGNAL(authenticated()),this, SLOT(contactedTor()) ); disconnect( client, TQ_SIGNAL(authenticated()),this, TQ_SLOT(contactedTor()) );
if (client != 0L){ if (client != 0L){
client->socketReadyRead(); client->socketReadyRead();
client->deleteLater(); client->deleteLater();
@ -559,7 +559,7 @@ void FirstRunWizard::contactedTor()
testTorAgain->setEnabled(true); testTorAgain->setEnabled(true);
TorkConfig::setGenerateRandomPassword(true); TorkConfig::setGenerateRandomPassword(true);
// if (!monitorRemote->isChecked()) // 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.")); TQToolTip::add( this,i18n("This displays all network activity currently being handled by Tor."));
connect( hideMonitor, SIGNAL(clicked()), connect( hideMonitor, TQ_SIGNAL(clicked()),
SLOT(slotHideMonitor()) ); TQ_SLOT(slotHideMonitor()) );
connect( toggleTDE, SIGNAL(clicked()), connect( toggleTDE, TQ_SIGNAL(clicked()),
SLOT(slotToggleTDE()) ); TQ_SLOT(slotToggleTDE()) );
connect( changeID, SIGNAL(clicked()), connect( changeID, TQ_SIGNAL(clicked()),
SLOT(slotChangeID()) ); TQ_SLOT(slotChangeID()) );
// connect( toggleTDE, SIGNAL(clicked()), // connect( toggleTDE, TQ_SIGNAL(clicked()),
// SLOT(slotToggleTDE()) ); // TQ_SLOT(slotToggleTDE()) );
infoList = new TQListView( this, "infoList" ); infoList = new TQListView( this, "infoList" );
@ -224,7 +224,7 @@ void StreamOSD::renderOSD()
//infoList->adjustSize(); //infoList->adjustSize();
//frame->update(); //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.")); TQToolTip::add( this,i18n("This displays all your system's network activity."));
connect( hideMonitor, SIGNAL(clicked()), connect( hideMonitor, TQ_SIGNAL(clicked()),
SLOT(slotHideMonitor()) ); TQ_SLOT(slotHideMonitor()) );
infoList = new TQListView( this, "infoList" ); infoList = new TQListView( this, "infoList" );
@ -515,7 +515,7 @@ void StreamOSD::contextMenuRequested( TQListViewItem *, const TQPoint &point, in
TQPopupMenu *menu = new TQPopupMenu( infoList ); TQPopupMenu *menu = new TQPopupMenu( infoList );
menu->clear(); menu->clear();
menu->insertItem( "Close Stream", this,SLOT(slotCloseStream()) ); menu->insertItem( "Close Stream", this,TQ_SLOT(slotCloseStream()) );
menu->popup( point ); menu->popup( point );
} }

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

@ -107,16 +107,16 @@ PopupMessage::PopupMessage( TQWidget *parent, TQWidget *anchor, int timeout, con
hbox->add( new TQCheckBox( this, "showWarnings" ) ); hbox->add( new TQCheckBox( this, "showWarnings" ) );
static_cast<TQCheckBox*>(child( "showWarnings" ))->setText(TQString("%1 in Future.").arg(m_name)); static_cast<TQCheckBox*>(child( "showWarnings" ))->setText(TQString("%1 in Future.").arg(m_name));
static_cast<TQCheckBox*>(child( "showWarnings" ))->setChecked(TRUE); 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->addItem( new TQSpacerItem( 4, 4, TQSizePolicy::Expanding, TQSizePolicy::Preferred ) );
hbox->add( new KPushButton( KStdGuiItem::yes(), this, "yesButton" ) ); hbox->add( new KPushButton( KStdGuiItem::yes(), this, "yesButton" ) );
hbox->add( new KPushButton( KStdGuiItem::no(), this, "closeButton" ) ); hbox->add( new KPushButton( KStdGuiItem::no(), this, "closeButton" ) );
hbox->add( new KPushButton( KStdGuiItem::ok(), this, "okButton" ) ); hbox->add( new KPushButton( KStdGuiItem::ok(), this, "okButton" ) );
connect( child( "yesButton" ), SIGNAL(clicked()), SLOT(yes()) ); connect( child( "yesButton" ), TQ_SIGNAL(clicked()), TQ_SLOT(yes()) );
connect( child( "closeButton" ), SIGNAL(clicked()), SLOT(no()) ); connect( child( "closeButton" ), TQ_SIGNAL(clicked()), TQ_SLOT(no()) );
connect( child( "okButton" ), SIGNAL(clicked()), 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 ); TQPopupMenu *menu = new TQPopupMenu( SOCKSBindAddressMany );
menu->clear(); menu->clear();
menu->insertItem( "Delete Entry", this,SLOT(slotDeleteEntry()) ); menu->insertItem( "Delete Entry", this,TQ_SLOT(slotDeleteEntry()) );
menu->popup( point ); menu->popup( point );
} }
@ -103,7 +103,7 @@ void Running::SOCKSPolicy_contextMenuRequested( TQListViewItem *, const TQPoint
TQPopupMenu *menu = new TQPopupMenu( SOCKSPolicy ); TQPopupMenu *menu = new TQPopupMenu( SOCKSPolicy );
menu->clear(); menu->clear();
menu->insertItem( "Delete Entry", this,SLOT(slotDeletePolicyEntry()) ); menu->insertItem( "Delete Entry", this,TQ_SLOT(slotDeletePolicyEntry()) );
menu->popup( point ); menu->popup( point );
} }

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

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

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

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

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

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

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

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

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

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

@ -32,7 +32,7 @@ namespace kt
ExitJobOperation::ExitJobOperation(TDEIO::Job* j) 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() ExitJobOperation::~ExitJobOperation()

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

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

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

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

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

Loading…
Cancel
Save