diff options
Diffstat (limited to 'smb4k/core/smb4ksambaoptionsinfo.cpp')
-rw-r--r-- | smb4k/core/smb4ksambaoptionsinfo.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/smb4k/core/smb4ksambaoptionsinfo.cpp b/smb4k/core/smb4ksambaoptionsinfo.cpp index 5ea5b51..c9e7990 100644 --- a/smb4k/core/smb4ksambaoptionsinfo.cpp +++ b/smb4k/core/smb4ksambaoptionsinfo.cpp @@ -30,13 +30,13 @@ #include "smb4kshare.h" -Smb4KSambaOptionsInfo::Smb4KSambaOptionsInfo( const QString &name ) +Smb4KSambaOptionsInfo::Smb4KSambaOptionsInfo( const TQString &name ) : m_name( name ), m_remount( false ), m_port( -1 ), #ifndef __FreeBSD__ -m_filesystem( QString::null ), m_write_access( true ), +m_filesystem( TQString() ), m_write_access( true ), #endif -m_protocol( QString::null ), m_kerberos( false ), -m_uid( QString::null ), m_gid( QString::null ) +m_protocol( TQString() ), m_kerberos( false ), +m_uid( TQString() ), m_gid( TQString() ) { } @@ -46,8 +46,8 @@ Smb4KSambaOptionsInfo::Smb4KSambaOptionsInfo( Smb4KShare *share ) #ifndef __FreeBSD__ m_filesystem( share->filesystem() ), m_write_access( true ), #endif -m_protocol( QString::null ), m_kerberos( false ), -m_uid( QString( "%1" ).arg( share->uid() ) ), m_gid( QString( "%1" ).arg( share->gid() ) ) +m_protocol( TQString() ), m_kerberos( false ), +m_uid( TQString( "%1" ).tqarg( share->uid() ) ), m_gid( TQString( "%1" ).tqarg( share->gid() ) ) { } @@ -75,7 +75,7 @@ void Smb4KSambaOptionsInfo::setRemount( bool rm ) } -void Smb4KSambaOptionsInfo::setItemName( const QString &name ) +void Smb4KSambaOptionsInfo::setItemName( const TQString &name ) { m_name = name; } @@ -86,15 +86,15 @@ void Smb4KSambaOptionsInfo::setPort( int port ) m_port = port; } -void Smb4KSambaOptionsInfo::setProtocol( const QString &p ) +void Smb4KSambaOptionsInfo::setProtocol( const TQString &p ) { - if ( QString::compare( p, "auto" ) != 0 ) + if ( TQString::compare( p, "auto" ) != 0 ) { m_protocol = p; } else { - m_protocol = QString::null; + m_protocol = TQString(); } } @@ -107,23 +107,23 @@ void Smb4KSambaOptionsInfo::setKerberos( bool krb ) int Smb4KSambaOptionsInfo::type() { - return m_name.contains( "/" ) == 3 ? Share : Host; + return m_name.tqcontains( "/" ) == 3 ? Share : Host; } -void Smb4KSambaOptionsInfo::setUID( const QString &uid ) +void Smb4KSambaOptionsInfo::setUID( const TQString &uid ) { m_uid = uid; } -void Smb4KSambaOptionsInfo::setGID( const QString &gid ) +void Smb4KSambaOptionsInfo::setGID( const TQString &gid ) { m_gid = gid; } #ifndef __FreeBSD__ -void Smb4KSambaOptionsInfo::setFilesystem( const QString &fs ) +void Smb4KSambaOptionsInfo::setFilesystem( const TQString &fs ) { m_filesystem = fs; } |