~kubuntu-members/kget/4.11

« back to all changes in this revision

Viewing changes to ui/metalinkcreator/metalinker.h

  • Committer: David E. Narváez
  • Date: 2013-06-10 03:03:26 UTC
  • Revision ID: git-v1:1b3392e15925346d883a2ff8630cd104d091e3eb
Revert "Making attributes private for code standards' sake"

This style actually follows the parent class' style.

This reverts commit 6eb3370d2e5eba2bb224fadee08e8c21080bd6ed.

Conflicts:
        transfer-plugins/metalink/metalinkhttp.cpp

Show diffs side-by-side

added added

removed removed

Lines of Context:
480
480
    public:
481
481
        HttpLinkHeader(const QString &headerLine);
482
482
 
 
483
        QString m_reltype;
 
484
        bool m_pref;
 
485
        int m_depth;
 
486
        QString m_geo;
 
487
 
483
488
        /**
484
489
         * Loads information from a header value into metalink header structure.
485
490
         * @param Value of the "link" HTTP header response.
487
492
        void parseHeaderLine(const QString &);
488
493
 
489
494
        bool operator<(const HttpLinkHeader &) const;
490
 
 
491
 
        void setReltype(const QString &reltype) { m_reltype = reltype; }
492
 
        QString getReltype() const { return m_reltype; }
493
 
        void setPref(bool pref) { m_pref = pref; }
494
 
        bool getPref() const { return m_pref; }
495
 
        void setDepth(int depth) { m_depth = depth; }
496
 
        int getDepth() const { return m_depth; }
497
 
        void setGeo(const QString &geo) { m_geo = geo; }
498
 
        QString getGeo() const { return m_geo; }
499
 
 
500
 
    private:
501
 
        QString m_reltype;
502
 
        bool m_pref;
503
 
        int m_depth;
504
 
        QString m_geo;
505
 
 
506
495
};
507
496
 
508
497
}