@ -74,16 +74,16 @@ TQString KAboutTranslator::emailAddress() const
return mEmail ;
}
class K AboutDataPrivate
class TDE AboutDataPrivate
{
public :
K AboutDataPrivate( )
TDE AboutDataPrivate( )
: translatorName ( " _: NAME OF TRANSLATORS \n Your names " )
, translatorEmail ( " _: EMAIL OF TRANSLATORS \n Your emails " )
, productName ( 0 )
// , programLogo(0)
{ }
~ K AboutDataPrivate( )
~ TDE AboutDataPrivate( )
{
// delete programLogo;
}
@ -95,7 +95,7 @@ public:
KAboutData: : K AboutData( const char * appName ,
TDEAboutData: : TDE AboutData( const char * appName ,
const char * programName ,
const char * version ,
const char * shortDescription ,
@ -115,7 +115,7 @@ KAboutData::KAboutData( const char *appName,
mBugEmailAddress ( bugsEmailAddress ) ,
mLicenseText ( 0 )
{
d = new K AboutDataPrivate;
d = new TDE AboutDataPrivate;
if ( appName ) {
const char * p = strrchr ( appName , ' / ' ) ;
@ -127,7 +127,7 @@ KAboutData::KAboutData( const char *appName,
mAppName = 0 ;
}
KAboutData: : ~ K AboutData( )
TDEAboutData: : ~ TDE AboutData( )
{
if ( mLicenseKey = = License_File )
delete [ ] mLicenseText ;
@ -135,108 +135,108 @@ KAboutData::~KAboutData()
}
void
K AboutData: : addAuthor ( const char * name , const char * task ,
TDE AboutData: : addAuthor ( const char * name , const char * task ,
const char * emailAddress , const char * webAddress )
{
mAuthorList . append ( KAboutPerson ( name , task , emailAddress , webAddress ) ) ;
}
void
K AboutData: : addCredit ( const char * name , const char * task ,
TDE AboutData: : addCredit ( const char * name , const char * task ,
const char * emailAddress , const char * webAddress )
{
mCreditList . append ( KAboutPerson ( name , task , emailAddress , webAddress ) ) ;
}
void
K AboutData: : setTranslator ( const char * name , const char * emailAddress )
TDE AboutData: : setTranslator ( const char * name , const char * emailAddress )
{
d - > translatorName = name ;
d - > translatorEmail = emailAddress ;
}
void
K AboutData: : setLicenseText ( const char * licenseText )
TDE AboutData: : setLicenseText ( const char * licenseText )
{
mLicenseText = licenseText ;
mLicenseKey = License_Custom ;
}
void
K AboutData: : setLicenseTextFile ( const TQString & file )
TDE AboutData: : setLicenseTextFile ( const TQString & file )
{
mLicenseText = tqstrdup ( TQFile : : encodeName ( file ) ) ;
mLicenseKey = License_File ;
}
void
K AboutData: : setAppName ( const char * appName )
TDE AboutData: : setAppName ( const char * appName )
{
mAppName = appName ;
}
void
K AboutData: : setProgramName ( const char * programName )
TDE AboutData: : setProgramName ( const char * programName )
{
mProgramName = programName ;
}
void
K AboutData: : setVersion ( const char * version )
TDE AboutData: : setVersion ( const char * version )
{
mVersion = version ;
}
void
K AboutData: : setShortDescription ( const char * shortDescription )
TDE AboutData: : setShortDescription ( const char * shortDescription )
{
mShortDescription = shortDescription ;
}
void
K AboutData: : setLicense ( LicenseKey licenseKey )
TDE AboutData: : setLicense ( LicenseKey licenseKey )
{
mLicenseKey = licenseKey ;
}
void
K AboutData: : setCopyrightStatement ( const char * copyrightStatement )
TDE AboutData: : setCopyrightStatement ( const char * copyrightStatement )
{
mCopyrightStatement = copyrightStatement ;
}
void
K AboutData: : setOtherText ( const char * otherText )
TDE AboutData: : setOtherText ( const char * otherText )
{
mOtherText = otherText ;
}
void
K AboutData: : setHomepage ( const char * homepage )
TDE AboutData: : setHomepage ( const char * homepage )
{
mHomepageAddress = homepage ;
}
void
K AboutData: : setBugAddress ( const char * bugAddress )
TDE AboutData: : setBugAddress ( const char * bugAddress )
{
mBugEmailAddress = bugAddress ;
}
void
K AboutData: : setProductName ( const char * productName )
TDE AboutData: : setProductName ( const char * productName )
{
d - > productName = productName ;
}
const char *
K AboutData: : appName ( ) const
TDE AboutData: : appName ( ) const
{
return mAppName ;
}
const char *
K AboutData: : productName ( ) const
TDE AboutData: : productName ( ) const
{
if ( d - > productName )
return d - > productName ;
@ -245,7 +245,7 @@ KAboutData::productName() const
}
TQString
K AboutData: : programName ( ) const
TDE AboutData: : programName ( ) const
{
if ( mProgramName & & * mProgramName )
return i18n ( mProgramName ) ;
@ -254,13 +254,13 @@ KAboutData::programName() const
}
/*
TQImage
K AboutData: : programLogo ( ) const
TDE AboutData: : programLogo ( ) const
{
return d - > programLogo ? ( * d - > programLogo ) : TQImage ( ) ;
}
void
K AboutData: : setProgramLogo ( const TQImage & image )
TDE AboutData: : setProgramLogo ( const TQImage & image )
{
if ( ! d - > programLogo )
d - > programLogo = new TQImage ( image ) ;
@ -269,13 +269,13 @@ KAboutData::setProgramLogo(const TQImage& image)
}
*/
TQString
K AboutData: : version ( ) const
TDE AboutData: : version ( ) const
{
return TQString : : fromLatin1 ( mVersion ) ;
}
TQString
K AboutData: : shortDescription ( ) const
TDE AboutData: : shortDescription ( ) const
{
if ( mShortDescription & & * mShortDescription )
return i18n ( mShortDescription ) ;
@ -284,31 +284,31 @@ KAboutData::shortDescription() const
}
TQString
K AboutData: : homepage ( ) const
TDE AboutData: : homepage ( ) const
{
return TQString : : fromLatin1 ( mHomepageAddress ) ;
}
TQString
K AboutData: : bugAddress ( ) const
TDE AboutData: : bugAddress ( ) const
{
return TQString : : fromLatin1 ( mBugEmailAddress ) ;
}
const TQValueList < KAboutPerson >
K AboutData: : authors ( ) const
TDE AboutData: : authors ( ) const
{
return mAuthorList ;
}
const TQValueList < KAboutPerson >
K AboutData: : credits ( ) const
TDE AboutData: : credits ( ) const
{
return mCreditList ;
}
const TQValueList < KAboutTranslator >
K AboutData: : translators ( ) const
TDE AboutData: : translators ( ) const
{
TQValueList < KAboutTranslator > personList ;
@ -369,7 +369,7 @@ KAboutData::translators() const
}
TQString
K AboutData: : aboutTranslationTeam ( )
TDE AboutData: : aboutTranslationTeam ( )
{
return i18n ( " replace this with information about your translation team " ,
" <p>TDE is translated into many languages thanks to the work "
@ -377,7 +377,7 @@ KAboutData::aboutTranslationTeam()
}
TQString
K AboutData: : otherText ( ) const
TDE AboutData: : otherText ( ) const
{
if ( mOtherText & & * mOtherText )
return i18n ( mOtherText ) ;
@ -387,7 +387,7 @@ KAboutData::otherText() const
TQString
K AboutData: : license ( ) const
TDE AboutData: : license ( ) const
{
TQString result ;
if ( ! copyrightStatement ( ) . isEmpty ( ) )
@ -458,7 +458,7 @@ KAboutData::license() const
}
TQString
K AboutData: : copyrightStatement ( ) const
TDE AboutData: : copyrightStatement ( ) const
{
if ( mCopyrightStatement & & * mCopyrightStatement )
return i18n ( mCopyrightStatement ) ;