~ubuntu-branches/ubuntu/oneiric/kdenetwork/oneiric-updates

« back to all changes in this revision

Viewing changes to kget/core/transfer.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac, Philip Muškovac
  • Date: 2011-07-10 12:36:35 UTC
  • mfrom: (1.1.59 upstream)
  • Revision ID: package-import@ubuntu.com-20110710123635-3db9oyxdswp4sp1e
Tags: 4:4.6.90-0ubuntu1
* New upstream release
 - Bump on kde-sc-dev-latest
 - s/kdebase-runtime-dev/kde-runtime-dev
* Dropped kubuntu_05_samba_sharing.diff <- went upstream
* Added kubuntu_05_make_old_symbols_reappear_and_fix_building.diff
* Refreshed *.install
* Refreshed symbols

[ Philip Muškovac ]
* fix debug package depends on kdebase-runtime-dbg -> kde-runtime-dbg 
  and recommends on kde-workspace-dbg

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
        KIO::filesize_t downloadedSize() const {return m_downloadedSize;}
168
168
        KIO::filesize_t uploadedSize() const   {return m_uploadedSize;}
169
169
        QString statusText() const             {return m_statusText;}
170
 
        QPixmap statusPixmap() const           {return m_statusPixmap;}
 
170
        QPixmap statusPixmap() const           {return (error().pixmap.isNull() ? m_statusPixmap : error().pixmap);}
171
171
 
172
172
        static QString statusText(Job::Status status);
173
173
        static QPixmap statusPixmap(Job::Status status);
244
244
        const QStringList log() const;
245
245
 
246
246
        /**
247
 
         * Set Transfer history
248
 
         */
249
 
         void setLog(const QString& message, LogLevel level = Log_Info);
250
 
 
251
 
        /**
252
247
         * Defines the order between transfers
253
248
         */
254
249
        bool operator<(const Transfer& t2) const;
323
318
         */
324
319
        void capabilitiesChanged();
325
320
 
 
321
    public slots:
 
322
         /**
 
323
          * Set Transfer history
 
324
          */
 
325
         void setLog(const QString& message, Transfer::LogLevel level = Log_Info);
 
326
 
326
327
    protected:
327
328
        /**
328
329
         * Sets the Job status to jobStatus, the status text to text and