~ubuntu-branches/ubuntu/raring/ktp-text-ui/raring-proposed

« back to all changes in this revision

Viewing changes to logviewer/conversation-date-picker.h

  • Committer: Package Import Robot
  • Author(s): Rohan Garg
  • Date: 2012-08-26 12:46:37 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20120826124637-lhv0slddscxlwzbw
Tags: 0.5.0-0ubuntu1
* New upstream release
  - Drop 03_no_redundant_glib_calls.diff 
  - Update 02_ktpchat_soversion.diff
  - Disable tests
  - Update install file

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <KDatePicker>
24
24
 
25
25
#include <TelepathyLoggerQt4/Entity>
 
26
#include <TelepathyLoggerQt4/SearchHit>
26
27
#include <TelepathyQt/Types>
27
28
 
28
29
namespace Tpl{
38
39
    void setEntity(const Tp::AccountPtr &accout, const Tpl::EntityPtr &entity);
39
40
    void clear();
40
41
 
41
 
Q_SIGNALS:
 
42
    void setSearchHits(const Tpl::SearchHitList &searchHits);
 
43
    void clearSearchHits();
 
44
 
 
45
    QDate previousDate() const;
 
46
    QDate nextDate() const;
 
47
    const QList<QDate>& validDates() const;
42
48
 
43
49
private Q_SLOTS:
44
50
    void onDatesFinished(Tpl::PendingOperation*);
45
51
 
46
52
private:
47
 
    QList<QDate> m_setDates;
48
 
 
 
53
    void updatePaintedDates();
 
54
    void setDatesFromSearchHits();
 
55
 
 
56
    Tp::AccountPtr m_account;
 
57
    Tpl::EntityPtr m_entity;
 
58
    Tpl::SearchHitList m_searchHits;
 
59
 
 
60
    QList< QDate > m_setDates;
49
61
};
50
62
 
51
63
#endif // CONVERSATIONDATEPICKER_H