@ -342,65 +342,65 @@ void TDEMainWidget::setupGUI()
connect ( myTransferList , TQT_SIGNAL ( popupMenu ( Transfer * ) ) , this , TQT_SLOT ( slotPopupMenu ( Transfer * ) ) ) ;
// file actions
m_paOpenTransfer = KStdAction : : open ( TQT_TQOBJECT ( this ) , TQT_SLOT ( slotOpenTransfer ( ) ) , coll , " open_transfer " ) ;
m_paPasteTransfer = KStdAction : : paste ( TQT_TQOBJECT ( this ) , TQT_SLOT ( slotPasteTransfer ( ) ) , coll , " paste_transfer " ) ;
m_paOpenTransfer = KStdAction : : open ( this , TQT_SLOT ( slotOpenTransfer ( ) ) , coll , " open_transfer " ) ;
m_paPasteTransfer = KStdAction : : paste ( this , TQT_SLOT ( slotPasteTransfer ( ) ) , coll , " paste_transfer " ) ;
m_paExportTransfers = new TDEAction ( i18n ( " &Export Transfer List... " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotExportTransfers ( ) ) , coll , " export_transfers " ) ;
m_paImportTransfers = new TDEAction ( i18n ( " &Import Transfer List... " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotImportTransfers ( ) ) , coll , " import_transfers " ) ;
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_paImportText = new TDEAction ( i18n ( " Import Text &File... " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotImportTextFile ( ) ) , coll , " import_text " ) ;
m_paImportText = new TDEAction ( i18n ( " Import Text &File... " ) , 0 , this , TQT_SLOT ( slotImportTextFile ( ) ) , coll , " import_text " ) ;
m_paQuit = KStdAction : : quit ( TQT_TQOBJECT ( this ) , TQT_SLOT ( slotQuit ( ) ) , coll , " quit " ) ;
m_paQuit = KStdAction : : quit ( this , TQT_SLOT ( slotQuit ( ) ) , coll , " quit " ) ;
// transfer actions
m_paCopy = new TDEAction ( i18n ( " &Copy URL to Clipboard " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotCopyToClipboard ( ) ) , coll , " copy_url " ) ;
m_paIndividual = new TDEAction ( i18n ( " &Open Individual Window " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotOpenIndividual ( ) ) , coll , " open_individual " ) ;
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_paMoveToBegin = new TDEAction ( i18n ( " Move to &Beginning " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotMoveToBegin ( ) ) , coll , " move_begin " ) ;
m_paMoveToBegin = new TDEAction ( i18n ( " Move to &Beginning " ) , 0 , this , TQT_SLOT ( slotMoveToBegin ( ) ) , coll , " move_begin " ) ;
m_paMoveToEnd = new TDEAction ( i18n ( " Move to &End " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotMoveToEnd ( ) ) , coll , " move_end " ) ;
m_paMoveToEnd = new TDEAction ( i18n ( " Move to &End " ) , 0 , this , TQT_SLOT ( slotMoveToEnd ( ) ) , coll , " move_end " ) ;
# ifdef _DEBUG
sDebug < < " Loading pics " < < endl ;
# endif
m_paResume = new TDEAction ( i18n ( " &Resume " ) , " tool_resume " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotResumeCurrent ( ) ) , coll , " resume " ) ;
m_paPause = new TDEAction ( i18n ( " &Pause " ) , " tool_pause " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotPauseCurrent ( ) ) , coll , " pause " ) ;
m_paDelete = new TDEAction ( i18n ( " &Delete " ) , " edit-delete " , TQt : : Key_Delete , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotDeleteCurrent ( ) ) , coll , " delete " ) ;
m_paRestart = new TDEAction ( i18n ( " Re&start " ) , " tool_restart " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotRestartCurrent ( ) ) , coll , " restart " ) ;
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_paQueue = new TDERadioAction ( i18n ( " &Queue " ) , " tool_queue " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotQueueCurrent ( ) ) , coll , " queue " ) ;
m_paTimer = new TDERadioAction ( i18n ( " &Timer " ) , " tool_timer " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotTimerCurrent ( ) ) , coll , " timer " ) ;
m_paDelay = new TDERadioAction ( i18n ( " De&lay " ) , " tool_delay " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotDelayCurrent ( ) ) , coll , " delay " ) ;
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 - > setExclusiveGroup ( " TransferMode " ) ;
m_paTimer - > setExclusiveGroup ( " TransferMode " ) ;
m_paDelay - > setExclusiveGroup ( " TransferMode " ) ;
// options actions
m_paUseAnimation = new TDEToggleAction ( i18n ( " Use &Animation " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleAnimation ( ) ) , coll , " toggle_animation " ) ;
m_paExpertMode = new TDEToggleAction ( i18n ( " &Expert Mode " ) , " tool_expert " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleExpertMode ( ) ) , coll , " expert_mode " ) ;
m_paUseLastDir = new TDEToggleAction ( i18n ( " &Use-Last-Folder Mode " ) , " tool_uselastdir " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleUseLastDir ( ) ) , coll , " use_last_dir " ) ;
m_paAutoDisconnect = new TDEToggleAction ( i18n ( " Auto-&Disconnect Mode " ) , " tool_disconnect " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleAutoDisconnect ( ) ) , coll , " auto_disconnect " ) ;
m_paAutoShutdown = new TDEToggleAction ( i18n ( " Auto-S&hutdown Mode " ) , " tool_shutdown " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleAutoShutdown ( ) ) , coll , " auto_shutdown " ) ;
m_paOfflineMode = new TDEToggleAction ( i18n ( " &Offline Mode " ) , " tool_offline_mode_off " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleOfflineMode ( ) ) , coll , " offline_mode " ) ;
m_paAutoPaste = new TDEToggleAction ( i18n ( " Auto-Pas&te Mode " ) , " tool_clipboard " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleAutoPaste ( ) ) , coll , " auto_paste " ) ;
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_paPreferences = KStdAction : : preferences ( TQT_TQOBJECT ( this ) , TQT_SLOT ( slotPreferences ( ) ) , coll ) ;
m_paPreferences = KStdAction : : preferences ( this , TQT_SLOT ( slotPreferences ( ) ) , coll ) ;
KStdAction : : keyBindings ( guiFactory ( ) , TQT_SLOT ( configureShortcuts ( ) ) , coll ) ;
KStdAction : : configureToolbars ( TQT_TQOBJECT ( this ) , TQT_SLOT ( slotConfigureToolbars ( ) ) , coll ) ;
KStdAction : : configureNotifications ( TQT_TQOBJECT ( this ) , TQT_SLOT ( slotConfigureNotifications ( ) ) , coll ) ;
KStdAction : : configureToolbars ( this , TQT_SLOT ( slotConfigureToolbars ( ) ) , coll ) ;
KStdAction : : configureNotifications ( this , TQT_SLOT ( slotConfigureNotifications ( ) ) , coll ) ;
m_menubarAction = KStdAction : : showMenubar ( TQT_TQOBJECT ( this ) , TQT_SLOT ( slotShowMenubar ( ) ) , coll , " settings_showmenubar " ) ;
m_menubarAction = KStdAction : : showMenubar ( this , TQT_SLOT ( slotShowMenubar ( ) ) , coll , " settings_showmenubar " ) ;
m_menubarAction - > setChecked ( ! menuBar ( ) - > isHidden ( ) ) ;
// view actions
createStandardStatusBarAction ( ) ;
m_paShowLog = new TDEToggleAction ( i18n ( " Show &Log Window " ) , " tool_logwindow " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleLogWindow ( ) ) , coll , " toggle_log " ) ;
m_paShowLog = new TDEToggleAction ( i18n ( " Show &Log Window " ) , " tool_logwindow " , 0 , this , TQT_SLOT ( slotToggleLogWindow ( ) ) , coll , " toggle_log " ) ;
m_paShowLog - > setCheckedState ( i18n ( " Hide &Log Window " ) ) ;
m_paDropTarget = new TDEAction ( i18n ( " Show Drop &Target " ) , " tool_drop_target " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleDropTarget ( ) ) , coll , " drop_target " ) ;
m_paKonquerorIntegration = new TDEAction ( i18n ( " Enable &KGet as Konqueror Download Manager " ) , " konqueror " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotKonquerorIntegration ( ) ) , coll , " konqueror_integration " ) ;
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 " ) ;
if ( ksettings . b_KonquerorIntegration ) {
m_paKonquerorIntegration - > setText ( i18n ( " Disable &KGet as Konqueror Download Manager " ) ) ;
}