summaryrefslogtreecommitdiffstats
path: root/kget
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 17:34:53 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 17:51:33 +0900
commit1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch)
tree8b64fab3a352aada6a046f69f1f7e8a6ad819594 /kget
parent69c2eb8d5f2ed64c876b2a1081cc83ed9f4652d3 (diff)
downloadtdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.tar.gz
tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kget')
-rw-r--r--kget/dlgDirectories.cpp4
-rw-r--r--kget/dlgIndividual.cpp12
-rw-r--r--kget/dlgPreferences.cpp14
-rw-r--r--kget/droptarget.cpp6
-rw-r--r--kget/kget_plug_in/kget_linkview.cpp4
-rw-r--r--kget/kget_plug_in/kget_plug_in.cpp6
-rw-r--r--kget/logwindow.cpp4
-rw-r--r--kget/slave.cpp14
-rw-r--r--kget/tdemainwidget.cpp88
-rw-r--r--kget/transfer.cpp22
-rw-r--r--kget/transferlist.cpp4
11 files changed, 89 insertions, 89 deletions
diff --git a/kget/dlgDirectories.cpp b/kget/dlgDirectories.cpp
index 7faec0e5..5d0e026e 100644
--- a/kget/dlgDirectories.cpp
+++ b/kget/dlgDirectories.cpp
@@ -45,8 +45,8 @@
DlgDirectories::DlgDirectories(TQWidget * parent)
: DlgDirectoriesBase(parent)
{
- connect( le_ext, TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( slotDirectoryChanged( ) ) );
- connect( le_dir, TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( slotDirectoryChanged( ) ) );
+ connect( le_ext, TQ_SIGNAL( textChanged ( const TQString & ) ), this, TQ_SLOT( slotDirectoryChanged( ) ) );
+ connect( le_dir, TQ_SIGNAL( textChanged ( const TQString & ) ), this, TQ_SLOT( slotDirectoryChanged( ) ) );
le_dir->setMode( KFile::Directory );
lv_entries->setSortColumn( -1 );
diff --git a/kget/dlgIndividual.cpp b/kget/dlgIndividual.cpp
index c8a939e2..f06b939b 100644
--- a/kget/dlgIndividual.cpp
+++ b/kget/dlgIndividual.cpp
@@ -63,7 +63,7 @@ DlgIndividual::DlgIndividual(Transfer * _item)
// Actions
- m_paDock = new TDEToggleAction(i18n("&Dock"),"tool_dock.png", 0, this, TQT_SLOT(slotToggleDock()), this, "dockIndividual");
+ m_paDock = new TDEToggleAction(i18n("&Dock"),"tool_dock.png", 0, this, TQ_SLOT(slotToggleDock()), this, "dockIndividual");
TQVBoxLayout *topLayout = new TQVBoxLayout( this, KDialog::marginHint(),KDialog::spacingHint() );
@@ -126,7 +126,7 @@ DlgIndividual::DlgIndividual(Transfer * _item)
TQCheckBox * keepOpen = new TQCheckBox( i18n("&Keep this window open after the operation is complete."), this);
- connect( keepOpen, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( slotKeepOpenToggled(bool) ) );
+ connect( keepOpen, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( slotKeepOpenToggled(bool) ) );
topLayout->addWidget(keepOpen);
TQFrame *line3 = new TQFrame( this );
@@ -138,19 +138,19 @@ DlgIndividual::DlgIndividual(Transfer * _item)
topLayout->addLayout(hBox);
openFile = new KPushButton( i18n("Open &File"), this );
- connect( openFile, TQT_SIGNAL( clicked() ), TQT_SLOT( slotOpenFile() ) );
+ connect( openFile, TQ_SIGNAL( clicked() ), TQ_SLOT( slotOpenFile() ) );
hBox->addWidget( openFile );
openFile->setEnabled(false);
openLocation = new KPushButton( i18n("Open &Destination"), this );
- connect( openLocation, TQT_SIGNAL( clicked() ), TQT_SLOT( slotOpenLocation() ) );
+ connect( openLocation, TQ_SIGNAL( clicked() ), TQ_SLOT( slotOpenLocation() ) );
hBox->addWidget( openLocation );
hBox->addStretch(1);
pbAdvanced = new KPushButton( i18n("Advanced"), this );
- connect(pbAdvanced, TQT_SIGNAL(clicked()), TQT_SLOT(slotToggleAdvanced()));
+ connect(pbAdvanced, TQ_SIGNAL(clicked()), TQ_SLOT(slotToggleAdvanced()));
hBox->addWidget( pbAdvanced );
@@ -176,7 +176,7 @@ DlgIndividual::DlgIndividual(Transfer * _item)
panelAdvanced->addTab(spins, i18n("Timer"));
panelAdvanced->hide();
- connect(spins, TQT_SIGNAL(valueChanged(const TQDateTime &)), item, TQT_SLOT(slotStartTime(const TQDateTime &)));
+ connect(spins, TQ_SIGNAL(valueChanged(const TQDateTime &)), item, TQ_SLOT(slotStartTime(const TQDateTime &)));
// adding item log
ml_log = new TQTextEdit(panelAdvanced);
diff --git a/kget/dlgPreferences.cpp b/kget/dlgPreferences.cpp
index 777f5419..b27e4772 100644
--- a/kget/dlgPreferences.cpp
+++ b/kget/dlgPreferences.cpp
@@ -95,16 +95,16 @@ DlgPreferences::DlgPreferences(TQWidget * parent):
topLayout->addStretch();
// type of connection influences autoDisconnect & timedDisconnect features
- connect(conDlg, TQT_SIGNAL(typeChanged(int)), autDlg, TQT_SLOT(slotTypeChanged(int)));
+ connect(conDlg, TQ_SIGNAL(typeChanged(int)), autDlg, TQ_SLOT(slotTypeChanged(int)));
loadAllData();
- connect( conDlg, TQT_SIGNAL( configChanged() ), this, TQT_SLOT( slotChanged() ) );
- connect( autDlg, TQT_SIGNAL( configChanged() ), this, TQT_SLOT( slotChanged() ) );
- connect( limDlg, TQT_SIGNAL( configChanged() ), this, TQT_SLOT( slotChanged() ) );
- connect( advDlg, TQT_SIGNAL( configChanged() ), this, TQT_SLOT( slotChanged() ) );
- connect( dirDlg, TQT_SIGNAL( configChanged() ), this, TQT_SLOT( slotChanged() ) );
- connect( sysDlg, TQT_SIGNAL( configChanged() ), this, TQT_SLOT( slotChanged() ) );
+ connect( conDlg, TQ_SIGNAL( configChanged() ), this, TQ_SLOT( slotChanged() ) );
+ connect( autDlg, TQ_SIGNAL( configChanged() ), this, TQ_SLOT( slotChanged() ) );
+ connect( limDlg, TQ_SIGNAL( configChanged() ), this, TQ_SLOT( slotChanged() ) );
+ connect( advDlg, TQ_SIGNAL( configChanged() ), this, TQ_SLOT( slotChanged() ) );
+ connect( dirDlg, TQ_SIGNAL( configChanged() ), this, TQ_SLOT( slotChanged() ) );
+ connect( sysDlg, TQ_SIGNAL( configChanged() ), this, TQ_SLOT( slotChanged() ) );
}
diff --git a/kget/droptarget.cpp b/kget/droptarget.cpp
index b415461c..990ff1aa 100644
--- a/kget/droptarget.cpp
+++ b/kget/droptarget.cpp
@@ -89,10 +89,10 @@ DropTarget::DropTarget(TDEMainWindow * mainWin):TQWidget()
popupMenu->insertTitle(kapp->caption());
popupMenu->setCheckable(true);
- pop_Max = popupMenu->insertItem(i18n("Maximize"), this, TQT_SLOT(toggleMinimizeRestore()));
- pop_Min = popupMenu->insertItem(i18n("Minimize"), this, TQT_SLOT(toggleMinimizeRestore()));
+ pop_Max = popupMenu->insertItem(i18n("Maximize"), this, TQ_SLOT(toggleMinimizeRestore()));
+ pop_Min = popupMenu->insertItem(i18n("Minimize"), this, TQ_SLOT(toggleMinimizeRestore()));
- pop_sticky = popupMenu->insertItem(i18n("Sticky"), this, TQT_SLOT(toggleSticky()));
+ pop_sticky = popupMenu->insertItem(i18n("Sticky"), this, TQ_SLOT(toggleSticky()));
popupMenu->insertSeparator();
mainWin->action("drop_target")->plug(popupMenu);
popupMenu->insertSeparator();
diff --git a/kget/kget_plug_in/kget_linkview.cpp b/kget/kget_plug_in/kget_linkview.cpp
index 9a77e95f..8b220cb4 100644
--- a/kget/kget_plug_in/kget_linkview.cpp
+++ b/kget/kget_plug_in/kget_linkview.cpp
@@ -44,10 +44,10 @@ KGetLinkView::KGetLinkView( TQWidget *parent, const char *name )
TDEAction* actionDownload = new TDEAction( i18n("Download Selected Files"),
"kget", CTRL+Key_D,
- this, TQT_SLOT( slotStartLeech() ),
+ this, TQ_SLOT( slotStartLeech() ),
actionCollection(), "startDownload" );
- TDEAction* actionSelectAll = KStdAction::selectAll( this, TQT_SLOT( slotSelectAll() ),
+ TDEAction* actionSelectAll = KStdAction::selectAll( this, TQ_SLOT( slotSelectAll() ),
actionCollection() );
m_links.setAutoDelete( true );
diff --git a/kget/kget_plug_in/kget_plug_in.cpp b/kget/kget_plug_in/kget_plug_in.cpp
index b7f1ed69..c4d52fac 100644
--- a/kget/kget_plug_in/kget_plug_in.cpp
+++ b/kget/kget_plug_in/kget_plug_in.cpp
@@ -52,17 +52,17 @@ KGet_plug_in::KGet_plug_in( TQObject* parent, const char* name )
TDEActionMenu *menu = new TDEActionMenu( i18n("Download Manager"), pix,
actionCollection(), "kget_menu" );
menu->setDelayed( false );
- connect( menu->popupMenu(), TQT_SIGNAL( aboutToShow() ), TQT_SLOT( showPopup() ));
+ connect( menu->popupMenu(), TQ_SIGNAL( aboutToShow() ), TQ_SLOT( showPopup() ));
m_paToggleDropTarget=new TDEToggleAction(i18n("Show Drop Target"),
TDEShortcut(),
- this, TQT_SLOT(slotShowDrop()),
+ this, TQ_SLOT(slotShowDrop()),
actionCollection(), "show_drop" );
menu->insert( m_paToggleDropTarget );
TDEAction *action = new TDEAction(i18n("List All Links"), TDEShortcut(),
- this, TQT_SLOT( slotShowLinks() ),
+ this, TQ_SLOT( slotShowLinks() ),
actionCollection(), "show_links");
menu->insert( action );
diff --git a/kget/logwindow.cpp b/kget/logwindow.cpp
index 601beb31..be94180e 100644
--- a/kget/logwindow.cpp
+++ b/kget/logwindow.cpp
@@ -98,7 +98,7 @@ SeparatedLog::SeparatedLog(TQWidget * parent):TQWidget(parent)
topGridLayout->addWidget(lv_log, 0, 0);
- connect(lv_log, TQT_SIGNAL(selectionChanged(TQListViewItem *)), TQT_SLOT(transferSelected(TQListViewItem *)));
+ connect(lv_log, TQ_SIGNAL(selectionChanged(TQListViewItem *)), TQ_SLOT(transferSelected(TQListViewItem *)));
ml_log = new TQTextEdit(this);
ml_log->setTextFormat(LogText);
@@ -174,7 +174,7 @@ LogWindow::LogWindow():KDialogBase(Tabbed, i18n("Log Window"), Close, Close, 0,
sep_log = new SeparatedLog(page);
topLayout->addWidget(sep_log);
- connect(this, TQT_SIGNAL(closeClicked()), this, TQT_SLOT(close()));
+ connect(this, TQ_SIGNAL(closeClicked()), this, TQ_SLOT(close()));
// resize( 500, 300 );
}
diff --git a/kget/slave.cpp b/kget/slave.cpp
index 60933dcd..dac9e184 100644
--- a/kget/slave.cpp
+++ b/kget/slave.cpp
@@ -183,17 +183,17 @@ void Slave::Connect()
{
mDebugIn << endl;
- connect(copyjob, TQT_SIGNAL(canceled(TDEIO::Job *)), TQT_SLOT(slotCanceled(TDEIO::Job *)));
- connect(copyjob, TQT_SIGNAL(connected(TDEIO::Job *)), TQT_SLOT(slotConnected(TDEIO::Job *)));
- connect(copyjob, TQT_SIGNAL(result(TDEIO::Job *)), TQT_SLOT(slotResult(TDEIO::Job *)));
+ connect(copyjob, TQ_SIGNAL(canceled(TDEIO::Job *)), TQ_SLOT(slotCanceled(TDEIO::Job *)));
+ connect(copyjob, TQ_SIGNAL(connected(TDEIO::Job *)), TQ_SLOT(slotConnected(TDEIO::Job *)));
+ connect(copyjob, TQ_SIGNAL(result(TDEIO::Job *)), TQ_SLOT(slotResult(TDEIO::Job *)));
- connect(copyjob, TQT_SIGNAL(totalSize(TDEIO::Job *, TDEIO::filesize_t)), TQT_SLOT(slotTotalSize(TDEIO::Job *, TDEIO::filesize_t)));
+ connect(copyjob, TQ_SIGNAL(totalSize(TDEIO::Job *, TDEIO::filesize_t)), TQ_SLOT(slotTotalSize(TDEIO::Job *, TDEIO::filesize_t)));
- connect(copyjob, TQT_SIGNAL(processedSize(TDEIO::Job *, TDEIO::filesize_t)), TQT_SLOT(slotProcessedSize(TDEIO::Job *, TDEIO::filesize_t)));
+ connect(copyjob, TQ_SIGNAL(processedSize(TDEIO::Job *, TDEIO::filesize_t)), TQ_SLOT(slotProcessedSize(TDEIO::Job *, TDEIO::filesize_t)));
- connect(copyjob, TQT_SIGNAL(speed(TDEIO::Job *, unsigned long)), TQT_SLOT(slotSpeed(TDEIO::Job *, unsigned long)));
+ connect(copyjob, TQ_SIGNAL(speed(TDEIO::Job *, unsigned long)), TQ_SLOT(slotSpeed(TDEIO::Job *, unsigned long)));
- connect(copyjob, TQT_SIGNAL(infoMessage(TDEIO::Job *, const TQString &)), TQT_SLOT(slotInfoMessage(TDEIO::Job *, const TQString &)));
+ connect(copyjob, TQ_SIGNAL(infoMessage(TDEIO::Job *, const TQString &)), TQ_SLOT(slotInfoMessage(TDEIO::Job *, const TQString &)));
mDebugOut << endl;
}
diff --git a/kget/tdemainwidget.cpp b/kget/tdemainwidget.cpp
index 0e6cd31a..0cc65452 100644
--- a/kget/tdemainwidget.cpp
+++ b/kget/tdemainwidget.cpp
@@ -169,14 +169,14 @@ TDEMainWidget::TDEMainWidget(bool bStartDocked)
setCentralWidget(myTransferList);
- connect(kapp, TQT_SIGNAL(saveYourself()), TQT_SLOT(slotSaveYourself()));
+ connect(kapp, TQ_SIGNAL(saveYourself()), TQ_SLOT(slotSaveYourself()));
// Enable dropping
setAcceptDrops(true);
// Setup connection timer
connectionTimer = new TQTimer(this);
- connect(connectionTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotCheckConnection()));
+ connect(connectionTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotCheckConnection()));
// setup socket for checking connection
if ((_sock = sockets_open()) < 0) {
@@ -191,7 +191,7 @@ TDEMainWidget::TDEMainWidget(bool bStartDocked)
// Setup animation timer
animTimer = new TQTimer(this);
animCounter = 0;
- connect(animTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotAnimTimeout()));
+ connect(animTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotAnimTimeout()));
if (ksettings.b_useAnimation) {
animTimer->start(400);
@@ -201,17 +201,17 @@ TDEMainWidget::TDEMainWidget(bool bStartDocked)
// Setup transfer timer for scheduled downloads and checkQueue()
transferTimer = new TQTimer(this);
- connect(transferTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotTransferTimeout()));
+ connect(transferTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotTransferTimeout()));
transferTimer->start(10000); // 10 secs time interval
// Setup autosave timer
autosaveTimer = new TQTimer(this);
- connect(autosaveTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotAutosaveTimeout()));
+ connect(autosaveTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotAutosaveTimeout()));
setAutoSave();
// Setup clipboard timer
clipboardTimer = new TQTimer(this);
- connect(clipboardTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotCheckClipboard()));
+ connect(clipboardTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotCheckClipboard()));
if (ksettings.b_autoPaste) {
clipboardTimer->start(1000);
}
@@ -221,7 +221,7 @@ TDEMainWidget::TDEMainWidget(bool bStartDocked)
// Setup special windows
kdrop = new DropTarget(this);
kdock = new DockWidget(this);
- connect(kdock, TQT_SIGNAL(quitSelected()), TQT_SLOT(slotQuit()));
+ connect(kdock, TQ_SIGNAL(quitSelected()), TQ_SLOT(slotQuit()));
// Set geometry
if (ksettings.mainPosition.x() != -1) {
@@ -337,76 +337,76 @@ void TDEMainWidget::setupGUI()
TDEActionCollection *coll = actionCollection();
- connect(myTransferList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotUpdateActions()));
- connect(myTransferList, TQT_SIGNAL(transferSelected(Transfer *)), this, TQT_SLOT(slotOpenIndividual()));
- connect(myTransferList, TQT_SIGNAL(popupMenu(Transfer *)), this, TQT_SLOT(slotPopupMenu(Transfer *)));
+ connect(myTransferList, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotUpdateActions()));
+ connect(myTransferList, TQ_SIGNAL(transferSelected(Transfer *)), this, TQ_SLOT(slotOpenIndividual()));
+ connect(myTransferList, TQ_SIGNAL(popupMenu(Transfer *)), this, TQ_SLOT(slotPopupMenu(Transfer *)));
// file actions
- m_paOpenTransfer = KStdAction::open(this, TQT_SLOT(slotOpenTransfer()), coll, "open_transfer");
- m_paPasteTransfer = KStdAction::paste(this, TQT_SLOT(slotPasteTransfer()), coll, "paste_transfer");
+ m_paOpenTransfer = KStdAction::open(this, TQ_SLOT(slotOpenTransfer()), coll, "open_transfer");
+ m_paPasteTransfer = KStdAction::paste(this, TQ_SLOT(slotPasteTransfer()), coll, "paste_transfer");
- m_paExportTransfers = new TDEAction(i18n("&Export Transfer List..."), 0, this, TQT_SLOT(slotExportTransfers()), coll, "export_transfers");
- m_paImportTransfers = new TDEAction(i18n("&Import Transfer List..."), 0, this, TQT_SLOT(slotImportTransfers()), coll, "import_transfers");
+ m_paExportTransfers = new TDEAction(i18n("&Export Transfer List..."), 0, this, TQ_SLOT(slotExportTransfers()), coll, "export_transfers");
+ m_paImportTransfers = new TDEAction(i18n("&Import Transfer List..."), 0, this, TQ_SLOT(slotImportTransfers()), coll, "import_transfers");
- m_paImportText = new TDEAction(i18n("Import Text &File..."), 0, this, TQT_SLOT(slotImportTextFile()), coll, "import_text");
+ m_paImportText = new TDEAction(i18n("Import Text &File..."), 0, this, TQ_SLOT(slotImportTextFile()), coll, "import_text");
- m_paQuit = KStdAction::quit(this, TQT_SLOT(slotQuit()), coll, "quit");
+ m_paQuit = KStdAction::quit(this, TQ_SLOT(slotQuit()), coll, "quit");
// transfer actions
- m_paCopy = new TDEAction(i18n("&Copy URL to Clipboard"), 0, this, TQT_SLOT(slotCopyToClipboard()), coll, "copy_url");
- m_paIndividual = new TDEAction(i18n("&Open Individual Window"), 0, this, TQT_SLOT(slotOpenIndividual()), coll, "open_individual");
+ m_paCopy = new TDEAction(i18n("&Copy URL to Clipboard"), 0, this, TQ_SLOT(slotCopyToClipboard()), coll, "copy_url");
+ m_paIndividual = new TDEAction(i18n("&Open Individual Window"), 0, this, TQ_SLOT(slotOpenIndividual()), coll, "open_individual");
- m_paMoveToBegin = new TDEAction(i18n("Move to &Beginning"), 0, this, TQT_SLOT(slotMoveToBegin()), coll, "move_begin");
+ m_paMoveToBegin = new TDEAction(i18n("Move to &Beginning"), 0, this, TQ_SLOT(slotMoveToBegin()), coll, "move_begin");
- m_paMoveToEnd = new TDEAction(i18n("Move to &End"), 0, this, TQT_SLOT(slotMoveToEnd()), coll, "move_end");
+ m_paMoveToEnd = new TDEAction(i18n("Move to &End"), 0, this, TQ_SLOT(slotMoveToEnd()), coll, "move_end");
#ifdef _DEBUG
sDebug << "Loading pics" << endl;
#endif
- m_paResume = new TDEAction(i18n("&Resume"),"tool_resume", 0, this, TQT_SLOT(slotResumeCurrent()), coll, "resume");
- m_paPause = new TDEAction(i18n("&Pause"),"tool_pause", 0, this, TQT_SLOT(slotPauseCurrent()), coll, "pause");
- m_paDelete = new TDEAction(i18n("&Delete"),"edit-delete", TQt::Key_Delete, this, TQT_SLOT(slotDeleteCurrent()), coll, "delete");
- m_paRestart = new TDEAction(i18n("Re&start"),"tool_restart", 0, this, TQT_SLOT(slotRestartCurrent()), coll, "restart");
+ m_paResume = new TDEAction(i18n("&Resume"),"tool_resume", 0, this, TQ_SLOT(slotResumeCurrent()), coll, "resume");
+ m_paPause = new TDEAction(i18n("&Pause"),"tool_pause", 0, this, TQ_SLOT(slotPauseCurrent()), coll, "pause");
+ m_paDelete = new TDEAction(i18n("&Delete"),"edit-delete", TQt::Key_Delete, this, TQ_SLOT(slotDeleteCurrent()), coll, "delete");
+ m_paRestart = new TDEAction(i18n("Re&start"),"tool_restart", 0, this, TQ_SLOT(slotRestartCurrent()), coll, "restart");
- m_paQueue = new TDERadioAction(i18n("&Queue"),"tool_queue", 0, this, TQT_SLOT(slotQueueCurrent()), coll, "queue");
- m_paTimer = new TDERadioAction(i18n("&Timer"),"tool_timer", 0, this, TQT_SLOT(slotTimerCurrent()), coll, "timer");
- m_paDelay = new TDERadioAction(i18n("De&lay"),"tool_delay", 0, this, TQT_SLOT(slotDelayCurrent()), coll, "delay");
+ m_paQueue = new TDERadioAction(i18n("&Queue"),"tool_queue", 0, this, TQ_SLOT(slotQueueCurrent()), coll, "queue");
+ m_paTimer = new TDERadioAction(i18n("&Timer"),"tool_timer", 0, this, TQ_SLOT(slotTimerCurrent()), coll, "timer");
+ m_paDelay = new TDERadioAction(i18n("De&lay"),"tool_delay", 0, this, TQ_SLOT(slotDelayCurrent()), coll, "delay");
m_paQueue->setExclusiveGroup("TransferMode");
m_paTimer->setExclusiveGroup("TransferMode");
m_paDelay->setExclusiveGroup("TransferMode");
// options actions
- m_paUseAnimation = new TDEToggleAction(i18n("Use &Animation"), 0, this, TQT_SLOT(slotToggleAnimation()), coll, "toggle_animation");
- m_paExpertMode = new TDEToggleAction(i18n("&Expert Mode"),"tool_expert", 0, this, TQT_SLOT(slotToggleExpertMode()), coll, "expert_mode");
- m_paUseLastDir = new TDEToggleAction(i18n("&Use-Last-Folder Mode"),"tool_uselastdir", 0, this, TQT_SLOT(slotToggleUseLastDir()), coll, "use_last_dir");
- m_paAutoDisconnect = new TDEToggleAction(i18n("Auto-&Disconnect Mode"),"tool_disconnect", 0, this, TQT_SLOT(slotToggleAutoDisconnect()), coll, "auto_disconnect");
- m_paAutoShutdown = new TDEToggleAction(i18n("Auto-S&hutdown Mode"), "tool_shutdown", 0, this, TQT_SLOT(slotToggleAutoShutdown()), coll, "auto_shutdown");
- m_paOfflineMode = new TDEToggleAction(i18n("&Offline Mode"),"tool_offline_mode_off", 0, this, TQT_SLOT(slotToggleOfflineMode()), coll, "offline_mode");
- m_paAutoPaste = new TDEToggleAction(i18n("Auto-Pas&te Mode"),"tool_clipboard", 0, this, TQT_SLOT(slotToggleAutoPaste()), coll, "auto_paste");
+ m_paUseAnimation = new TDEToggleAction(i18n("Use &Animation"), 0, this, TQ_SLOT(slotToggleAnimation()), coll, "toggle_animation");
+ m_paExpertMode = new TDEToggleAction(i18n("&Expert Mode"),"tool_expert", 0, this, TQ_SLOT(slotToggleExpertMode()), coll, "expert_mode");
+ m_paUseLastDir = new TDEToggleAction(i18n("&Use-Last-Folder Mode"),"tool_uselastdir", 0, this, TQ_SLOT(slotToggleUseLastDir()), coll, "use_last_dir");
+ m_paAutoDisconnect = new TDEToggleAction(i18n("Auto-&Disconnect Mode"),"tool_disconnect", 0, this, TQ_SLOT(slotToggleAutoDisconnect()), coll, "auto_disconnect");
+ m_paAutoShutdown = new TDEToggleAction(i18n("Auto-S&hutdown Mode"), "tool_shutdown", 0, this, TQ_SLOT(slotToggleAutoShutdown()), coll, "auto_shutdown");
+ m_paOfflineMode = new TDEToggleAction(i18n("&Offline Mode"),"tool_offline_mode_off", 0, this, TQ_SLOT(slotToggleOfflineMode()), coll, "offline_mode");
+ m_paAutoPaste = new TDEToggleAction(i18n("Auto-Pas&te Mode"),"tool_clipboard", 0, this, TQ_SLOT(slotToggleAutoPaste()), coll, "auto_paste");
- m_paPreferences = KStdAction::preferences(this, TQT_SLOT(slotPreferences()), coll);
+ m_paPreferences = KStdAction::preferences(this, TQ_SLOT(slotPreferences()), coll);
- KStdAction::keyBindings(guiFactory(), TQT_SLOT(configureShortcuts()), coll);
- KStdAction::configureToolbars(this, TQT_SLOT(slotConfigureToolbars()), coll);
- KStdAction::configureNotifications(this, TQT_SLOT(slotConfigureNotifications()), coll);
+ KStdAction::keyBindings(guiFactory(), TQ_SLOT(configureShortcuts()), coll);
+ KStdAction::configureToolbars(this, TQ_SLOT(slotConfigureToolbars()), coll);
+ KStdAction::configureNotifications(this, TQ_SLOT(slotConfigureNotifications()), coll);
- m_menubarAction = KStdAction::showMenubar(this, TQT_SLOT(slotShowMenubar()), coll, "settings_showmenubar" );
+ m_menubarAction = KStdAction::showMenubar(this, TQ_SLOT(slotShowMenubar()), coll, "settings_showmenubar" );
m_menubarAction->setChecked( !menuBar()->isHidden() );
// view actions
createStandardStatusBarAction();
- m_paShowLog = new TDEToggleAction(i18n("Show &Log Window"),"tool_logwindow", 0, this, TQT_SLOT(slotToggleLogWindow()), coll, "toggle_log");
+ m_paShowLog = new TDEToggleAction(i18n("Show &Log Window"),"tool_logwindow", 0, this, TQ_SLOT(slotToggleLogWindow()), coll, "toggle_log");
m_paShowLog->setCheckedState(i18n("Hide &Log Window"));
- m_paDropTarget = new TDEAction(i18n("Show Drop &Target"),"tool_drop_target", 0, this, TQT_SLOT(slotToggleDropTarget()), coll, "drop_target");
- m_paKonquerorIntegration = new TDEAction(i18n("Enable &KGet as Konqueror Download Manager"), "konqueror", 0, this, TQT_SLOT(slotKonquerorIntegration()), coll, "konqueror_integration");
+ m_paDropTarget = new TDEAction(i18n("Show Drop &Target"),"tool_drop_target", 0, this, TQ_SLOT(slotToggleDropTarget()), coll, "drop_target");
+ m_paKonquerorIntegration = new TDEAction(i18n("Enable &KGet as Konqueror Download Manager"), "konqueror", 0, this, TQ_SLOT(slotKonquerorIntegration()), coll, "konqueror_integration");
if (ksettings.b_KonquerorIntegration) {
m_paKonquerorIntegration->setText(i18n("Disable &KGet as Konqueror Download Manager"));
}
menuHelp = new KHelpMenu(this, TDEGlobal::instance()->aboutData());
- KStdAction::whatsThis(menuHelp, TQT_SLOT(contextHelpActivated()), coll, "whats_this");
+ KStdAction::whatsThis(menuHelp, TQ_SLOT(contextHelpActivated()), coll, "whats_this");
createGUI("kgetui.rc");
@@ -510,7 +510,7 @@ void TDEMainWidget::slotConfigureToolbars()
saveMainWindowSettings( TDEGlobal::config(), "MainWindow" );
KEditToolbar edit(factory());
- connect(&edit, TQT_SIGNAL( newToolbarConfig() ), this, TQT_SLOT( slotNewToolbarConfig() ));
+ connect(&edit, TQ_SIGNAL( newToolbarConfig() ), this, TQ_SLOT( slotNewToolbarConfig() ));
edit.exec();
#ifdef _DEBUG
diff --git a/kget/transfer.cpp b/kget/transfer.cpp
index 6025c4cf..1da1b853 100644
--- a/kget/transfer.cpp
+++ b/kget/transfer.cpp
@@ -120,25 +120,25 @@ Transfer::init(const uint _id)
status = ST_STOPPED;
- connect(this, TQT_SIGNAL(statusChanged(Transfer *, int)), tdemain, TQT_SLOT(slotStatusChanged(Transfer *, int)));
- connect(this, TQT_SIGNAL(statusChanged(Transfer *, int)), this, TQT_SLOT(slotUpdateActions()));
+ connect(this, TQ_SIGNAL(statusChanged(Transfer *, int)), tdemain, TQ_SLOT(slotStatusChanged(Transfer *, int)));
+ connect(this, TQ_SIGNAL(statusChanged(Transfer *, int)), this, TQ_SLOT(slotUpdateActions()));
- connect(this, TQT_SIGNAL(log(uint, const TQString &, const TQString &)), tdemain->logwin(), TQT_SLOT(logTransfer(uint, const TQString &, const TQString &)));
+ connect(this, TQ_SIGNAL(log(uint, const TQString &, const TQString &)), tdemain->logwin(), TQ_SLOT(logTransfer(uint, const TQString &, const TQString &)));
// setup actions
- m_paResume = new TDEAction(i18n("&Resume"), "tool_resume", 0, this, TQT_SLOT(slotResume()), this, "resume");
+ m_paResume = new TDEAction(i18n("&Resume"), "tool_resume", 0, this, TQ_SLOT(slotResume()), this, "resume");
- m_paPause = new TDEAction(i18n("&Pause"), "tool_pause", 0, this, TQT_SLOT(slotRequestPause()), this, "pause");
+ m_paPause = new TDEAction(i18n("&Pause"), "tool_pause", 0, this, TQ_SLOT(slotRequestPause()), this, "pause");
- m_paDelete = new TDEAction(i18n("&Delete"), "edit-delete", 0, this, TQT_SLOT(slotRequestRemove()), this, "delete");
+ m_paDelete = new TDEAction(i18n("&Delete"), "edit-delete", 0, this, TQ_SLOT(slotRequestRemove()), this, "delete");
- m_paRestart = new TDEAction(i18n("Re&start"), "tool_restart", 0, this, TQT_SLOT(slotRequestRestart()), this, "restart");
+ m_paRestart = new TDEAction(i18n("Re&start"), "tool_restart", 0, this, TQ_SLOT(slotRequestRestart()), this, "restart");
- m_paQueue = new TDERadioAction(i18n("&Queue"), "tool_queue", 0, this, TQT_SLOT(slotQueue()), this, "queue");
+ m_paQueue = new TDERadioAction(i18n("&Queue"), "tool_queue", 0, this, TQ_SLOT(slotQueue()), this, "queue");
- m_paTimer = new TDERadioAction(i18n("&Timer"), "tool_timer", 0, this, TQT_SLOT(slotRequestSchedule()), this, "timer");
+ m_paTimer = new TDERadioAction(i18n("&Timer"), "tool_timer", 0, this, TQ_SLOT(slotRequestSchedule()), this, "timer");
- m_paDelay = new TDERadioAction(i18n("De&lay"), "tool_delay", 0, this, TQT_SLOT(slotRequestDelay()), this, "delay");
+ m_paDelay = new TDERadioAction(i18n("De&lay"), "tool_delay", 0, this, TQ_SLOT(slotRequestDelay()), this, "delay");
m_paQueue->setExclusiveGroup("TransferMode");
m_paTimer->setExclusiveGroup("TransferMode");
@@ -146,7 +146,7 @@ Transfer::init(const uint _id)
// Actions
- // m_paDock = new TDEAction(i18n("&Dock"),"tool_dock", 0, this,TQT_SLOT(slotRequestDelay()), this, "dockIndividual");
+ // m_paDock = new TDEAction(i18n("&Dock"),"tool_dock", 0, this,TQ_SLOT(slotRequestDelay()), this, "dockIndividual");
// setup individual transfer dialog
diff --git a/kget/transferlist.cpp b/kget/transferlist.cpp
index d6acafc1..3fed43b6 100644
--- a/kget/transferlist.cpp
+++ b/kget/transferlist.cpp
@@ -113,8 +113,8 @@ TransferList::TransferList(TQWidget * parent, const char *name)
phasesNum = animConn.count();
- connect(this, TQT_SIGNAL(doubleClicked(TQListViewItem *)), TQT_SLOT(slotTransferSelected(TQListViewItem *)));
- connect(this, TQT_SIGNAL(rightButtonPressed(TQListViewItem *, const TQPoint &, int)), TQT_SLOT(slotPopupMenu(TQListViewItem *)));
+ connect(this, TQ_SIGNAL(doubleClicked(TQListViewItem *)), TQ_SLOT(slotTransferSelected(TQListViewItem *)));
+ connect(this, TQ_SIGNAL(rightButtonPressed(TQListViewItem *, const TQPoint &, int)), TQ_SLOT(slotPopupMenu(TQListViewItem *)));
}