summaryrefslogtreecommitdiffstats
path: root/src/app/mainWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/mainWindow.cpp')
-rw-r--r--src/app/mainWindow.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/app/mainWindow.cpp b/src/app/mainWindow.cpp
index fc855dd..d1ae91f 100644
--- a/src/app/mainWindow.cpp
+++ b/src/app/mainWindow.cpp
@@ -57,13 +57,13 @@ MainWindow::MainWindow()
KMessageBox::error( this, i18n("Filelight is not installed properly, consequently its menus and toolbars will appear reduced or even empty") );
delete buttons;
- connect( m_part, TQT_SIGNAL(started( TDEIO::Job* )), TQT_SLOT(scanStarted()) );
- connect( m_part, TQT_SIGNAL(completed()), TQT_SLOT(scanCompleted()) );
- connect( m_part, TQT_SIGNAL(canceled( const TQString& )), TQT_SLOT(scanFailed()) );
+ connect( m_part, TQ_SIGNAL(started( TDEIO::Job* )), TQ_SLOT(scanStarted()) );
+ connect( m_part, TQ_SIGNAL(completed()), TQ_SLOT(scanCompleted()) );
+ connect( m_part, TQ_SIGNAL(canceled( const TQString& )), TQ_SLOT(scanFailed()) );
//TODO test these
- connect( m_part, TQT_SIGNAL(canceled( const TQString& )), m_histories, TQT_SLOT(stop()) );
- connect( BrowserExtension::childObject( m_part ), TQT_SIGNAL(openURLNotify()), TQT_SLOT(urlAboutToChange()) );
+ connect( m_part, TQ_SIGNAL(canceled( const TQString& )), m_histories, TQ_SLOT(stop()) );
+ connect( BrowserExtension::childObject( m_part ), TQ_SIGNAL(openURLNotify()), TQ_SLOT(urlAboutToChange()) );
TDEConfig* const config = TDEGlobal::config();
config->setGroup( "general" );
@@ -82,18 +82,18 @@ MainWindow::setupActions() //singleton function
m_combo->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ) );
m_combo->setDuplicatesEnabled( false );
- KStdAction::open( this, TQT_SLOT(slotScanDirectory()), ac, "scan_directory" );
- KStdAction::quit( this, TQT_SLOT(close()), ac );
- KStdAction::up( this, TQT_SLOT(slotUp()), ac );
- KStdAction::configureToolbars(this, TQT_SLOT(configToolbars()), ac);
- KStdAction::keyBindings(this, TQT_SLOT(configKeys()), ac);
+ KStdAction::open( this, TQ_SLOT(slotScanDirectory()), ac, "scan_directory" );
+ KStdAction::quit( this, TQ_SLOT(close()), ac );
+ KStdAction::up( this, TQ_SLOT(slotUp()), ac );
+ KStdAction::configureToolbars(this, TQ_SLOT(configToolbars()), ac);
+ KStdAction::keyBindings(this, TQ_SLOT(configKeys()), ac);
- new TDEAction( i18n( "Scan &Home Directory" ), "folder_home", CTRL+Key_Home, this, TQT_SLOT(slotScanHomeDirectory()), ac, "scan_home" );
- new TDEAction( i18n( "Scan &Root Directory" ), "folder_red", 0, this, TQT_SLOT(slotScanRootDirectory()), ac, "scan_root" );
- new TDEAction( i18n( "Rescan" ), "reload", TDEStdAccel::reload(), m_part, TQT_SLOT(rescan()), ac, "scan_rescan" );
- new TDEAction( i18n( "Stop" ), "process-stop", TQt::Key_Escape, this, TQT_SLOT(slotAbortScan()), ac, "scan_stop" );
- new TDEAction( i18n( "Clear Location Bar" ), TDEApplication::reverseLayout() ? "clear_left" : "locationbar_erase", 0, m_combo, TQT_SLOT(clearEdit()), ac, "clear_location" );
- new TDEAction( i18n( "Go" ), "key_enter", 0, m_combo, TQT_SIGNAL(returnPressed()), ac, "go" );
+ new TDEAction( i18n( "Scan &Home Directory" ), "folder_home", CTRL+Key_Home, this, TQ_SLOT(slotScanHomeDirectory()), ac, "scan_home" );
+ new TDEAction( i18n( "Scan &Root Directory" ), "folder_red", 0, this, TQ_SLOT(slotScanRootDirectory()), ac, "scan_root" );
+ new TDEAction( i18n( "Rescan" ), "reload", TDEStdAccel::reload(), m_part, TQ_SLOT(rescan()), ac, "scan_rescan" );
+ new TDEAction( i18n( "Stop" ), "process-stop", TQt::Key_Escape, this, TQ_SLOT(slotAbortScan()), ac, "scan_stop" );
+ new TDEAction( i18n( "Clear Location Bar" ), TDEApplication::reverseLayout() ? "clear_left" : "locationbar_erase", 0, m_combo, TQ_SLOT(clearEdit()), ac, "clear_location" );
+ new TDEAction( i18n( "Go" ), "key_enter", 0, m_combo, TQ_SIGNAL(returnPressed()), ac, "go" );
KWidgetAction *combo = new KWidgetAction( m_combo, i18n( "Location Bar" ), 0, 0, 0, ac, "location_bar" );
m_recentScans = new TDERecentFilesAction( i18n( "&Recent Scans" ), 0, ac, "scan_recent", 8 );
@@ -103,9 +103,9 @@ MainWindow::setupActions() //singleton function
m_recentScans->loadEntries( TDEGlobal::config() );
combo->setAutoSized( true ); //FIXME what does this do?
- connect( m_recentScans, TQT_SIGNAL(urlSelected( const KURL& )), TQT_SLOT(slotScanUrl( const KURL& )) );
- connect( m_combo, TQT_SIGNAL(returnPressed()), TQT_SLOT(slotComboScan()) );
- connect( m_histories, TQT_SIGNAL(activated( const KURL& )), TQT_SLOT(slotScanUrl( const KURL& )) );
+ connect( m_recentScans, TQ_SIGNAL(urlSelected( const KURL& )), TQ_SLOT(slotScanUrl( const KURL& )) );
+ connect( m_combo, TQ_SIGNAL(returnPressed()), TQ_SLOT(slotComboScan()) );
+ connect( m_histories, TQ_SIGNAL(activated( const KURL& )), TQ_SLOT(slotScanUrl( const KURL& )) );
}
bool