[SCM] KCheckGMail's Development repository branch, kde4-port, updated. acff3181862d04cc85b55a6e188470d299e74ae9

Luís Pereira lpereira-guest at alioth.debian.org
Tue Jul 21 17:15:31 UTC 2009


The following commit has been merged in the kde4-port branch:
commit acff3181862d04cc85b55a6e188470d299e74ae9
Author: Luís Pereira <luis.artur.pereira at gmail.com>
Date:   Tue Jul 21 09:28:12 2009 -0700

    Ran $SVN/trunk/KDE/kdesdk/scripts/qt4/convert-qstringlatin1.pl
    
    Signed-off-by: Luís Pereira <luis.artur.pereira at gmail.com>
---
 src/gmailwalletmanager.cpp |    6 +++---
 src/kcheckgmailcore.cpp    |   10 +++++-----
 src/kcheckgmailtray.cpp    |    2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/gmailwalletmanager.cpp b/src/gmailwalletmanager.cpp
index 8afcb36..649d22d 100644
--- a/src/gmailwalletmanager.cpp
+++ b/src/gmailwalletmanager.cpp
@@ -117,12 +117,12 @@ void GMailWalletManager::slotWalletChangedStatus()
 	else
 	if(mWallet->isOpen()) {
 		kDebug() << k_funcinfo << "Wallet Open!";
-		if(!mWallet->hasFolder(QString::fromLatin1("KCheckGmail"))) {
+		if(!mWallet->hasFolder(QLatin1String("KCheckGmail"))) {
 			kDebug() << k_funcinfo << "Creating folder";
-			mWallet->createFolder(QString::fromLatin1("KCheckGmail"));
+			mWallet->createFolder(QLatin1String("KCheckGmail"));
 		}
 
-		if(mWallet->setFolder(QString::fromLatin1("KCheckGmail"))) {
+		if(mWallet->setFolder(QLatin1String("KCheckGmail"))) {
 			kDebug() << k_funcinfo << "Setting folder";
 			// success!
 			QObject::connect(mWallet, SIGNAL(walletClosed()), 
diff --git a/src/kcheckgmailcore.cpp b/src/kcheckgmailcore.cpp
index 792dc00..ad5400b 100644
--- a/src/kcheckgmailcore.cpp
+++ b/src/kcheckgmailcore.cpp
@@ -527,7 +527,7 @@ void KCheckGmailCore::slotThreadsItemHighlighted(int n)
 				 attachments.join(", ")));
 	}
 
-	KNotification::event(QString::fromLatin1("gmail-mail-snippet"), message, QPixmap(), d->mThreadsMenu);
+	KNotification::event(QLatin1String("gmail-mail-snippet"), message, QPixmap(), d->mThreadsMenu);
 	kDebug() << k_funcinfo << "Notification:" << "gmail-mail-snippet";
 }
 
@@ -632,7 +632,7 @@ void KCheckGmailCore::slotLoginDone(bool ok, bool isExcuseNeeded, const QString&
 
 	if (!ok) {
 		if (isExcuseNeeded) {
-			KNotification::event(QString::fromLatin1("gmail-login-no"),
+			KNotification::event(QLatin1String("gmail-login-no"),
 					i18n("An error occurred logging in to Gmail<br><b>%1</b>",
 						 message));
 
@@ -646,7 +646,7 @@ void KCheckGmailCore::slotLoginDone(bool ok, bool isExcuseNeeded, const QString&
 		
 	} else {
 		d->mTray->setPixmapEmpty();
-		KNotification::event(QString::fromLatin1("gmail-login-yes"), i18n("Now logged in to Gmail!"));
+		KNotification::event(QLatin1String("gmail-login-yes"), i18n("Now logged in to Gmail!"));
 
 		kDebug() << k_funcinfo << "Notification: gmail-login-yes";
 
@@ -674,7 +674,7 @@ void KCheckGmailCore::slotCheckStart()
 
 void KCheckGmailCore::slotSessionChanged()
 {
-	KNotification::event(QString::fromLatin1("gmail-session-changed"), i18n("Another account has been opened, logging out from it!"));
+	KNotification::event(QLatin1String("gmail-session-changed"), i18n("Another account has been opened, logging out from it!"));
 	kDebug() << k_funcinfo << "Notification: gmail-session-changed";
 }
 
@@ -688,7 +688,7 @@ void KCheckGmailCore::slotCheckDone()
 void KCheckGmailCore::slotLogingOut()
 {
 	d->mTray->setPixmapEmpty();
-	KNotification::event(QString::fromLatin1("gmail-login-yes"), i18n("Now logged in to Gmail!"));
+	KNotification::event(QLatin1String("gmail-login-yes"), i18n("Now logged in to Gmail!"));
 	kDebug() << k_funcinfo << "Notification: gmail-login-yes";
 
 	d->mLoginCheckMailAction->setText(i18n("Chec&k Mail Now"));
diff --git a/src/kcheckgmailtray.cpp b/src/kcheckgmailtray.cpp
index 7967829..f3e8cfd 100644
--- a/src/kcheckgmailtray.cpp
+++ b/src/kcheckgmailtray.cpp
@@ -89,7 +89,7 @@ void KCheckGmailTray::slotActivated(QSystemTrayIcon::ActivationReason reason)
 
 void KCheckGmailTray::slotNoUnreadMail()
 {
-	KNotification::event(QString::fromLatin1("no-unread-gmail"), i18n("There are no unread messages"));
+	KNotification::event(QLatin1String("no-unread-gmail"), i18n("There are no unread messages"));
 }
 
 void KCheckGmailTray::slotMailCountChanged(int n)

-- 
KCheckGMail's Development repository



More information about the pkg-kde-commits mailing list