diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-04 23:08:14 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 20:34:23 +0900 |
commit | e7dc765638825c5337ccf8044a010288830c1895 (patch) | |
tree | 49882b05ddb6c9b7fa21863db8c50eacecbfbfb6 | |
parent | ffdb4b8afc8d12cba2e02c71b958082ba89ba77f (diff) | |
download | smb4k-e7dc765638825c5337ccf8044a010288830c1895.tar.gz smb4k-e7dc765638825c5337ccf8044a010288830c1895.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b5b2630a630e699d62e4a810a51639a05c84d825)
-rw-r--r-- | acinclude.m4 | 2 | ||||
-rw-r--r-- | smb4k/configdlg/smb4kauthoptions.cpp | 4 | ||||
-rw-r--r-- | smb4k/configdlg/smb4knetworkoptions.cpp | 4 | ||||
-rw-r--r-- | smb4k/configdlg/smb4ksambaoptions.cpp | 22 | ||||
-rw-r--r-- | smb4k/configdlg/smb4kshareoptions.cpp | 6 | ||||
-rw-r--r-- | smb4k/configdlg/smb4ksuperuseroptions.cpp | 4 | ||||
-rw-r--r-- | smb4k/configdlg/smb4kuserinterfaceoptions.cpp | 22 | ||||
-rw-r--r-- | smb4k/configdlg/smb4tdersyncoptions.cpp | 24 | ||||
-rw-r--r-- | smb4k/dialogs/smb4kprintdialog.cpp | 6 |
9 files changed, 47 insertions, 47 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index b48fc71..16e347f 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1141,7 +1141,7 @@ fi if test "$kde_qtver" = "3"; then cat >> conftest.$ac_ext <<EOF (void)QStyleFactory::create(TQString::null); - QCursor c(Qt::WhatsThisCursor); + QCursor c(TQt::WhatsThisCursor); EOF fi cat >> conftest.$ac_ext <<EOF diff --git a/smb4k/configdlg/smb4kauthoptions.cpp b/smb4k/configdlg/smb4kauthoptions.cpp index d62420b..daab696 100644 --- a/smb4k/configdlg/smb4kauthoptions.cpp +++ b/smb4k/configdlg/smb4kauthoptions.cpp @@ -48,14 +48,14 @@ Smb4KAuthOptions::Smb4KAuthOptions( TQWidget *parent, const char *name ) TQGridLayout *grid = new TQGridLayout( this ); grid->setSpacing( 10 ); - TQButtonGroup *password_group = new TQButtonGroup( 1, Qt::Horizontal, + TQButtonGroup *password_group = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Password Storage" ), this ); TQCheckBox *use_wallet = new TQCheckBox( i18n( "Save the authentication data in a wallet" ), password_group, "kcfg_UseWallet" ); (void) new TQCheckBox( i18n( "If no wallet is used, remember authentication data during run time" ), password_group, "kcfg_RememberPasswords" ); - TQGroupBox *login_box = new TQGroupBox( 1, Qt::Horizontal, i18n( "Default Login" ), + TQGroupBox *login_box = new TQGroupBox( 1, TQt::Horizontal, i18n( "Default Login" ), this, "DefaultLoginBox" ); // login_box->setInsideMargin( 10 ); diff --git a/smb4k/configdlg/smb4knetworkoptions.cpp b/smb4k/configdlg/smb4knetworkoptions.cpp index 18de2fc..1f19fc4 100644 --- a/smb4k/configdlg/smb4knetworkoptions.cpp +++ b/smb4k/configdlg/smb4knetworkoptions.cpp @@ -47,7 +47,7 @@ Smb4KNetworkOptions::Smb4KNetworkOptions( TQWidget *parent, const char *name ) : // // The browse list group box. // - TQButtonGroup *browse_box = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Browse List" ), + TQButtonGroup *browse_box = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Browse List" ), this, "kcfg_BrowseList" ); browse_box->insert( new TQRadioButton( i18n( "Scan the network neighborhood for available workgroups and domains" ), @@ -77,7 +77,7 @@ Smb4KNetworkOptions::Smb4KNetworkOptions( TQWidget *parent, const char *name ) : // // The search group box // - TQButtonGroup *search_box = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Network Search" ), + TQButtonGroup *search_box = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Network Search" ), this, "kcfg_SearchMethod" ); search_box->setInsideSpacing( 5 ); diff --git a/smb4k/configdlg/smb4ksambaoptions.cpp b/smb4k/configdlg/smb4ksambaoptions.cpp index 6bf02d3..fb5b153 100644 --- a/smb4k/configdlg/smb4ksambaoptions.cpp +++ b/smb4k/configdlg/smb4ksambaoptions.cpp @@ -66,7 +66,7 @@ Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *parent, const char *name ) TQGridLayout *general_layout = new TQGridLayout( general_tab ); general_layout->setSpacing( 10 ); - TQGroupBox *general_options = new TQGroupBox( 2, Qt::Horizontal, + TQGroupBox *general_options = new TQGroupBox( 2, TQt::Horizontal, i18n( "General Options" ), general_tab ); general_options->setInsideSpacing( 5 ); @@ -85,7 +85,7 @@ Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *parent, const char *name ) (void) new TQLabel( i18n( "Remote SMB port:" ), general_options ); (void) new KIntNumInput( general_options, "kcfg_RemotePort" ); - TQGroupBox *authentication = new TQGroupBox( 1, Qt::Horizontal, + TQGroupBox *authentication = new TQGroupBox( 1, TQt::Horizontal, i18n( "Authentication" ), general_tab ); (void) new TQCheckBox( i18n( "Try to authenticate with Kerberos" ), authentication, "kcfg_UseKerberos" ); @@ -106,7 +106,7 @@ Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *parent, const char *name ) TQGridLayout *mount_layout = new TQGridLayout( mount_tab ); mount_layout->setSpacing( 10 ); - TQGroupBox *filesystem_box = new TQGroupBox( 1, Qt::Horizontal, + TQGroupBox *filesystem_box = new TQGroupBox( 1, TQt::Horizontal, i18n( "File System" ), mount_tab ); #ifndef __FreeBSD__ @@ -120,7 +120,7 @@ Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *parent, const char *name ) TQLabel *note = new TQLabel( i18n( "NOTE: You might need to enable support for either \"super\" or \"sudo\" in the Super User page." ), filesystem_box ); note->setTextFormat( TQt::RichText ); - TQGroupBox *user_group_box = new TQGroupBox( 2, Qt::Horizontal, + TQGroupBox *user_group_box = new TQGroupBox( 2, TQt::Horizontal, i18n( "User and Group" ), mount_tab ); user_group_box->setInsideSpacing( 5 ); @@ -132,7 +132,7 @@ Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *parent, const char *name ) KLineEdit *group_id = new KLineEdit( user_group_box, "kcfg_GroupID" ); group_id->setAlignment( TQt::AlignRight ); - TQGroupBox *charset_box = new TQGroupBox( 2, Qt::Horizontal, + TQGroupBox *charset_box = new TQGroupBox( 2, TQt::Horizontal, i18n( "Charset and Codepage" ), mount_tab ); charset_box->setInsideSpacing( 5 ); @@ -198,7 +198,7 @@ Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *parent, const char *name ) codepage->insertItem( "cp1258", Smb4KSettings::EnumServerCodepage::cp1258 ); codepage->insertItem( "unicode", Smb4KSettings::EnumServerCodepage::unicode ); - TQGroupBox *perms_box = new TQGroupBox( 2, Qt::Horizontal, + TQGroupBox *perms_box = new TQGroupBox( 2, TQt::Horizontal, i18n( "Permissions" ), mount_tab ); perms_box->setInsideSpacing( 5 ); @@ -216,7 +216,7 @@ Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *parent, const char *name ) read_mode->insertItem( i18n( "read-only" ), Smb4KSettings::EnumWriteAccess::ReadOnly ); #ifndef __FreeBSD__ - TQGroupBox *advanced_cifs = new TQGroupBox( 1, Qt::Horizontal, + TQGroupBox *advanced_cifs = new TQGroupBox( 1, TQt::Horizontal, i18n( "Advanced CIFS Options" ), mount_tab, "AdvancedCIFSOptions" ); advanced_cifs->setInsideSpacing( 5 ); @@ -244,7 +244,7 @@ Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *parent, const char *name ) c_extra_layout->addWidget( new TQLabel( i18n( "Additional options:" ), c_extra_widget ), 0, 0, 0 ); c_extra_layout->addWidget( new KLineEdit( c_extra_widget, "kcfg_CustomCIFSOptions" ), 0, 1, 0 ); - TQGroupBox *advanced_smbfs = new TQGroupBox( 1, Qt::Horizontal, + TQGroupBox *advanced_smbfs = new TQGroupBox( 1, TQt::Horizontal, i18n( "Advanced SMBFS Options" ), mount_tab, "AdvancedSMBFSOptions" ); advanced_smbfs->setInsideSpacing( 5 ); @@ -285,7 +285,7 @@ Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *parent, const char *name ) TQGridLayout *net_layout = new TQGridLayout( net_tab ); net_layout->setSpacing( 10 ); - TQButtonGroup *protocol_hint = new TQButtonGroup( 1, Qt::Horizontal, + TQButtonGroup *protocol_hint = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Protocol Hint" ), net_tab, "kcfg_ProtocolHint" ); protocol_hint->insert( new TQRadioButton( i18n( "Automatic detection" ), protocol_hint ), @@ -311,7 +311,7 @@ Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *parent, const char *name ) TQGridLayout *smbclient_layout = new TQGridLayout( smbclient_tab ); smbclient_layout->setSpacing( 10 ); - TQGroupBox *smbclient_misc = new TQGroupBox( 2, Qt::Horizontal, i18n( "Miscellaneous" ), + TQGroupBox *smbclient_misc = new TQGroupBox( 2, TQt::Horizontal, i18n( "Miscellaneous" ), smbclient_tab, "SmbclientMiscellaneous" ); smbclient_misc->setInsideSpacing( 5 ); @@ -343,7 +343,7 @@ Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *parent, const char *name ) TQGridLayout *nmblookup_layout = new TQGridLayout( nmblookup_tab ); nmblookup_layout->setSpacing( 10 ); - TQGroupBox *nmblookup_misc = new TQGroupBox( 1, Qt::Horizontal, + TQGroupBox *nmblookup_misc = new TQGroupBox( 1, TQt::Horizontal, i18n( "Miscellaneous" ), nmblookup_tab ); nmblookup_misc->setInsideSpacing( 5 ); diff --git a/smb4k/configdlg/smb4kshareoptions.cpp b/smb4k/configdlg/smb4kshareoptions.cpp index 26f8b28..41d21db 100644 --- a/smb4k/configdlg/smb4kshareoptions.cpp +++ b/smb4k/configdlg/smb4kshareoptions.cpp @@ -51,7 +51,7 @@ Smb4KShareOptions::Smb4KShareOptions( TQWidget *parent, const char *name ) : TQW TQGridLayout *grid = new TQGridLayout( this ); grid->setSpacing( 10 ); - TQGroupBox *dir_box = new TQGroupBox( 1, Qt::Horizontal, i18n( "Directories" ), this ); + TQGroupBox *dir_box = new TQGroupBox( 1, TQt::Horizontal, i18n( "Directories" ), this ); TQWidget *prefix_container = new TQWidget( dir_box ); TQGridLayout *prefix_layout = new TQGridLayout( prefix_container ); @@ -67,7 +67,7 @@ Smb4KShareOptions::Smb4KShareOptions( TQWidget *parent, const char *name ) : TQW (void) new TQCheckBox( i18n( "Force generated subdirectories to be lower case" ), dir_box, "kcfg_ForceLowerCaseSubdirs" ); - TQButtonGroup *mount_box = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Mounting and Unmounting" ), this ); + TQButtonGroup *mount_box = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Mounting and Unmounting" ), this ); (void) new TQCheckBox( i18n( "Unmount all shares of user %1 on exit" ).arg( getpwuid( getuid() )->pw_name ), mount_box, "kcfg_UnmountSharesOnExit" ); (void) new TQCheckBox( i18n( "Remount recently used shares on program start" ), @@ -75,7 +75,7 @@ Smb4KShareOptions::Smb4KShareOptions( TQWidget *parent, const char *name ) : TQW (void) new TQCheckBox( i18n( "Allow the unmounting of shares that are owned by other users" ), mount_box, "kcfg_UnmountForeignShares" ); - TQGroupBox *checks_box = new TQGroupBox( 2, Qt::Horizontal, i18n( "Checks" ), this ); + TQGroupBox *checks_box = new TQGroupBox( 2, TQt::Horizontal, i18n( "Checks" ), this ); (void) new TQLabel( i18n( "Interval between checks:" ), checks_box ); KIntNumInput *check_interval = new KIntNumInput( 2500, checks_box, 10, diff --git a/smb4k/configdlg/smb4ksuperuseroptions.cpp b/smb4k/configdlg/smb4ksuperuseroptions.cpp index 388a9ed..d11f333 100644 --- a/smb4k/configdlg/smb4ksuperuseroptions.cpp +++ b/smb4k/configdlg/smb4ksuperuseroptions.cpp @@ -48,7 +48,7 @@ Smb4KSuperUserOptions::Smb4KSuperUserOptions( TQWidget *parent, const char *name TQGridLayout *grid = new TQGridLayout( this ); grid->setSpacing( 10 ); - TQButtonGroup *suid_progs = new TQButtonGroup( 1, Qt::Horizontal, + TQButtonGroup *suid_progs = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Programs" ), this, "kcfg_SuperUserProgram" ); suid_progs->setInsideSpacing( 5 ); @@ -56,7 +56,7 @@ Smb4KSuperUserOptions::Smb4KSuperUserOptions( TQWidget *parent, const char *name suid_progs->insert( new TQRadioButton( "sudo", suid_progs, "SudoButton" ), Smb4KSettings::EnumSuperUserProgram::Sudo ); suid_progs->insert( new TQRadioButton( "super", suid_progs, "SuperButton" ), Smb4KSettings::EnumSuperUserProgram::Super ); - TQButtonGroup *suid_actions = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Actions" ), this, "SUIDActions" ); + TQButtonGroup *suid_actions = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Actions" ), this, "SUIDActions" ); suid_actions->setInsideSpacing( 5 ); #ifdef __linux__ (void) new TQCheckBox( i18n( "Use super user privileges to force the unmounting of (inaccessible) shares" ), suid_actions, "kcfg_UseForceUnmount" ); diff --git a/smb4k/configdlg/smb4kuserinterfaceoptions.cpp b/smb4k/configdlg/smb4kuserinterfaceoptions.cpp index 199a3a0..8fe66c0 100644 --- a/smb4k/configdlg/smb4kuserinterfaceoptions.cpp +++ b/smb4k/configdlg/smb4kuserinterfaceoptions.cpp @@ -49,19 +49,19 @@ Smb4KUserInterfaceOptions::Smb4KUserInterfaceOptions( TQWidget *parent, const ch TQGridLayout *main_wd_layout = new TQGridLayout( main_wd_widget ); main_wd_layout->setSpacing( 10 ); - TQButtonGroup *shares_view = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Shares View" ), + TQButtonGroup *shares_view = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Shares View" ), main_wd_widget, "kcfg_SharesView" ); shares_view->insert( new TQRadioButton( i18n( "Show mounted shares in an icon view" ), shares_view ), Smb4KSettings::EnumSharesView::IconView ); shares_view->insert( new TQRadioButton( i18n( "Show mounted shares in a list view" ), shares_view ), Smb4KSettings::EnumSharesView::ListView ); - TQButtonGroup *bookmarks_grp = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Bookmarks" ), + TQButtonGroup *bookmarks_grp = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Bookmarks" ), main_wd_widget, "BookmarksBox" ); (void) new TQCheckBox( i18n( "Show custom bookmark label if available" ), bookmarks_grp, "kcfg_ShowCustomBookmarkLabel" ); - TQButtonGroup *tray_group = new TQButtonGroup( 1, Qt::Horizontal, i18n( "System Tray" ), + TQButtonGroup *tray_group = new TQButtonGroup( 1, TQt::Horizontal, i18n( "System Tray" ), main_wd_widget, "SystemTrayBox" ); (void) new TQCheckBox( i18n( "Embed application into the system tray" ), tray_group, "kcfg_EmbedIntoSystemTray" ); @@ -80,20 +80,20 @@ Smb4KUserInterfaceOptions::Smb4KUserInterfaceOptions( TQWidget *parent, const ch TQGridLayout *browser_layout = new TQGridLayout( browser_widget ); browser_layout->setSpacing( 10 ); - TQButtonGroup *remoteGroup = new TQButtonGroup( 2, Qt::Horizontal, i18n( "Remote Shares" ), + TQButtonGroup *remoteGroup = new TQButtonGroup( 2, TQt::Horizontal, i18n( "Remote Shares" ), browser_widget, "BrowserRemoteSharesBox" ); (void) new TQCheckBox( i18n( "Show printer shares" ), remoteGroup, "kcfg_ShowPrinterShares" ); TQCheckBox *hidden = new TQCheckBox( i18n( "Show hidden shares" ), remoteGroup, "kcfg_ShowHiddenShares" ); (void) new TQCheckBox( i18n( "Show IPC$ shares" ), remoteGroup, "kcfg_ShowHiddenIPCShares" ); (void) new TQCheckBox( i18n( "Show ADMIN$ shares" ), remoteGroup, "kcfg_ShowHiddenADMINShares" ); - TQButtonGroup *columnsGroup = new TQButtonGroup( 2, Qt::Horizontal, i18n( "Columns" ), + TQButtonGroup *columnsGroup = new TQButtonGroup( 2, TQt::Horizontal, i18n( "Columns" ), browser_widget, "BrowserColumnsBox" ); (void) new TQCheckBox( i18n( "Show type" ), columnsGroup, "kcfg_ShowType" ); (void) new TQCheckBox( i18n( "Show IP address" ), columnsGroup, "kcfg_ShowIPAddress" ); (void) new TQCheckBox( i18n( "Show comment" ), columnsGroup, "kcfg_ShowComment" ); - TQButtonGroup *netTooltipsGroup = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Tooltips" ), + TQButtonGroup *netTooltipsGroup = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Tooltips" ), browser_widget, "BrowserTooltipsBox" ); (void) new TQCheckBox( i18n( "Show tooltip with information about a network item" ), netTooltipsGroup, "kcfg_ShowNetworkItemToolTip" ); @@ -111,21 +111,21 @@ Smb4KUserInterfaceOptions::Smb4KUserInterfaceOptions( TQWidget *parent, const ch TQGridLayout *shares_layout = new TQGridLayout( shares_widget ); shares_layout->setSpacing( 10 ); - TQButtonGroup *shares_group = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Mounted Shares" ), + TQButtonGroup *shares_group = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Mounted Shares" ), shares_widget, "SharesIconGroupBox" ); (void) new TQCheckBox( i18n( "Show mount point instead of share name" ), shares_group, "kcfg_ShowMountPoint" ); (void) new TQCheckBox( i18n( "Show all shares that are mounted on the system" ), shares_group, "kcfg_ShowAllShares" ); - TQButtonGroup *dnd_group = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Drag and Drop" ), + TQButtonGroup *dnd_group = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Drag and Drop" ), shares_widget, "DragnDropBox" ); (void) new TQCheckBox( i18n( "Allow dropping of files and directories onto shares" ), dnd_group, "kcfg_EnableDropSupport" ); (void) new TQCheckBox( i18n( "Allow dragging of shares" ), dnd_group, "kcfg_EnableDragSupport" ); - TQButtonGroup *sharesTooltipGroup = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Tooltips" ), + TQButtonGroup *sharesTooltipGroup = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Tooltips" ), shares_widget, "SharesTooltipsBox" ); (void) new TQCheckBox( i18n( "Show tooltip with information about a share" ), sharesTooltipGroup, "kcfg_ShowShareToolTip" ); - TQButtonGroup *list_view_group = new TQButtonGroup( 2, Qt::Horizontal, i18n( "List View" ), + TQButtonGroup *list_view_group = new TQButtonGroup( 2, TQt::Horizontal, i18n( "List View" ), shares_widget, "SharesListViewBox" ); #ifndef __FreeBSD__ @@ -155,7 +155,7 @@ Smb4KUserInterfaceOptions::Smb4KUserInterfaceOptions( TQWidget *parent, const ch TQGridLayout *preview_layout = new TQGridLayout( preview_widget ); preview_layout->setSpacing( 10 ); - TQButtonGroup *previewFilesGroup = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Hidden Files and Directories" ), preview_widget, "HiddenFilesBox" ); + TQButtonGroup *previewFilesGroup = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Hidden Files and Directories" ), preview_widget, "HiddenFilesBox" ); (void) new TQCheckBox( i18n( "Preview hidden files and directories" ), previewFilesGroup, "kcfg_PreviewHiddenItems" ); TQSpacerItem *spacer4 = new TQSpacerItem( 0, 0, TQSizePolicy::Preferred, TQSizePolicy::Expanding ); diff --git a/smb4k/configdlg/smb4tdersyncoptions.cpp b/smb4k/configdlg/smb4tdersyncoptions.cpp index 92b75bd..7e48e58 100644 --- a/smb4k/configdlg/smb4tdersyncoptions.cpp +++ b/smb4k/configdlg/smb4tdersyncoptions.cpp @@ -52,7 +52,7 @@ Smb4KRsyncOptions::Smb4KRsyncOptions( TQWidget *parent, const char *name ) : TQT TQGridLayout *copying_layout = new TQGridLayout( copying_tab ); copying_layout->setSpacing( 10 ); - TQGroupBox *directory_box = new TQGroupBox( 2, Qt::Horizontal, i18n( "Default Destination" ), + TQGroupBox *directory_box = new TQGroupBox( 2, TQt::Horizontal, i18n( "Default Destination" ), copying_tab, "RsyncDestinationBox" ); directory_box->setInsideSpacing( 5 ); @@ -60,7 +60,7 @@ Smb4KRsyncOptions::Smb4KRsyncOptions( TQWidget *parent, const char *name ) : TQT KURLRequester *prefix = new KURLRequester( directory_box, "kcfg_RsyncPrefix" ); prefix->setMode( KFile::Directory | KFile::LocalOnly ); - TQButtonGroup *general_box = new TQButtonGroup( 2, Qt::Horizontal, i18n( "General" ), + TQButtonGroup *general_box = new TQButtonGroup( 2, TQt::Horizontal, i18n( "General" ), copying_tab, "RsyncModeBox" ); general_box->setInsideSpacing( 5 ); @@ -73,7 +73,7 @@ Smb4KRsyncOptions::Smb4KRsyncOptions( TQWidget *parent, const char *name ) : TQT (void) new TQCheckBox( i18n( "Transfer directories without recursing" ), general_box, "kcfg_TransferDirectories" ); (void) new TQCheckBox( i18n( "Compress data during transfer" ), general_box, "kcfg_CompressData" ); - TQButtonGroup *links_box = new TQButtonGroup( 2, Qt::Horizontal, i18n( "Links" ), copying_tab, "RsyncModeBox" ); + TQButtonGroup *links_box = new TQButtonGroup( 2, TQt::Horizontal, i18n( "Links" ), copying_tab, "RsyncModeBox" ); links_box->setInsideSpacing( 5 ); TQCheckBox *links = new TQCheckBox( i18n( "Preserve symlinks" ), links_box, "kcfg_PreserveSymlinks" ); @@ -83,7 +83,7 @@ Smb4KRsyncOptions::Smb4KRsyncOptions( TQWidget *parent, const char *name ) : TQT (void) new TQCheckBox( i18n( "Preserve hard links" ), links_box, "kcfg_PreserveHardLinks" ); (void) new TQCheckBox( i18n( "Keep directory symlinks" ), links_box, "kcfg_KeepDirectorySymlinks" ); - TQButtonGroup *perm_box = new TQButtonGroup( 2, Qt::Horizontal, i18n( "File Permissions, etc." ), + TQButtonGroup *perm_box = new TQButtonGroup( 2, TQt::Horizontal, i18n( "File Permissions, etc." ), copying_tab, "RsyncPreservationBox" ); perm_box->setInsideSpacing( 5 ); @@ -112,7 +112,7 @@ Smb4KRsyncOptions::Smb4KRsyncOptions( TQWidget *parent, const char *name ) : TQT TQGridLayout *deltrans_layout = new TQGridLayout( deltrans_tab ); deltrans_layout->setSpacing( 10 ); - TQButtonGroup *delete_box = new TQButtonGroup( 2, Qt::Horizontal, i18n( "File Deletion" ), deltrans_tab, "RsyncDeleteBox" ); + TQButtonGroup *delete_box = new TQButtonGroup( 2, TQt::Horizontal, i18n( "File Deletion" ), deltrans_tab, "RsyncDeleteBox" ); delete_box->setInsideSpacing( 5 ); (void) new TQCheckBox( i18n( "Remove synchronized source files" ), delete_box, "kcfg_RemoveSourceFiles" ); @@ -124,13 +124,13 @@ Smb4KRsyncOptions::Smb4KRsyncOptions( TQWidget *parent, const char *name ) : TQT (void) new TQCheckBox( i18n( "Delete even if I/O errors occur" ), delete_box, "kcfg_IgnoreErrors" ); (void) new TQCheckBox( i18n( "Force deletion of non-void directories" ), delete_box, "kcfg_ForceDirectoryDeletion" ); - TQButtonGroup *delete_restrictions_box = new TQButtonGroup( 2, Qt::Horizontal, i18n( "Restrictions" ), deltrans_tab, "RsyncDeleteRestrictionsBox" ); + TQButtonGroup *delete_restrictions_box = new TQButtonGroup( 2, TQt::Horizontal, i18n( "Restrictions" ), deltrans_tab, "RsyncDeleteRestrictionsBox" ); delete_restrictions_box->setInsideSpacing( 5 ); (void) new TQCheckBox( i18n( "Don't delete more than this many files:" ), delete_restrictions_box, "kcfg_UseMaximumDelete" ); (void) new KIntNumInput( delete_restrictions_box, "kcfg_MaximumDeleteValue" ); - TQButtonGroup *transfer_box = new TQButtonGroup( 2, Qt::Horizontal, i18n( "File Transfer" ), + TQButtonGroup *transfer_box = new TQButtonGroup( 2, TQt::Horizontal, i18n( "File Transfer" ), deltrans_tab, "RsyncFileTransferBox" ); transfer_box->setInsideSpacing( 5 ); @@ -163,7 +163,7 @@ Smb4KRsyncOptions::Smb4KRsyncOptions( TQWidget *parent, const char *name ) : TQT TQGridLayout *filter_layout = new TQGridLayout( filter_tab ); filter_layout->setSpacing( 10 ); - TQButtonGroup *general_filter_box = new TQButtonGroup( 2, Qt::Horizontal, i18n( "General" ), + TQButtonGroup *general_filter_box = new TQButtonGroup( 2, TQt::Horizontal, i18n( "General" ), filter_tab, "RsyncGeneralFilterBox" ); general_filter_box->setInsideSpacing( 5 ); @@ -180,7 +180,7 @@ Smb4KRsyncOptions::Smb4KRsyncOptions( TQWidget *parent, const char *name ) : TQT KURLRequester *include_from = new KURLRequester( general_filter_box, "kcfg_IncludeFrom" ); include_from->setMode( KFile::File | KFile::LocalOnly ); - TQButtonGroup *filter_rules_box = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Filter Rules" ), + TQButtonGroup *filter_rules_box = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Filter Rules" ), filter_tab, "RsyncFilterRulesBox" ); filter_rules_box->setInsideSpacing( 5 ); TQLabel *filter_rules_label = new TQLabel( i18n( "The rules defined below will be added to the \"rsync\" command as they are. Thus, you have to start with the --filter=... argument." ), filter_rules_box ); @@ -206,7 +206,7 @@ Smb4KRsyncOptions::Smb4KRsyncOptions( TQWidget *parent, const char *name ) : TQT TQGridLayout *advanced_layout = new TQGridLayout( advanced_tab ); advanced_layout->setSpacing( 10 ); - TQButtonGroup *misc_box = new TQButtonGroup( 2, Qt::Horizontal, i18n( "General" ), + TQButtonGroup *misc_box = new TQButtonGroup( 2, TQt::Horizontal, i18n( "General" ), advanced_tab, "RsyncAdvancedMiscBox" ); misc_box->setInsideSpacing( 5 ); @@ -217,7 +217,7 @@ Smb4KRsyncOptions::Smb4KRsyncOptions( TQWidget *parent, const char *name ) : TQT (void) new TQCheckBox( i18n( "Ignore files that already exist" ), misc_box, "kcfg_IgnoreExisting" ); (void) new TQCheckBox( i18n( "Delay updates until the end of transfer" ), misc_box, "kcfg_DelayUpdates" ); - TQButtonGroup *backup_box = new TQButtonGroup( 2, Qt::Horizontal, i18n( "Backup" ), advanced_tab, "RsyncBackupBox" ); + TQButtonGroup *backup_box = new TQButtonGroup( 2, TQt::Horizontal, i18n( "Backup" ), advanced_tab, "RsyncBackupBox" ); backup_box->setInsideSpacing( 5 ); TQCheckBox *backup = new TQCheckBox( i18n( "Make backups" ), backup_box, "kcfg_MakeBackups" ); @@ -228,7 +228,7 @@ Smb4KRsyncOptions::Smb4KRsyncOptions( TQWidget *parent, const char *name ) : TQT KURLRequester *backup_dir = new KURLRequester( backup_box, "kcfg_BackupDirectory" ); backup_dir->setMode( KFile::Directory | KFile::LocalOnly ); - TQButtonGroup *checksum_box = new TQButtonGroup( 2, Qt::Horizontal, i18n( "Checksums" ), advanced_tab, "RsyncChecksumsBox" ); + TQButtonGroup *checksum_box = new TQButtonGroup( 2, TQt::Horizontal, i18n( "Checksums" ), advanced_tab, "RsyncChecksumsBox" ); checksum_box->setInsideSpacing( 5 ); (void) new TQCheckBox( i18n( "Force fixed checksum block size:" ), checksum_box, "kcfg_UseBlockSize" ); diff --git a/smb4k/dialogs/smb4kprintdialog.cpp b/smb4k/dialogs/smb4kprintdialog.cpp index e16f831..11c6b73 100644 --- a/smb4k/dialogs/smb4kprintdialog.cpp +++ b/smb4k/dialogs/smb4kprintdialog.cpp @@ -68,7 +68,7 @@ m_item( item ), m_ip( TQString() ) /* will collect it in an instant */ TQGridLayout *layout = new TQGridLayout( frame ); layout->setSpacing( 10 ); - TQGroupBox *p = new TQGroupBox( 2, Qt::Horizontal, i18n( "Printer" ), frame ); + TQGroupBox *p = new TQGroupBox( 2, TQt::Horizontal, i18n( "Printer" ), frame ); p->setInsideSpacing( 5 ); (void) new TQLabel( i18n( "Name:" ), p ); @@ -92,14 +92,14 @@ m_item( item ), m_ip( TQString() ) /* will collect it in an instant */ (void) new TQLabel( i18n( "Workgroup:" ), p ); (void) new TQLabel( m_item->workgroup(), p ); - TQGroupBox *f = new TQGroupBox( 2, Qt::Horizontal, i18n( "File" ), frame ); + TQGroupBox *f = new TQGroupBox( 2, TQt::Horizontal, i18n( "File" ), frame ); f->setInsideSpacing( 5 ); (void) new TQLabel( i18n( "File:" ), f ); KURLRequester *requester = new KURLRequester( TQString(), f, "URL" ); requester->setMode( KFile::File | KFile::LocalOnly ); - TQGroupBox *s = new TQGroupBox( 2, Qt::Horizontal, i18n( "Options" ), frame ); + TQGroupBox *s = new TQGroupBox( 2, TQt::Horizontal, i18n( "Options" ), frame ); s->setInsideSpacing( 5 ); setDetailsWidget( s ); |