diff options
Diffstat (limited to 'smb4k/smb4ksystemtray.cpp')
-rw-r--r-- | smb4k/smb4ksystemtray.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/smb4k/smb4ksystemtray.cpp b/smb4k/smb4ksystemtray.cpp index d675b36..8a87905 100644 --- a/smb4k/smb4ksystemtray.cpp +++ b/smb4k/smb4ksystemtray.cpp @@ -70,9 +70,9 @@ Smb4KSystemTray::Smb4KSystemTray( TQWidget *parent, const char *name ) actionCollection(), "st_bookmark_action_menu" ); TDEActionSeparator *sep = new TDEActionSeparator( this ); TDEAction *manual_mount = new TDEAction( i18n( "M&ount Manually" ), "connect_creating", - 0, this, TQT_SLOT( slotMountManually() ), + 0, this, TQ_SLOT( slotMountManually() ), actionCollection(), "st_mount_manually_action" ); - TDEAction *configure = KStdAction::preferences( this, TQT_SLOT( slotConfigDialog() ), + TDEAction *configure = KStdAction::preferences( this, TQ_SLOT( slotConfigDialog() ), actionCollection(), "st_configure_action" ); m_shares_menu->plug( contextMenu() ); @@ -86,17 +86,17 @@ Smb4KSystemTray::Smb4KSystemTray( TQWidget *parent, const char *name ) slotSetupSharesMenu(); // Connections: - connect( actionCollection(), TQT_SIGNAL( actionHighlighted( TDEAction * ) ), - this, TQT_SLOT( slotActionHighlighted( TDEAction * ) ) ); + connect( actionCollection(), TQ_SIGNAL( actionHighlighted( TDEAction * ) ), + this, TQ_SLOT( slotActionHighlighted( TDEAction * ) ) ); - connect( Smb4KCore::bookmarkHandler(), TQT_SIGNAL( bookmarksUpdated() ), - this, TQT_SLOT( slotSetupBookmarksMenu() ) ); + connect( Smb4KCore::bookmarkHandler(), TQ_SIGNAL( bookmarksUpdated() ), + this, TQ_SLOT( slotSetupBookmarksMenu() ) ); - connect( Smb4KCore::mounter(), TQT_SIGNAL( updated() ), - this, TQT_SLOT( slotEnableBookmarks() ) ); + connect( Smb4KCore::mounter(), TQ_SIGNAL( updated() ), + this, TQ_SLOT( slotEnableBookmarks() ) ); - connect( Smb4KCore::mounter(), TQT_SIGNAL( updated() ), - this, TQT_SLOT( slotSetupSharesMenu() ) ); + connect( Smb4KCore::mounter(), TQ_SIGNAL( updated() ), + this, TQ_SLOT( slotSetupSharesMenu() ) ); // Connection to quitSelected() signal must be done in parent widget. } @@ -134,7 +134,7 @@ void Smb4KSystemTray::loadSettings() ///////////////////////////////////////////////////////////////////////////// -// TQT_SLOT IMPLEMENTATIONS +// SLOT IMPLEMENTATIONS ///////////////////////////////////////////////////////////////////////////// void Smb4KSystemTray::slotMountManually() @@ -181,8 +181,8 @@ void Smb4KSystemTray::slotConfigDialog() // To make sure we do not connect the config dialog several times // to slotSettingsChanged(), we break the connection first and re- // establish it afterwards: - disconnect( dlg, TQT_SIGNAL( settingsChanged() ), this, TQT_SLOT( slotSettingsChanged() ) ); - connect( dlg, TQT_SIGNAL( settingsChanged() ), this, TQT_SLOT( slotSettingsChanged() ) ); + disconnect( dlg, TQ_SIGNAL( settingsChanged() ), this, TQ_SLOT( slotSettingsChanged() ) ); + connect( dlg, TQ_SIGNAL( settingsChanged() ), this, TQ_SLOT( slotSettingsChanged() ) ); return; } @@ -204,7 +204,7 @@ void Smb4KSystemTray::slotConfigDialog() // ... and show it. if ( dlg ) { - connect( dlg, TQT_SIGNAL( settingsChanged() ), this, TQT_SLOT( slotSettingsChanged() ) ); + connect( dlg, TQ_SIGNAL( settingsChanged() ), this, TQ_SLOT( slotSettingsChanged() ) ); dlg->show(); } @@ -234,7 +234,7 @@ void Smb4KSystemTray::slotSetupBookmarksMenu() { // OK, build the menu from ground up: TDEAction *edit_bookmarks = new TDEAction( i18n( "&Edit Bookmarks" ), "bookmark", 0, - this, TQT_SLOT( slotBookmarkEditor() ), actionCollection(), + this, TQ_SLOT( slotBookmarkEditor() ), actionCollection(), "st_edit_bookmarks_action" ); edit_bookmarks->setGroup( "BookmarkActions" ); edit_bookmarks->plug( m_bookmarks_menu->popupMenu() ); @@ -291,7 +291,7 @@ void Smb4KSystemTray::slotSetupBookmarksMenu() // Create the bookmark action: TDEAction *a = new TDEAction( *it, "folder", TDEShortcut::null(), 0, 0, actionCollection(), ("st_"+*it).utf8() ); a->setGroup( "Bookmarks" ); - connect( a, TQT_SIGNAL( activated() ), this, TQT_SLOT( slotBookmarkActivated() ) ); + connect( a, TQ_SIGNAL( activated() ), this, TQ_SLOT( slotBookmarkActivated() ) ); // Let's have a look if the bookmark action has to be enabled or disabled: TQString name; @@ -444,7 +444,7 @@ void Smb4KSystemTray::slotSetupSharesMenu() { // OK, build the menu from ground up: TDEAction *unmount_all = new TDEAction( i18n( "U&nmount All" ), "gear", TDEShortcut::null(), - this, TQT_SLOT( slotUnmountAllShares() ), actionCollection(), + this, TQ_SLOT( slotUnmountAllShares() ), actionCollection(), "st_unmount_all_action" ); unmount_all->setGroup( "ShareActions" ); unmount_all->plug( m_shares_menu->popupMenu(), 0 ); @@ -788,26 +788,26 @@ void Smb4KSystemTray::slotSetupSharesMenu() // Define the actions that can be performed on a share from within // the system tray widget: TDEAction *umount = new TDEAction( i18n( "&Unmount" ), "drive-harddisk-unmounted", TDEShortcut::null(), this, - TQT_SLOT( slotUnmountShare() ), actionCollection(), "st_[unmount]_"+(*it)->canonicalPath() ); + TQ_SLOT( slotUnmountShare() ), actionCollection(), "st_[unmount]_"+(*it)->canonicalPath() ); umount->setGroup( "ShareActions" ); #ifdef __linux__ TDEAction *force_umount = new TDEAction( i18n( "&Force Unmounting" ), "drive-harddisk-unmounted", TDEShortcut::null(), this, - TQT_SLOT( slotForceUnmountShare() ), actionCollection(), "st_[force]_"+(*it)->canonicalPath() ); + TQ_SLOT( slotForceUnmountShare() ), actionCollection(), "st_[force]_"+(*it)->canonicalPath() ); force_umount->setGroup( "ShareActions" ); force_umount->setEnabled( Smb4KSettings::useForceUnmount() ); #endif TDEAction *synchronize = new TDEAction( i18n( "S&ynchronize" ), "go-bottom", TDEShortcut::null(), this, - TQT_SLOT( slotSynchronize() ), actionCollection(), "st_[synchronize]_"+(*it)->canonicalPath() ); + TQ_SLOT( slotSynchronize() ), actionCollection(), "st_[synchronize]_"+(*it)->canonicalPath() ); synchronize->setGroup( "ShareActions" ); synchronize->setEnabled( !Smb4KSettings::rsync().isEmpty() ); TDEAction *konsole = new TDEAction( i18n( "Open with Konso&le" ), "terminal", TDEShortcut::null(), this, - TQT_SLOT( slotKonsole() ), actionCollection(), "st_[konsole]_"+(*it)->canonicalPath() ); + TQ_SLOT( slotKonsole() ), actionCollection(), "st_[konsole]_"+(*it)->canonicalPath() ); konsole->setGroup( "ShareActions" ); konsole->setEnabled( !Smb4KSettings::konsole().isEmpty() ); TDEAction *konqueror = new TDEAction( i18n( "Open with &Konqueror" ), "kfm_home", TDEShortcut::null(), this, - TQT_SLOT( slotFilemanager() ), actionCollection(), "st_[filemanager]_"+(*it)->canonicalPath() ); + TQ_SLOT( slotFilemanager() ), actionCollection(), "st_[filemanager]_"+(*it)->canonicalPath() ); konqueror->setGroup( "ShareActions" ); // Set up the action submenu: |