~ubuntu-branches/debian/sid/kde-baseapps/sid

« back to all changes in this revision

Viewing changes to keditbookmarks/kebsearchline.cpp

  • Committer: Package Import Robot
  • Author(s): Modestas Vainius, Eshat Cakar, Pino Toscano
  • Date: 2012-06-09 22:18:08 UTC
  • mfrom: (4.2.1) (6.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20120609221808-h1l0ekd5qmb8nefr
Tags: 4:4.8.4-1
* New upstream release.

[ Eshat Cakar ]
* Add watch file.
* Bump kde-sc-dev-latest build dependency to version 4:4.8.4.
* Update installed files.

[ Pino Toscano ]
* Move files of the konqueror documentation from kde-baseapps-data to
  konqueror itself.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
    d->treeView = dynamic_cast<QTreeView *>(v);
70
70
    d->listView = dynamic_cast<QListView *>(v);
71
71
 
72
 
    connect(this, SIGNAL(textChanged(const QString &)),
73
 
            this, SLOT(queueSearch(const QString &)));
 
72
    connect(this, SIGNAL(textChanged(QString)),
 
73
            this, SLOT(queueSearch(QString)));
74
74
 
75
75
    if(view()) {
76
76
        connect(view(), SIGNAL(destroyed()),
77
77
                this, SLOT(listViewDeleted()));
78
 
        connect(model(), SIGNAL(dataChanged(const QModelIndex &, const QModelIndex &)),
79
 
                this, SLOT(slotDataChanged(const QModelIndex &, const QModelIndex &)));
80
 
        connect(model(), SIGNAL(rowsInserted(const QModelIndex &, int , int )),
81
 
                this, SLOT(slotRowsInserted(const QModelIndex &, int, int)));
82
 
        connect(model(), SIGNAL(rowsRemoved(const QModelIndex &, int , int )),
83
 
                this, SLOT(slotRowsRemoved(const QModelIndex &, int, int)));
84
 
        connect(model(), SIGNAL(columnsInserted(const QModelIndex &, int, int )),
85
 
                this, SLOT(slotColumnsInserted(const QModelIndex &, int, int )));
86
 
        connect(model(), SIGNAL(columnsRemoved(const QModelIndex &, int, int)),
87
 
                this, SLOT(slotColumnsRemoved(const QModelIndex &, int, int)));
 
78
        connect(model(), SIGNAL(dataChanged(QModelIndex,QModelIndex)),
 
79
                this, SLOT(slotDataChanged(QModelIndex,QModelIndex)));
 
80
        connect(model(), SIGNAL(rowsInserted(QModelIndex,int,int)),
 
81
                this, SLOT(slotRowsInserted(QModelIndex,int,int)));
 
82
        connect(model(), SIGNAL(rowsRemoved(QModelIndex,int,int)),
 
83
                this, SLOT(slotRowsRemoved(QModelIndex,int,int)));
 
84
        connect(model(), SIGNAL(columnsInserted(QModelIndex,int,int)),
 
85
                this, SLOT(slotColumnsInserted(QModelIndex,int,int)));
 
86
        connect(model(), SIGNAL(columnsRemoved(QModelIndex,int,int)),
 
87
                this, SLOT(slotColumnsRemoved(QModelIndex,int,int)));
88
88
        connect(model(), SIGNAL(modelReset()), this, SLOT(slotModelReset()));
89
89
    }
90
90
    else
101
101
    d->treeView = 0;
102
102
    d->listView = 0;
103
103
 
104
 
    connect(this, SIGNAL(textChanged(const QString &)),
105
 
            this, SLOT(queueSearch(const QString &)));
 
104
    connect(this, SIGNAL(textChanged(QString)),
 
105
            this, SLOT(queueSearch(QString)));
106
106
 
107
107
    setEnabled(false);
108
108
}
171
171
    if(view()) {
172
172
        disconnect(view(), SIGNAL(destroyed()),
173
173
                   this, SLOT(listViewDeleted()));
174
 
        disconnect(model(), SIGNAL(dataChanged(const QModelIndex &, const QModelIndex &)),
175
 
                this, SLOT(slotDataChanged(const QModelIndex &, const QModelIndex &)));
176
 
        disconnect(model(), SIGNAL(rowsInserted(const QModelIndex &, int , int )),
177
 
                this, SLOT(slotRowsInserted(const QModelIndex &, int, int)));
178
 
        disconnect(model(), SIGNAL(rowsRemoved(const QModelIndex &, int , int )),
179
 
                this, SLOT(slotRowsRemoved(const QModelIndex &, int, int)));
180
 
        disconnect(model(), SIGNAL(columnsInserted(const QModelIndex &, int, int )),
181
 
                this, SLOT(slotColumnsInserted(const QModelIndex &, int, int )));
182
 
        disconnect(model(), SIGNAL(columnsRemoved(const QModelIndex &, int, int)),
183
 
                this, SLOT(slotColumnsRemoved(const QModelIndex &, int, int)));
 
174
        disconnect(model(), SIGNAL(dataChanged(QModelIndex,QModelIndex)),
 
175
                this, SLOT(slotDataChanged(QModelIndex,QModelIndex)));
 
176
        disconnect(model(), SIGNAL(rowsInserted(QModelIndex,int,int)),
 
177
                this, SLOT(slotRowsInserted(QModelIndex,int,int)));
 
178
        disconnect(model(), SIGNAL(rowsRemoved(QModelIndex,int,int)),
 
179
                this, SLOT(slotRowsRemoved(QModelIndex,int,int)));
 
180
        disconnect(model(), SIGNAL(columnsInserted(QModelIndex,int,int)),
 
181
                this, SLOT(slotColumnsInserted(QModelIndex,int,int)));
 
182
        disconnect(model(), SIGNAL(columnsRemoved(QModelIndex,int,int)),
 
183
                this, SLOT(slotColumnsRemoved(QModelIndex,int,int)));
184
184
        disconnect(model(), SIGNAL(modelReset()), this, SLOT(slotModelReset()));
185
185
    }
