beginResetModel();
if (sourceModel) {
- disconnect(sourceModel, SIGNAL(dataChanged(QModelIndex, QModelIndex)),
- this, SLOT(changed(QModelIndex, QModelIndex)));
- disconnect(sourceModel, SIGNAL(rowsInserted(QModelIndex, int, int)),
- this, SLOT(rowsInserted(QModelIndex, int, int)));
+ disconnect(sourceModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)),
+ this, SLOT(changed(QModelIndex,QModelIndex)));
+ disconnect(sourceModel, SIGNAL(rowsInserted(QModelIndex,int,int)),
+ this, SLOT(rowsInserted(QModelIndex,int,int)));
disconnect(sourceModel,
- SIGNAL(rowsAboutToBeRemoved(QModelIndex, int, int)), this,
- SLOT(rowsAboutToBeRemoved(QModelIndex, int, int)));
- disconnect(sourceModel, SIGNAL(rowsRemoved(QModelIndex, int, int)),
- this, SLOT(rowsRemoved(QModelIndex, int, int)));
+ SIGNAL(rowsAboutToBeRemoved(QModelIndex,int,int)), this,
+ SLOT(rowsAboutToBeRemoved(QModelIndex,int,int)));
+ disconnect(sourceModel, SIGNAL(rowsRemoved(QModelIndex,int,int)),
+ this, SLOT(rowsRemoved(QModelIndex,int,int)));
disconnect(sourceModel, SIGNAL(layoutAboutToBeChanged()), this,
SLOT(layoutAboutToBeChanged()));
disconnect(sourceModel, SIGNAL(layoutChanged()), this,
QAbstractProxyModel::setSourceModel(sourceModel);
sourceModel = qobject_cast<BookmarkModel*> (_sourceModel);
- connect(sourceModel, SIGNAL(dataChanged(QModelIndex, QModelIndex)), this,
- SLOT(changed(QModelIndex, QModelIndex)));
+ connect(sourceModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this,
+ SLOT(changed(QModelIndex,QModelIndex)));
- connect(sourceModel, SIGNAL(rowsInserted(QModelIndex, int, int)),
- this, SLOT(rowsInserted(QModelIndex, int, int)));
+ connect(sourceModel, SIGNAL(rowsInserted(QModelIndex,int,int)),
+ this, SLOT(rowsInserted(QModelIndex,int,int)));
- connect(sourceModel, SIGNAL(rowsAboutToBeRemoved(QModelIndex, int, int)),
- this, SLOT(rowsAboutToBeRemoved(QModelIndex, int, int)));
- connect(sourceModel, SIGNAL(rowsRemoved(QModelIndex, int, int)), this,
- SLOT(rowsRemoved(QModelIndex, int, int)));
+ connect(sourceModel, SIGNAL(rowsAboutToBeRemoved(QModelIndex,int,int)),
+ this, SLOT(rowsAboutToBeRemoved(QModelIndex,int,int)));
+ connect(sourceModel, SIGNAL(rowsRemoved(QModelIndex,int,int)), this,
+ SLOT(rowsRemoved(QModelIndex,int,int)));
connect(sourceModel, SIGNAL(layoutAboutToBeChanged()), this,
SLOT(layoutAboutToBeChanged()));
connect(&HelpEngineWrapper::instance(), SIGNAL(setupFinished()), this,
SLOT(setupFinished()));
- connect(bookmarkModel, SIGNAL(rowsRemoved(QModelIndex, int, int)), this,
+ connect(bookmarkModel, SIGNAL(rowsRemoved(QModelIndex,int,int)), this,
SLOT(refreshBookmarkMenu()));
- connect(bookmarkModel, SIGNAL(rowsInserted(QModelIndex, int, int)), this,
+ connect(bookmarkModel, SIGNAL(rowsInserted(QModelIndex,int,int)), this,
SLOT(refreshBookmarkMenu()));
- connect(bookmarkModel, SIGNAL(dataChanged(QModelIndex, QModelIndex)), this,
+ connect(bookmarkModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this,
SLOT(refreshBookmarkMenu()));
- connect(bookmarkModel, SIGNAL(rowsRemoved(QModelIndex, int, int)), this,
+ connect(bookmarkModel, SIGNAL(rowsRemoved(QModelIndex,int,int)), this,
SLOT(refreshBookmarkToolBar()));
- connect(bookmarkModel, SIGNAL(rowsInserted(QModelIndex, int, int)), this,
+ connect(bookmarkModel, SIGNAL(rowsInserted(QModelIndex,int,int)), this,
SLOT(refreshBookmarkToolBar()));
- connect(bookmarkModel, SIGNAL(dataChanged(QModelIndex, QModelIndex)), this,
+ connect(bookmarkModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this,
SLOT(refreshBookmarkToolBar()));
}
new QShortcut(QKeySequence::FindNext, this, SLOT(findNext()));
new QShortcut(QKeySequence::FindPrevious, this, SLOT(findPrevious()));
- connect(bookmarkModel, SIGNAL(rowsRemoved(QModelIndex, int, int)), this,
+ connect(bookmarkModel, SIGNAL(rowsRemoved(QModelIndex,int,int)), this,
SLOT(refeshBookmarkCache()));
- connect(bookmarkModel, SIGNAL(rowsInserted(QModelIndex, int, int)), this,
+ connect(bookmarkModel, SIGNAL(rowsInserted(QModelIndex,int,int)), this,
SLOT(refeshBookmarkCache()));
- connect(bookmarkModel, SIGNAL(dataChanged(QModelIndex, QModelIndex)), this,
+ connect(bookmarkModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this,
SLOT(refeshBookmarkCache()));
ui.treeView->setCurrentIndex(ui.treeView->indexAt(QPoint(2, 2)));
connect(m_findWidget, SIGNAL(findNext()), this, SLOT(findNext()));
connect(m_findWidget, SIGNAL(findPrevious()), this, SLOT(findPrevious()));
- connect(m_findWidget, SIGNAL(find(QString, bool, bool)), this,
- SLOT(find(QString, bool, bool)));
+ connect(m_findWidget, SIGNAL(find(QString,bool,bool)), this,
+ SLOT(find(QString,bool,bool)));
connect(m_findWidget, SIGNAL(escapePressed()), this, SLOT(activateTab()));
- connect(m_tabBar, SIGNAL(addBookmark(QString, QString)), this,
- SIGNAL(addBookmark(QString, QString)));
+ connect(m_tabBar, SIGNAL(addBookmark(QString,QString)), this,
+ SIGNAL(addBookmark(QString,QString)));
}
CentralWidget::~CentralWidget()
SLOT(actionChanged()));
connect(pageAction(QWebPage::Forward), SIGNAL(changed()), this,
SLOT(actionChanged()));
- connect(page(), SIGNAL(linkHovered(QString, QString, QString)), this,
+ connect(page(), SIGNAL(linkHovered(QString,QString,QString)), this,
SIGNAL(highlighted(QString)));
connect(this, SIGNAL(urlChanged(QUrl)), this, SIGNAL(sourceChanged(QUrl)));
connect(this, SIGNAL(loadStarted()), this, SLOT(setLoadStarted()));
openPagesDock->setWidget(openPagesManager->openPagesWidget());
addDockWidget(Qt::LeftDockWidgetArea, openPagesDock);
- connect(m_centralWidget, SIGNAL(addBookmark(QString, QString)),
- bookMarkManager, SLOT(addBookmark(QString, QString)));
+ connect(m_centralWidget, SIGNAL(addBookmark(QString,QString)),
+ bookMarkManager, SLOT(addBookmark(QString,QString)));
connect(bookMarkManager, SIGNAL(escapePressed()), this,
SLOT(activateCurrentCentralWidgetTab()));
connect(bookMarkManager, SIGNAL(setSource(QUrl)), m_centralWidget,
SLOT(qtDocumentationInstalled()));
connect(m_qtDocInstaller, SIGNAL(qchFileNotFound(QString)), this,
SLOT(resetQtDocInfo(QString)));
- connect(m_qtDocInstaller, SIGNAL(registerDocumentation(QString, QString)),
- this, SLOT(registerDocumentation(QString, QString)));
+ connect(m_qtDocInstaller, SIGNAL(registerDocumentation(QString,QString)),
+ this, SLOT(registerDocumentation(QString,QString)));
if (helpEngine.qtDocInfo(QLatin1String("qt")).count() != 2)
statusBar()->showMessage(tr("Looking for Qt Documentation..."));
m_qtDocInstaller->installDocs();
QDesignerPropertyEditorInterface *propertyEditor = 0;
propertyEditor = formEditor->propertyEditor();
- connect(propertyEditor, SIGNAL(propertyChanged(QString, QVariant)),
- this, SLOT(checkProperty(QString, QVariant)));
+ connect(propertyEditor, SIGNAL(propertyChanged(QString,QVariant)),
+ this, SLOT(checkProperty(QString,QVariant)));
//! [0]