diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:49:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:49:40 -0600 |
commit | 808e453c56036211f57482ed847d54aca01bba68 (patch) | |
tree | 75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /kopete/kopete/config/identity/kopeteidentityconfig.cpp | |
parent | cd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff) | |
download | tdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kopete/kopete/config/identity/kopeteidentityconfig.cpp')
-rw-r--r-- | kopete/kopete/config/identity/kopeteidentityconfig.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kopete/kopete/config/identity/kopeteidentityconfig.cpp b/kopete/kopete/config/identity/kopeteidentityconfig.cpp index 97bc2bcc..cfe61002 100644 --- a/kopete/kopete/config/identity/kopeteidentityconfig.cpp +++ b/kopete/kopete/config/identity/kopeteidentityconfig.cpp @@ -18,7 +18,7 @@ #include "kopeteidentityconfig.h" // TQt includes -#include <tqlayout.h> +#include <layout.h> #include <tqimage.h> #include <tqlabel.h> #include <tqlineedit.h> @@ -564,12 +564,12 @@ void KopeteIdentityConfig::slotChangePhoto(const TQString &photoUrl) KMD5 context(tempArray); // Save the image to a file. saveLocation = context.hexDigest() + ".png"; - saveLocation = locateLocal( "appdata", TQString::fromUtf8("globalidentitiespictures/%1").tqarg( saveLocation ) ); + saveLocation = locateLocal( "appdata", TQString::fromUtf8("globalidentitiespictures/%1").arg( saveLocation ) ); if(!photo.save(saveLocation, "PNG")) { KMessageBox::sorry(this, - i18n("An error occurred when trying to save the custom photo for %1 identity.").tqarg(d->selectedIdentity), + i18n("An error occurred when trying to save the custom photo for %1 identity.").arg(d->selectedIdentity), i18n("Identity Configuration")); } d->m_view->comboPhotoURL->setURL(saveLocation); @@ -578,7 +578,7 @@ void KopeteIdentityConfig::slotChangePhoto(const TQString &photoUrl) else { KMessageBox::sorry(this, - i18n("An error occurred when trying to save the custom photo for %1 identity.").tqarg(d->selectedIdentity), + i18n("An error occurred when trying to save the custom photo for %1 identity.").arg(d->selectedIdentity), i18n("Identity Configuration")); } } |