~ubuntu-branches/ubuntu/maverick/kdegraphics/maverick-proposed

« back to all changes in this revision

Viewing changes to libs/libksane/libksane/widgets/labeled_combo.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2009-12-02 14:03:43 UTC
  • mfrom: (1.1.35 upstream)
  • Revision ID: james.westby@ubuntu.com-20091202140343-2732gbkj69g89arq
Tags: 4:4.3.80-0ubuntu1
* New upstream beta release:
  - Add build-depend on shared-desktop-ontologies for nepomuk integration
  - Bump .so versions for libkexiv, libkdcraw and libkipi
  - Update various .install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
    }
79
79
}
80
80
 
 
81
QString LabeledCombo::currentText()
 
82
{
 
83
    return m_combo->currentText();
 
84
}
 
85
 
 
86
 
81
87
bool LabeledCombo::setIcon(const QIcon &icon, const QString& str)
82
88
{
83
89
    for (int i=0; i < m_combo->count(); i++) {
103
109
 
104
110
void LabeledCombo::setColumnWidths(int lab_w, int cmb_w)
105
111
{
106
 
    //kDebug(51004) << "lab_w =" << lab_w << "cmb_w =" << cmb_w;
 
112
    //kDebug() << "lab_w =" << lab_w << "cmb_w =" << cmb_w;
107
113
    m_layout->setColumnMinimumWidth(0, lab_w);
108
114
    m_layout->setColumnMinimumWidth(2, cmb_w);
109
115
}