~ubuntu-branches/ubuntu/karmic/choqok/karmic

« back to all changes in this revision

Viewing changes to src/backend.h

  • Committer: Bazaar Package Importer
  • Author(s): Christian Mangold
  • Date: 2009-04-30 20:41:19 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090430204119-v1k5uw4aejloyfo7
Tags: 0.5-0ubuntu1
* New upstream release (LP: #370009)
* Bumped Standards-Version to 3.8.1
* Switched to pkg-kde-tools

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
    This file is part of choqoK, the KDE mono-blogging client
 
2
    This file is part of choqoK, the KDE micro-blogging client
3
3
 
4
4
    Copyright (C) 2008-2009 Mehrdad Momeny <mehrdad.momeny@gmail.com>
5
5
 
53
53
    QDateTime dateFromString( const QString &date );
54
54
    QString& latestErrorString();
55
55
 
 
56
    static QString prepareStatus( QString status );
 
57
    static QString shortenUrl(const QString &baseUrl);
 
58
 
56
59
public slots:
57
60
    void postNewStatus( const QString &statusMessage, uint replyToStatusId = 0 );
58
61
    void sendDMessage( const QString &screenName, const QString &message );
79
82
    void outboxMessagesReceived( QList<Status> &msgList );
80
83
    void followersListed( const QStringList &followersList );
81
84
    void friendsListed( const QStringList &friendsList );
82
 
    void singleStatusReceived( uint statusId, Status status );
 
85
    void singleStatusReceived( Status status );
83
86
 
84
87
protected slots:
85
88
    void slotListFollowersScreenName( KJob *job );
102
105
    QList<Status> * readDMessagesFromXml( const QByteArray &buffer );
103
106
    Status readStatusFromXml( const QByteArray &buffer );
104
107
    Status readDMessageFromXml( const QByteArray &buffer );
105
 
    QString prepareStatus( QString status );
106
108
    void setDefaultArgs( KUrl &url );
107
109
    void requestCurrentUser();
108
110
    void requestFollowers( int page = 1 );
109
111
    void requestFriends( int page = 1 );
110
 
    QString shortenUrl(const QString &baseUrl);
111
112
 
112
113
    QString mLatestErrorString;
113
114
    QMap<KJob *, TimeLineType> mRequestTimelineMap;