Less QToolBars in editor tool bar.

This commit is contained in:
con
2009-07-15 16:23:07 +02:00
parent 5e1a24f75b
commit baaf7b1d62
22 changed files with 55 additions and 51 deletions

View File

@@ -346,7 +346,7 @@ Core::IFile *EditorPrototype::file() const
return callee()->file();
}
QToolBar* EditorPrototype::toolBar() const
QWidget* EditorPrototype::toolBar() const
{
return callee()->toolBar();
}

View File

@@ -198,7 +198,7 @@ class EditorPrototype : public QObject, public QScriptable
Q_PROPERTY(QString kind READ kind DESIGNABLE false SCRIPTABLE true STORED false)
Q_PROPERTY(bool duplicateSupported READ duplicateSupported DESIGNABLE false SCRIPTABLE true STORED false)
Q_PROPERTY(Core::IFile* file READ file DESIGNABLE false SCRIPTABLE true STORED false)
Q_PROPERTY(QToolBar* toolBar READ toolBar DESIGNABLE false SCRIPTABLE true STORED false)
Q_PROPERTY(QWidget* toolBar READ toolBar DESIGNABLE false SCRIPTABLE true STORED false)
public:
EditorPrototype(QObject *parent = 0);
@@ -210,7 +210,7 @@ public:
bool duplicateSupported() const;
Core::IFile *file() const;
QToolBar* toolBar() const;
QWidget* toolBar() const;
public slots:
bool createNew(const QString &contents);