mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-10 17:29:06 +00:00
Renamed signal.
This commit is contained in:
parent
8d99120409
commit
b11474e6be
4 changed files with 8 additions and 8 deletions
|
@ -74,7 +74,7 @@ void CGeorgesDirTreeDialog::fileSelected(QModelIndex index)
|
||||||
{
|
{
|
||||||
if (index.isValid() && !m_dirModel->isDir(index))
|
if (index.isValid() && !m_dirModel->isDir(index))
|
||||||
{
|
{
|
||||||
Q_EMIT selectedForm(m_dirModel->fileName(index));
|
Q_EMIT fileSelected(m_dirModel->fileName(index));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ private:
|
||||||
QString m_ldPath;
|
QString m_ldPath;
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void selectedForm(const QString);
|
void fileSelected(const QString&);
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
void fileSelected(QModelIndex index);
|
void fileSelected(QModelIndex index);
|
||||||
|
|
|
@ -103,8 +103,8 @@ namespace GeorgesQt
|
||||||
|
|
||||||
connect(Core::ICore::instance(), SIGNAL(changeSettings()),
|
connect(Core::ICore::instance(), SIGNAL(changeSettings()),
|
||||||
this, SLOT(settingsChanged()));
|
this, SLOT(settingsChanged()));
|
||||||
connect(m_georgesDirTreeDialog, SIGNAL(selectedForm(const QString)),
|
connect(m_georgesDirTreeDialog, SIGNAL(fileSelected(const QString&)),
|
||||||
this, SLOT(loadFile(const QString)));
|
this, SLOT(loadFile(const QString&)));
|
||||||
connect(qApp, SIGNAL(focusChanged(QWidget*, QWidget*)),
|
connect(qApp, SIGNAL(focusChanged(QWidget*, QWidget*)),
|
||||||
this, SLOT(focusChanged(QWidget*, QWidget*)));
|
this, SLOT(focusChanged(QWidget*, QWidget*)));
|
||||||
}
|
}
|
||||||
|
@ -194,12 +194,12 @@ namespace GeorgesQt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void GeorgesEditorForm::loadFile(const QString fileName)
|
void GeorgesEditorForm::loadFile(const QString &fileName)
|
||||||
{
|
{
|
||||||
loadFile(fileName, false);
|
loadFile(fileName, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GeorgesEditorForm::loadFile(const QString fileName, bool loadFromDfn)
|
void GeorgesEditorForm::loadFile(const QString &fileName, bool loadFromDfn)
|
||||||
{
|
{
|
||||||
QFileInfo info(fileName);
|
QFileInfo info(fileName);
|
||||||
|
|
||||||
|
|
|
@ -42,8 +42,8 @@ public:
|
||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
void open();
|
void open();
|
||||||
void loadFile(const QString fileName);
|
void loadFile(const QString &fileName);
|
||||||
void loadFile(const QString fileName, bool loadFromDfn);
|
void loadFile(const QString &fileName, bool loadFromDfn);
|
||||||
void newFile();
|
void newFile();
|
||||||
void save();
|
void save();
|
||||||
void settingsChanged();
|
void settingsChanged();
|
||||||
|
|
Loading…
Reference in a new issue