186
186
 
191
191
        connect(view(), SIGNAL(destroyed()),
192
192
                this, SLOT(listViewDeleted()));
193
193
 
194
 
        connect(model(), SIGNAL(dataChanged(const QModelIndex &, const QModelIndex &)),
195
 
                this, SLOT(slotDataChanged(const QModelIndex &, const QModelIndex &)));
196
 
        connect(model(), SIGNAL(rowsInserted(const QModelIndex &, int , int )),
197
 
                this, SLOT(slotRowsInserted(const QModelIndex &, int, int)));
198
 
        connect(model(), SIGNAL(rowsRemoved(const QModelIndex &, int , int )),
199
 
                this, SLOT(slotRowsRemoved(const QModelIndex &, int, int)));
200
 
        connect(model(), SIGNAL(columnsInserted(const QModelIndex &, int, int )),
201
 
                this, SLOT(slotColumnsInserted(const QModelIndex &, int, int )));
202
 
        connect(model(), SIGNAL(columnsRemoved(const QModelIndex &, int, int)),
203
 
                this, SLOT(slotColumnsRemoved(const QModelIndex &, int, int)));
 
194
        connect(model(), SIGNAL(dataChanged(QModelIndex,QModelIndex)),
 
195
                this, SLOT(slotDataChanged(QModelIndex,QModelIndex)));
 
196
        connect(model(), SIGNAL(rowsInserted(QModelIndex,int,int)),
 
197
                this, SLOT(slotRowsInserted(QModelIndex,int,int)));
 
198
        connect(model(), SIGNAL(rowsRemoved(QModelIndex,int,int)),
 
199
                this, SLOT(slotRowsRemoved(QModelIndex,int,int)));
 
200
        connect(model(), SIGNAL(columnsInserted(QModelIndex,int,int)),
 
201
                this, SLOT(slotColumnsInserted(QModelIndex,int,int)));
 
202
        connect(model(), SIGNAL(columnsRemoved(QModelIndex,int,int)),
 
203
                this, SLOT(slotColumnsRemoved(QModelIndex,int,int)));
204
204
        connect(model(), SIGNAL(modelReset()), this, SLOT(slotModelReset()));
205
205
 
206
206
    }
301
301
                allVisibleAct->setChecked(true);
302
302
                d->searchColumns.clear();
303
303
            }
304
 
            connect(submenu, SIGNAL(triggered ( QAction * )), this, SLOT(searchColumnsMenuActivated(QAction *)));
 
304
            connect(submenu, SIGNAL(triggered(QAction*)), this, SLOT(searchColumnsMenuActivated(QAction*)));
305
305
        }
306
306
    }
307
307
    popup->exec( e->globalPos() );