@ -99,7 +99,7 @@ struct KURLPair
KURL src ;
} ;
K MainWidget * kmain = 0L ;
TDE MainWidget * kmain = 0L ;
# define LOAD_ICON(X) TDEGlobal::iconLoader()->loadIcon(X, KIcon::MainToolbar)
@ -118,9 +118,9 @@ int ddp_sock = -1; /* Appletalk DDP socket */
KMainWidget: : K MainWidget( bool bStartDocked )
TDEMainWidget: : TDE MainWidget( bool bStartDocked )
: KGetIface ( " KGet-Interface " ) ,
K MainWindow( 0 , " kget mainwindow " , 0 ) ,
TDE MainWindow( 0 , " kget mainwindow " , 0 ) ,
prefDlg ( 0 ) , kdock ( 0 )
{
# ifdef _DEBUG
@ -273,7 +273,7 @@ KMainWidget::KMainWidget(bool bStartDocked)
}
KMainWidget: : ~ K MainWidget( )
TDEMainWidget: : ~ TDE MainWidget( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -291,7 +291,7 @@ KMainWidget::~KMainWidget()
}
void K MainWidget: : log ( const TQString & message , bool statusbar )
void TDE MainWidget: : log ( const TQString & message , bool statusbar )
{
# ifdef _DEBUG
sDebugIn < < " message= " < < message < < endl ;
@ -309,7 +309,7 @@ void KMainWidget::log(const TQString & message, bool statusbar)
}
void K MainWidget: : slotSaveYourself ( )
void TDE MainWidget: : slotSaveYourself ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -324,7 +324,7 @@ void KMainWidget::slotSaveYourself()
}
void K MainWidget: : setupGUI ( )
void TDE MainWidget: : setupGUI ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -335,7 +335,7 @@ void KMainWidget::setupGUI()
myTransferList - > setSorting ( - 1 ) ;
setListFont ( ) ;
K ActionCollection * coll = actionCollection ( ) ;
TDE ActionCollection * coll = actionCollection ( ) ;
connect ( myTransferList , TQT_SIGNAL ( selectionChanged ( ) ) , this , TQT_SLOT ( slotUpdateActions ( ) ) ) ;
connect ( myTransferList , TQT_SIGNAL ( transferSelected ( Transfer * ) ) , this , TQT_SLOT ( slotOpenIndividual ( ) ) ) ;
@ -345,45 +345,45 @@ void KMainWidget::setupGUI()
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_paExportTransfers = new K Action( i18n ( " &Export Transfer List... " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotExportTransfers ( ) ) , coll , " export_transfers " ) ;
m_paImportTransfers = new K Action( i18n ( " &Import Transfer List... " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotImportTransfers ( ) ) , coll , " import_transfers " ) ;
m_paExportTransfers = new TDE Action( i18n ( " &Export Transfer List... " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotExportTransfers ( ) ) , coll , " export_transfers " ) ;
m_paImportTransfers = new TDE Action( i18n ( " &Import Transfer List... " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotImportTransfers ( ) ) , coll , " import_transfers " ) ;
m_paImportText = new K Action( i18n ( " Import Text &File... " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotImportTextFile ( ) ) , coll , " import_text " ) ;
m_paImportText = new TDE Action( i18n ( " Import Text &File... " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotImportTextFile ( ) ) , coll , " import_text " ) ;
m_paQuit = KStdAction : : quit ( TQT_TQOBJECT ( this ) , TQT_SLOT ( slotQuit ( ) ) , coll , " quit " ) ;
// transfer actions
m_paCopy = new K Action( i18n ( " &Copy URL to Clipboard " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotCopyToClipboard ( ) ) , coll , " copy_url " ) ;
m_paIndividual = new K Action( i18n ( " &Open Individual Window " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotOpenIndividual ( ) ) , coll , " open_individual " ) ;
m_paCopy = new TDE Action( i18n ( " &Copy URL to Clipboard " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotCopyToClipboard ( ) ) , coll , " copy_url " ) ;
m_paIndividual = new TDE Action( i18n ( " &Open Individual Window " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotOpenIndividual ( ) ) , coll , " open_individual " ) ;
m_paMoveToBegin = new K Action( i18n ( " Move to &Beginning " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotMoveToBegin ( ) ) , coll , " move_begin " ) ;
m_paMoveToBegin = new TDE Action( i18n ( " Move to &Beginning " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotMoveToBegin ( ) ) , coll , " move_begin " ) ;
m_paMoveToEnd = new K Action( i18n ( " Move to &End " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotMoveToEnd ( ) ) , coll , " move_end " ) ;
m_paMoveToEnd = new TDE Action( i18n ( " Move to &End " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotMoveToEnd ( ) ) , coll , " move_end " ) ;
# ifdef _DEBUG
sDebug < < " Loading pics " < < endl ;
# endif
m_paResume = new K Action( i18n ( " &Resume " ) , " tool_resume " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotResumeCurrent ( ) ) , coll , " resume " ) ;
m_paPause = new K Action( i18n ( " &Pause " ) , " tool_pause " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotPauseCurrent ( ) ) , coll , " pause " ) ;
m_paDelete = new K Action( i18n ( " &Delete " ) , " editdelete " , TQt : : Key_Delete , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotDeleteCurrent ( ) ) , coll , " delete " ) ;
m_paRestart = new K Action( i18n ( " Re&start " ) , " tool_restart " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotRestartCurrent ( ) ) , coll , " restart " ) ;
m_paResume = new TDE Action( i18n ( " &Resume " ) , " tool_resume " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotResumeCurrent ( ) ) , coll , " resume " ) ;
m_paPause = new TDE Action( i18n ( " &Pause " ) , " tool_pause " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotPauseCurrent ( ) ) , coll , " pause " ) ;
m_paDelete = new TDE Action( i18n ( " &Delete " ) , " editdelete " , TQt : : Key_Delete , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotDeleteCurrent ( ) ) , coll , " delete " ) ;
m_paRestart = new TDE Action( i18n ( " Re&start " ) , " tool_restart " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotRestartCurrent ( ) ) , coll , " restart " ) ;
m_paQueue = new K RadioAction( i18n ( " &Queue " ) , " tool_queue " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotQueueCurrent ( ) ) , coll , " queue " ) ;
m_paTimer = new K RadioAction( i18n ( " &Timer " ) , " tool_timer " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotTimerCurrent ( ) ) , coll , " timer " ) ;
m_paDelay = new K RadioAction( i18n ( " De&lay " ) , " tool_delay " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotDelayCurrent ( ) ) , coll , " delay " ) ;
m_paQueue = new TDE RadioAction( i18n ( " &Queue " ) , " tool_queue " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotQueueCurrent ( ) ) , coll , " queue " ) ;
m_paTimer = new TDE RadioAction( i18n ( " &Timer " ) , " tool_timer " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotTimerCurrent ( ) ) , coll , " timer " ) ;
m_paDelay = new TDE RadioAction( i18n ( " De&lay " ) , " tool_delay " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotDelayCurrent ( ) ) , coll , " delay " ) ;
m_paQueue - > setExclusiveGroup ( " TransferMode " ) ;
m_paTimer - > setExclusiveGroup ( " TransferMode " ) ;
m_paDelay - > setExclusiveGroup ( " TransferMode " ) ;
// options actions
m_paUseAnimation = new K ToggleAction( i18n ( " Use &Animation " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleAnimation ( ) ) , coll , " toggle_animation " ) ;
m_paExpertMode = new K ToggleAction( i18n ( " &Expert Mode " ) , " tool_expert " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleExpertMode ( ) ) , coll , " expert_mode " ) ;
m_paUseLastDir = new K ToggleAction( i18n ( " &Use-Last-Folder Mode " ) , " tool_uselastdir " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleUseLastDir ( ) ) , coll , " use_last_dir " ) ;
m_paAutoDisconnect = new K ToggleAction( i18n ( " Auto-&Disconnect Mode " ) , " tool_disconnect " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleAutoDisconnect ( ) ) , coll , " auto_disconnect " ) ;
m_paAutoShutdown = new K ToggleAction( i18n ( " Auto-S&hutdown Mode " ) , " tool_shutdown " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleAutoShutdown ( ) ) , coll , " auto_shutdown " ) ;
m_paOfflineMode = new K ToggleAction( i18n ( " &Offline Mode " ) , " tool_offline_mode_off " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleOfflineMode ( ) ) , coll , " offline_mode " ) ;
m_paAutoPaste = new K ToggleAction( i18n ( " Auto-Pas&te Mode " ) , " tool_clipboard " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleAutoPaste ( ) ) , coll , " auto_paste " ) ;
m_paUseAnimation = new TDE ToggleAction( i18n ( " Use &Animation " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleAnimation ( ) ) , coll , " toggle_animation " ) ;
m_paExpertMode = new TDE ToggleAction( i18n ( " &Expert Mode " ) , " tool_expert " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleExpertMode ( ) ) , coll , " expert_mode " ) ;
m_paUseLastDir = new TDE ToggleAction( i18n ( " &Use-Last-Folder Mode " ) , " tool_uselastdir " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleUseLastDir ( ) ) , coll , " use_last_dir " ) ;
m_paAutoDisconnect = new TDE ToggleAction( i18n ( " Auto-&Disconnect Mode " ) , " tool_disconnect " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleAutoDisconnect ( ) ) , coll , " auto_disconnect " ) ;
m_paAutoShutdown = new TDE ToggleAction( i18n ( " Auto-S&hutdown Mode " ) , " tool_shutdown " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleAutoShutdown ( ) ) , coll , " auto_shutdown " ) ;
m_paOfflineMode = new TDE ToggleAction( i18n ( " &Offline Mode " ) , " tool_offline_mode_off " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleOfflineMode ( ) ) , coll , " offline_mode " ) ;
m_paAutoPaste = new TDE ToggleAction( i18n ( " Auto-Pas&te Mode " ) , " tool_clipboard " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleAutoPaste ( ) ) , coll , " auto_paste " ) ;
m_paPreferences = KStdAction : : preferences ( TQT_TQOBJECT ( this ) , TQT_SLOT ( slotPreferences ( ) ) , coll ) ;
@ -397,10 +397,10 @@ void KMainWidget::setupGUI()
// view actions
createStandardStatusBarAction ( ) ;
m_paShowLog = new K ToggleAction( i18n ( " Show &Log Window " ) , " tool_logwindow " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleLogWindow ( ) ) , coll , " toggle_log " ) ;
m_paShowLog = new TDE ToggleAction( i18n ( " Show &Log Window " ) , " tool_logwindow " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleLogWindow ( ) ) , coll , " toggle_log " ) ;
m_paShowLog - > setCheckedState ( i18n ( " Hide &Log Window " ) ) ;
m_paDropTarget = new K Action( i18n ( " Show Drop &Target " ) , " tool_drop_target " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleDropTarget ( ) ) , coll , " drop_target " ) ;
m_paKonquerorIntegration = new K Action( i18n ( " Enable &KGet as Konqueror Download Manager " ) , " konqueror " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotKonquerorIntegration ( ) ) , coll , " konqueror_integration " ) ;
m_paDropTarget = new TDE Action( i18n ( " Show Drop &Target " ) , " tool_drop_target " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotToggleDropTarget ( ) ) , coll , " drop_target " ) ;
m_paKonquerorIntegration = new TDE Action( i18n ( " Enable &KGet as Konqueror Download Manager " ) , " konqueror " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotKonquerorIntegration ( ) ) , coll , " konqueror_integration " ) ;
if ( ksettings . b_KonquerorIntegration ) {
m_paKonquerorIntegration - > setText ( i18n ( " Disable &KGet as Konqueror Download Manager " ) ) ;
}
@ -429,7 +429,7 @@ void KMainWidget::setupGUI()
}
void K MainWidget: : setupWhatsThis ( )
void TDE MainWidget: : setupWhatsThis ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -502,7 +502,7 @@ void KMainWidget::setupWhatsThis()
}
void K MainWidget: : slotConfigureToolbars ( )
void TDE MainWidget: : slotConfigureToolbars ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -519,7 +519,7 @@ void KMainWidget::slotConfigureToolbars()
}
void K MainWidget: : slotNewToolbarConfig ( )
void TDE MainWidget: : slotNewToolbarConfig ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -534,7 +534,7 @@ void KMainWidget::slotNewToolbarConfig()
}
void K MainWidget: : slotImportTextFile ( )
void TDE MainWidget: : slotImportTextFile ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -567,7 +567,7 @@ void KMainWidget::slotImportTextFile()
}
void K MainWidget: : slotImportTransfers ( )
void TDE MainWidget: : slotImportTransfers ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -581,7 +581,7 @@ void KMainWidget::slotImportTransfers()
}
void K MainWidget: : readTransfers ( bool ask_for_name )
void TDE MainWidget: : readTransfers ( bool ask_for_name )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -601,7 +601,7 @@ void KMainWidget::readTransfers(bool ask_for_name)
# endif
}
void K MainWidget: : readTransfersEx ( const KURL & file )
void TDE MainWidget: : readTransfersEx ( const KURL & file )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -629,7 +629,7 @@ void KMainWidget::readTransfersEx(const KURL & file)
}
void K MainWidget: : slotExportTransfers ( )
void TDE MainWidget: : slotExportTransfers ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -642,7 +642,7 @@ void KMainWidget::slotExportTransfers()
# endif
}
void K MainWidget: : writeTransfers ( bool ask_for_name )
void TDE MainWidget: : writeTransfers ( bool ask_for_name )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -680,7 +680,7 @@ void KMainWidget::writeTransfers(bool ask_for_name)
}
void K MainWidget: : writeLog ( )
void TDE MainWidget: : writeLog ( )
{
# ifdef _DEBUG
sDebugIn < < " Writing log to file : " < < logFileName . ascii ( ) < < endl ;
@ -695,7 +695,7 @@ void KMainWidget::writeLog()
}
void K MainWidget: : slotQuit ( )
void TDE MainWidget: : slotQuit ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -730,7 +730,7 @@ void KMainWidget::slotQuit()
}
void K MainWidget: : slotResumeCurrent ( )
void TDE MainWidget: : slotResumeCurrent ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -750,7 +750,7 @@ void KMainWidget::slotResumeCurrent()
}
void K MainWidget: : slotPauseCurrent ( )
void TDE MainWidget: : slotPauseCurrent ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -775,7 +775,7 @@ void KMainWidget::slotPauseCurrent()
void K MainWidget: : slotRestartCurrent ( )
void TDE MainWidget: : slotRestartCurrent ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -795,7 +795,7 @@ void KMainWidget::slotRestartCurrent()
}
void K MainWidget: : slotDeleteCurrent ( )
void TDE MainWidget: : slotDeleteCurrent ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -867,7 +867,7 @@ void KMainWidget::slotDeleteCurrent()
}
void K MainWidget: : stopAll ( )
void TDE MainWidget: : stopAll ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -890,7 +890,7 @@ void KMainWidget::stopAll()
}
void K MainWidget: : slotQueueCurrent ( )
void TDE MainWidget: : slotQueueCurrent ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -913,7 +913,7 @@ void KMainWidget::slotQueueCurrent()
}
void K MainWidget: : slotTimerCurrent ( )
void TDE MainWidget: : slotTimerCurrent ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -933,7 +933,7 @@ void KMainWidget::slotTimerCurrent()
}
void K MainWidget: : slotDelayCurrent ( )
void TDE MainWidget: : slotDelayCurrent ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -951,7 +951,7 @@ void KMainWidget::slotDelayCurrent()
}
void K MainWidget: : slotOpenTransfer ( )
void TDE MainWidget: : slotOpenTransfer ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -991,7 +991,7 @@ void KMainWidget::slotOpenTransfer()
void K MainWidget: : slotCheckClipboard ( )
void TDE MainWidget: : slotCheckClipboard ( )
{
# ifdef _DEBUG
//sDebugIn << endl;
@ -1018,7 +1018,7 @@ void KMainWidget::slotCheckClipboard()
}
void K MainWidget: : slotPasteTransfer ( )
void TDE MainWidget: : slotPasteTransfer ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1054,7 +1054,7 @@ void KMainWidget::slotPasteTransfer()
// destFile must be a filename, not a directory! And it will be deleted, if
// it exists already, without further notice.
void K MainWidget: : addTransferEx ( const KURL & url , const KURL & destFile )
void TDE MainWidget: : addTransferEx ( const KURL & url , const KURL & destFile )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1156,7 +1156,7 @@ void KMainWidget::addTransferEx(const KURL& url, const KURL& destFile)
}
void K MainWidget: : addTransfers ( const KURL : : List & src , const TQString & destDir )
void TDE MainWidget: : addTransfers ( const KURL : : List & src , const TQString & destDir )
{
TQValueList < KURLPair > urls_orig ;
@ -1327,7 +1327,7 @@ void KMainWidget::addTransfers( const KURL::List& src, const TQString& destDir )
checkQueue ( ) ;
}
void K MainWidget: : addTransfer ( const TQString & src )
void TDE MainWidget: : addTransfer ( const TQString & src )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1345,7 +1345,7 @@ void KMainWidget::addTransfer(const TQString& src)
}
void K MainWidget: : checkQueue ( )
void TDE MainWidget: : checkQueue ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1406,7 +1406,7 @@ void KMainWidget::checkQueue()
}
void K MainWidget: : slotAnimTimeout ( )
void TDE MainWidget: : slotAnimTimeout ( )
{
# ifdef _DEBUG
//sDebugIn << endl;
@ -1432,7 +1432,7 @@ void KMainWidget::slotAnimTimeout()
}
void K MainWidget: : slotTransferTimeout ( )
void TDE MainWidget: : slotTransferTimeout ( )
{
# ifdef _DEBUG
//sDebugIn << endl;
@ -1465,7 +1465,7 @@ void KMainWidget::slotTransferTimeout()
}
void K MainWidget: : slotAutosaveTimeout ( )
void TDE MainWidget: : slotAutosaveTimeout ( )
{
# ifdef _DEBUG
//sDebugIn << endl;
@ -1479,7 +1479,7 @@ void KMainWidget::slotAutosaveTimeout()
}
void K MainWidget: : slotStatusChanged ( Transfer * item , int _operation )
void TDE MainWidget: : slotStatusChanged ( Transfer * item , int _operation )
{
# ifdef _DEBUG
//sDebugIn << endl;
@ -1551,7 +1551,7 @@ void KMainWidget::slotStatusChanged(Transfer * item, int _operation)
}
void K MainWidget: : dragEnterEvent ( TQDragEnterEvent * event )
void TDE MainWidget: : dragEnterEvent ( TQDragEnterEvent * event )
{
# ifdef _DEBUG
//sDebugIn << endl;
@ -1565,7 +1565,7 @@ void KMainWidget::dragEnterEvent(TQDragEnterEvent * event)
}
void K MainWidget: : dropEvent ( TQDropEvent * event )
void TDE MainWidget: : dropEvent ( TQDropEvent * event )
{
# ifdef _DEBUG
//sDebugIn << endl;
@ -1583,7 +1583,7 @@ void KMainWidget::dropEvent(TQDropEvent * event)
}
void K MainWidget: : slotCopyToClipboard ( )
void TDE MainWidget: : slotCopyToClipboard ( )
{
# ifdef _DEBUG
//sDebugIn << endl;
@ -1605,7 +1605,7 @@ void KMainWidget::slotCopyToClipboard()
}
void K MainWidget: : slotMoveToBegin ( )
void TDE MainWidget: : slotMoveToBegin ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1620,7 +1620,7 @@ void KMainWidget::slotMoveToBegin()
}
void K MainWidget: : slotMoveToEnd ( )
void TDE MainWidget: : slotMoveToEnd ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1634,7 +1634,7 @@ void KMainWidget::slotMoveToEnd()
}
void K MainWidget: : slotOpenIndividual ( )
void TDE MainWidget: : slotOpenIndividual ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1650,7 +1650,7 @@ void KMainWidget::slotOpenIndividual()
# endif
}
bool K MainWidget: : queryClose ( )
bool TDE MainWidget: : queryClose ( )
{
if ( kapp - > sessionSaving ( ) )
return true ;
@ -1658,7 +1658,7 @@ bool KMainWidget::queryClose()
return false ;
}
void K MainWidget: : setAutoSave ( )
void TDE MainWidget: : setAutoSave ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1676,7 +1676,7 @@ void KMainWidget::setAutoSave()
void K MainWidget: : setAutoDisconnect ( )
void TDE MainWidget: : setAutoDisconnect ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1690,7 +1690,7 @@ void KMainWidget::setAutoDisconnect()
# endif
}
void K MainWidget: : slotPreferences ( )
void TDE MainWidget: : slotPreferences ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1706,12 +1706,12 @@ void KMainWidget::slotPreferences()
# endif
}
void K MainWidget: : slotConfigureNotifications ( )
void TDE MainWidget: : slotConfigureNotifications ( )
{
KNotifyDialog : : configure ( this ) ;
}
void K MainWidget: : slotToggleLogWindow ( )
void TDE MainWidget: : slotToggleLogWindow ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1729,7 +1729,7 @@ void KMainWidget::slotToggleLogWindow()
}
void K MainWidget: : slotToggleAnimation ( )
void TDE MainWidget: : slotToggleAnimation ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1751,7 +1751,7 @@ void KMainWidget::slotToggleAnimation()
# endif
}
void K MainWidget: : slotToggleOfflineMode ( )
void TDE MainWidget: : slotToggleOfflineMode ( )
{
# ifdef _DEBUG
sDebugIn " ksettings.b_offlineMode = " < < ksettings . b_offlineMode < < endl ;
@ -1781,7 +1781,7 @@ void KMainWidget::slotToggleOfflineMode()
}
void K MainWidget: : slotToggleExpertMode ( )
void TDE MainWidget: : slotToggleExpertMode ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1802,7 +1802,7 @@ void KMainWidget::slotToggleExpertMode()
}
void K MainWidget: : slotToggleUseLastDir ( )
void TDE MainWidget: : slotToggleUseLastDir ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1822,7 +1822,7 @@ void KMainWidget::slotToggleUseLastDir()
}
void K MainWidget: : slotToggleAutoDisconnect ( )
void TDE MainWidget: : slotToggleAutoDisconnect ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1843,7 +1843,7 @@ void KMainWidget::slotToggleAutoDisconnect()
}
void K MainWidget: : slotToggleAutoShutdown ( )
void TDE MainWidget: : slotToggleAutoShutdown ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1866,7 +1866,7 @@ void KMainWidget::slotToggleAutoShutdown()
}
void K MainWidget: : slotToggleAutoPaste ( )
void TDE MainWidget: : slotToggleAutoPaste ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1889,7 +1889,7 @@ void KMainWidget::slotToggleAutoPaste()
}
void K MainWidget: : slotToggleDropTarget ( )
void TDE MainWidget: : slotToggleDropTarget ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1913,7 +1913,7 @@ void KMainWidget::slotToggleDropTarget()
}
void K MainWidget: : slotKonquerorIntegration ( )
void TDE MainWidget: : slotKonquerorIntegration ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1940,7 +1940,7 @@ void KMainWidget::slotKonquerorIntegration()
}
void K MainWidget: : slotPopupMenu ( Transfer * item )
void TDE MainWidget: : slotPopupMenu ( Transfer * item )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1963,7 +1963,7 @@ void KMainWidget::slotPopupMenu(Transfer * item)
}
void K MainWidget: : setListFont ( )
void TDE MainWidget: : setListFont ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -1976,7 +1976,7 @@ void KMainWidget::setListFont()
# endif
}
void K MainWidget: : slotUpdateActions ( )
void TDE MainWidget: : slotUpdateActions ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -2137,7 +2137,7 @@ void KMainWidget::slotUpdateActions()
}
void K MainWidget: : updateStatusBar ( )
void TDE MainWidget: : updateStatusBar ( )
{
# ifdef _DEBUG
//sDebugIn << endl;
@ -2201,7 +2201,7 @@ void KMainWidget::updateStatusBar()
}
void K MainWidget: : onlineDisconnect ( )
void TDE MainWidget: : onlineDisconnect ( )
{
# ifdef _DEBUG
sDebugIn < < endl ;
@ -2229,7 +2229,7 @@ void KMainWidget::onlineDisconnect()
}
void K MainWidget: : slotCheckConnection ( )
void TDE MainWidget: : slotCheckConnection ( )
{
# ifdef _DEBUG
//sDebugIn << endl;
@ -2255,7 +2255,7 @@ void KMainWidget::slotCheckConnection()
}
void K MainWidget: : checkOnline ( )
void TDE MainWidget: : checkOnline ( )
{
# ifdef _DEBUG
//sDebugIn << endl;
@ -2351,7 +2351,7 @@ static int sockets_open()
/** No descriptions */
void K MainWidget: : customEvent ( TQCustomEvent * _e )
void TDE MainWidget: : customEvent ( TQCustomEvent * _e )
{
# ifdef _DEBUG
//sDebugIn << endl;
@ -2433,7 +2433,7 @@ void KMainWidget::customEvent(TQCustomEvent * _e)
# endif
}
TQString K MainWidget: : getSaveDirectoryFor ( const TQString & filename ) const
TQString TDE MainWidget: : getSaveDirectoryFor ( const TQString & filename ) const
{
// first set destination directory to current directory ( which is also last used )
TQString destDir = ksettings . lastDirectory ;
@ -2456,7 +2456,7 @@ TQString KMainWidget::getSaveDirectoryFor( const TQString& filename ) const
return destDir ;
}
bool K MainWidget: : sanityChecksSuccessful ( const KURL & url )
bool TDE MainWidget: : sanityChecksSuccessful ( const KURL & url )
{
if ( ! url . isValid ( ) | | ! KProtocolInfo : : supportsReading ( url ) )
{
@ -2508,12 +2508,12 @@ bool KMainWidget::sanityChecksSuccessful( const KURL& url )
return true ;
}
bool K MainWidget: : isDropTargetVisible ( ) const
bool TDE MainWidget: : isDropTargetVisible ( ) const
{
return m_showDropTarget ;
}
void K MainWidget: : setDropTargetVisible ( bool setVisible )
void TDE MainWidget: : setDropTargetVisible ( bool setVisible )
{
if ( setVisible ! = isDropTargetVisible ( ) )
{
@ -2521,23 +2521,23 @@ void KMainWidget::setDropTargetVisible( bool setVisible )
}
}
void K MainWidget: : setOfflineMode ( bool offline )
void TDE MainWidget: : setOfflineMode ( bool offline )
{
if ( ksettings . b_offlineMode ! = offline )
slotToggleOfflineMode ( ) ;
}
bool K MainWidget: : isOfflineMode ( ) const
bool TDE MainWidget: : isOfflineMode ( ) const
{
return ksettings . b_offlineMode ;
}
void K MainWidget: : activateDropTarget ( )
void TDE MainWidget: : activateDropTarget ( )
{
setDropTargetVisible ( true ) ;
}
void K MainWidget: : slotShowMenubar ( )
void TDE MainWidget: : slotShowMenubar ( )
{
if ( m_menubarAction - > isChecked ( ) )
menuBar ( ) - > show ( ) ;