Skip to content
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.

Commit

Permalink
Merge branch 'cleanup/twitterapi'
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoy committed Oct 26, 2009
2 parents fcb2410 + 6c1795b commit 9f01a83
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 194 deletions.
2 changes: 2 additions & 0 deletions qtwitter-app/src/statuslist.cpp
Expand Up @@ -68,13 +68,15 @@ void StatusListPrivate::init()
twitterapi->setServiceUrl( account->serviceUrl() );
twitterapi->setLogin( account->login() );
twitterapi->setPassword( account->password() );
#ifdef HAVE_OAUTH
if ( account->serviceUrl() == Account::NetworkUrlTwitter ) {
twitterapi->setUsingOAuth( true );
twitterapi->setConsumerKey( OAuthWizard::ConsumerKey );
twitterapi->setConsumerSecret( OAuthWizard::ConsumerSecret );
} else {
twitterapi->setUsingOAuth( false );
}
#endif

connect( twitterapi, SIGNAL(newEntries(EntryList)), this, SLOT(addEntries(EntryList)));
connect( twitterapi, SIGNAL(deleteEntry(quint64)), this, SLOT(deleteEntry(quint64)) );
Expand Down

0 comments on commit 9f01a83

Please sign in to comment.