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

« back to all changes in this revision

Viewing changes to src/searchwindow.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Christian Mangold
  • Date: 2009-06-13 13:51:51 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090613135151-lgqmzpt7letp4j54
Tags: 0.6.1-0ubuntu1
* New upstream release (LP: #386691)
* Update short description, choqok is more than a twitter client
* Switch to cdbs kde.mk, in debian rules:
  - Remove /usr/share/pkg-kde-tools/qt-kde-team/1/debian-qt-kde.mk    
  - Add /usr/share/cdbs/1/rules/debhelper.mk
  - Add /usr/share/pkg-kde-tools/makefiles/1/cdbs/kde.mk
  Update copyright ( © ) symbol in debian/copyright to valid symbol

Show diffs side-by-side

added added

removed removed

Lines of Context:
207
207
    kDebug();
208
208
    if( isVisible() && !lastSearchQuery.isNull() && page == 1 )
209
209
    {
210
 
        uint sinceStatusId = 0;
 
210
        qulonglong sinceStatusId = 0;
211
211
        if( listResults.count() )
212
212
            sinceStatusId = listResults.last()->currentStatus().statusId;
213
213
 
246
246
    for( ; it != endIt; ++it ) {
247
247
        StatusWidget *wt = new StatusWidget( &mAccount, this );
248
248
 
249
 
        connect( wt, SIGNAL( sigReply( const QString&, uint, bool ) ),
250
 
                 this, SIGNAL( forwardReply( const QString&, uint, bool ) ) );
 
249
        connect( wt, SIGNAL( sigReply( const QString&, qulonglong, bool ) ),
 
250
                 this, SIGNAL( forwardReply( const QString&, qulonglong, bool ) ) );
251
251
        connect( wt, SIGNAL(sigReTweet(const QString&)), SIGNAL(forwardReTweet(const QString&)));
252
 
        connect( wt, SIGNAL( sigFavorite( uint, bool ) ),
253
 
                 this, SIGNAL( forwardFavorited( uint, bool ) ) );
 
252
        connect( wt, SIGNAL( sigFavorite( qulonglong, bool ) ),
 
253
                 this, SIGNAL( forwardFavorited( qulonglong, bool ) ) );
254
254
        connect (wt,SIGNAL(sigSearch(int,QString)),this,SLOT(updateSearchArea(int,QString)));
255
255
 
256
256
        wt->setAttribute( Qt::WA_DeleteOnClose );
402
402
 
403
403
void SearchWindow::pageChange()
404
404
{
405
 
    page = ui.txtPage->text().toUInt();
 
405
    page = ui.txtPage->text().toULongLong();
406
406
    ui.lblStatus->setText( i18n( "Fetching Page %1...", QString::number( page ) ) );
407
407
    mSearch->requestSearchResults( lastSearchQuery,
408
408
                                    lastSearchType,