~ubuntu-branches/ubuntu/trusty/digikam/trusty

« back to all changes in this revision

Viewing changes to extra/libkdcraw/libkdcraw/squeezedcombobox.h

  • Committer: Package Import Robot
  • Author(s): Rohan Garg
  • Date: 2012-11-26 18:24:20 UTC
  • mfrom: (1.9.1) (3.1.23 experimental)
  • Revision ID: package-import@ubuntu.com-20121126182420-qoy6z0nx4ai0wzcl
Tags: 4:3.0.0~beta3-0ubuntu1
* New upstream release
  - Add build-deps :  libhupnp-dev, libqtgstreamer-dev, libmagickcore-dev
* Merge from debian, remaining changes:
  - Make sure libqt4-opengl-dev, libgl1-mesa-dev and libglu1-mesa-dev only
    install on i386,amd64 and powerpc
  - Depend on libtiff-dev instead of libtiff4-dev
  - Drop digikam breaks/replaces kipi-plugins-common since we're past the
    LTS release now
  - digikam to recommend mplayerthumbs | ffmpegthumbs. We currently only
    have latter in the archives, even though former is also supposed to
    be part of kdemultimedia. (LP: #890059)
  - kipi-plugins to recommend www-browser rather than konqueror directly
    since 2.8 no direct usage of konqueror is present in the flickr
    plugin anymore (LP: #1011211)
  - Keep kubuntu_mysqld_executable_name.diff
  - Don't install libkipi translations
  - Keep deps on libcv-dev, libcvaux-dev
  - Keep split packaging of libraries
  - Replace icons from KDE 3 time in debian/xpm.d/*.xpm with the new
    versions (LP: #658047)
* Update debian/not-installed

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
     * @param parent parent widget
62
62
     * @param name name to give to the widget
63
63
     */
64
 
    explicit SqueezedComboBox(QWidget* parent = 0, const char* name = 0 );
 
64
    explicit SqueezedComboBox(QWidget* const parent = 0, const char* name = 0 );
65
65
    /**
66
66
     * destructor
67
67
     */
118
118
     * highlighted item.
119
119
     * @return full text of the highlighted item
120
120
     */
121
 
    QString itemHighlighted();
 
121
    QString itemHighlighted() const;
122
122
 
123
123
    /**
124
124
     * This method returns the full text (not squeezed) for the index.
125
125
     * @param index the position in the widget.
126
126
     * @return full text of the item
127
127
     */
128
 
    QString item(int index);
 
128
    QString item(int index) const;
129
129
 
130
130
    /**
131
131
     * Sets the sizeHint() of this widget.
140
140
private:
141
141
 
142
142
    void    resizeEvent(QResizeEvent*);
143
 
    QString squeezeText(const QString& original);
 
143
    QString squeezeText(const QString& original) const;
144
144
 
145
145
    // Prevent these from being used.
146
146
    QString currentText() const;
156
156
 
157
157
private:
158
158
 
159
 
    class SqueezedComboBoxPriv;
160
 
    SqueezedComboBoxPriv* const d;
 
159
    class Private;
 
160
    Private* const d;
161
161
};
162
162
 
163
163
}  // namespace KDcrawIface