[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepimlibs/kblog
From:       Mike Arthur <mike () mikearthur ! co ! uk>
Date:       2007-08-01 3:17:29
Message-ID: 1185938249.576413.18265.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 694908 by mikearthur:

Fix interface naming


 M  +2 -2      gdata.cpp  
 M  +1 -1      livejournal.cpp  
 M  +2 -2      metaweblog.cpp  
 M  +1 -1      movabletype.cpp  
 M  +1 -1      tests/testgdata.cpp  
 M  +1 -1      tests/testmetaweblog.cpp  


--- trunk/KDE/kdepimlibs/kblog/gdata.cpp #694907:694908
@@ -54,7 +54,7 @@
 
 QString GData::interfaceName() const
 {
-  return QLatin1String( "GData " );
+  return QLatin1String( "Google Blogger Data" );
 }
 
 QString GData::fullName() const
@@ -352,7 +352,7 @@
   }
   kDebug(5323) << "Emitting listRecentPostingsFinished()" << endl;
 //   emit q->listRecentPostingsFinished();
-  
+
 }
 
 void GDataPrivate::slotFetchPosting(
--- trunk/KDE/kdepimlibs/kblog/livejournal.cpp #694907:694908
@@ -108,7 +108,7 @@
 
 QString LiveJournal::interfaceName() const
 {
-  return QLatin1String( "Movable Type " );
+  return QLatin1String( "LiveJournal" );
 }
 
 void LiveJournal::fetchUserInfo()
--- trunk/KDE/kdepimlibs/kblog/metaweblog.cpp #694907:694908
@@ -54,7 +54,7 @@
 
 QString MetaWeblog::interfaceName() const
 {
-  return QLatin1String( "MetaWeblog " );
+  return QLatin1String( "MetaWeblog" );
 }
 
 void MetaWeblog::listRecentPostings( int number )
@@ -264,7 +264,7 @@
 {
   Q_Q(MetaWeblog);
 
-  int count = id.toInt(); 
+  int count = id.toInt();
 
   QList <BlogPosting*> fetchedPostingList;
 
--- trunk/KDE/kdepimlibs/kblog/movabletype.cpp #694907:694908
@@ -49,7 +49,7 @@
 
 QString MovableType::interfaceName() const
 {
-  return QLatin1String( "Movable Type " );
+  return QLatin1String( "Movable Type" );
 }
 
 void MovableType::listRecentPostings( int number )
--- trunk/KDE/kdepimlibs/kblog/tests/testgdata.cpp #694907:694908
@@ -90,7 +90,7 @@
   QVERIFY( b->username() == "christian_weilbach@web.de" );
   QVERIFY( b->profileId() == "11235141638164909615" );
   QVERIFY( b->password() == "Wo ist Hans?" );
-  QVERIFY( b->interfaceName() == "GData " );
+  QVERIFY( b->interfaceName() == "Google Blogger Data" );
   QVERIFY( b->timeZone().name() == QString( "UTC" ) );
 
   BlogPosting *p = new BlogPosting();
--- trunk/KDE/kdepimlibs/kblog/tests/testmetaweblog.cpp #694907:694908
@@ -92,7 +92,7 @@
   QVERIFY( b->blogId() == "1" );
   QVERIFY( b->username() == "socapitest" );
   QVERIFY( b->password() == "k0nt4ctbl0g" );
-  QVERIFY( b->interfaceName() == "MetaWeblog " );
+  QVERIFY( b->interfaceName() == "MetaWeblog" );
   QVERIFY( b->timeZone().name() == QString( "UTC" ) );
 
   BlogPosting *p = new BlogPosting();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic