~neon/juk/master

« back to all changes in this revision

Viewing changes to searchwidget.cpp

  • Committer: Michael Pyne
  • Date: 2008-01-09 03:54:23 UTC
  • Revision ID: git-v1:b8d97f6ad4dc58441f9e3b100150ee753c3a4c94
Bump trunk version before I forget

svn path=/trunk/KDE/kdemultimedia/juk/; revision=758776

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
    m_searchFieldsBox(0)
48
48
{
49
49
    QHBoxLayout *layout = new QHBoxLayout(this);
50
 
    layout->setMargin(0);
51
50
    layout->setSpacing(5);
52
51
 
53
52
    if(!m_simple) {
54
53
        m_searchFieldsBox = new KComboBox(this);
55
54
        layout->addWidget(m_searchFieldsBox);
56
 
        m_searchFieldsBox->setObjectName( QLatin1String( "searchFields" ) );
 
55
        m_searchFieldsBox->setObjectName( "searchFields" );
57
56
        connect(m_searchFieldsBox, SIGNAL(activated(int)),
58
57
                this, SIGNAL(signalQueryChanged()));
59
58
    }
210
209
 
211
210
    connect(&m_searchLine, SIGNAL(signalQueryChanged()), this, SIGNAL(signalQueryChanged()));
212
211
    connect(&m_searchLine, SIGNAL(signalDownPressed()), this, SIGNAL(signalDownPressed()));
213
 
    connect(m_searchLine.m_lineEdit, SIGNAL(returnPressed()), this, SIGNAL(returnPressed()));
214
212
 
215
213
    // I've decided that I think this is ugly, for now.
216
214
    /*