Browse Source

[DOC] ActionInterface

master
Ulrich Van Den Hekke 11 years ago
parent
commit
7e5120b530
  1. 2
      components/borderlayout.cpp
  2. 2
      components/checkcombobox.cpp
  3. 2
      components/checkcombobox_p.h
  4. 2
      components/completerdirmodel.cpp
  5. 2
      components/customschemeimpl.cpp
  6. 1
      components/customschemeimpl_p.h
  7. 11
      components/directoryedit.cpp
  8. 1
      components/directoryedit_p.h
  9. 2
      components/directoryeditwidget.cpp
  10. 1
      components/directoryeditwidget_p.h
  11. 6
      components/pluginselector.cpp
  12. 2
      components/qmenuview.cpp
  13. 1
      components/qmenuview_p.h
  14. 2
      components/stringcombobox.cpp
  15. 2
      components/xinxcolorcombo.cpp
  16. 1
      components/xinxcolorcombo_p.h
  17. 22
      components/xinxdirectorylistwidget.cpp
  18. 1
      components/xinxdirectorylistwidget_p.h
  19. 2
      components/xinxlistwidgetimpl.cpp
  20. 1
      components/xinxlistwidgetimpl_p.h
  21. 182
      framework/actions/actioninterface.cpp
  22. 19
      framework/actions/actioninterface.h
  23. 69
      framework/actions/actioninterface_p.h
  24. 1
      framework/application/versionavailabledialog_p.h
  25. 1
      framework/application/welcomdlgimpl_p.h
  26. 2
      framework/contentview3/treemodel_p.h
  27. 4
      framework/core/p_filewatcher.h
  28. 2
      framework/editors/editormanager_p.h
  29. 1
      framework/editors/xinxcodeedit_p.h
  30. 1
      framework/project/projectdirectorywidgetimpl_p.h
  31. 3
      framework/project/projectlistmodel_p.h
  32. 1
      framework/project/xinxprojectmanager_p.h
  33. 1
      framework/session/sessionmanager_p.h
  34. 2
      framework/translations/translationmanager_p.h
  35. 1
      framework/versioncontrol/logdialogimpl_p.h

2
components/borderlayout.cpp

@ -92,6 +92,8 @@ QSize BorderLayoutPrivate::calculateSize(SizeType sizeType) const
*
* \brief A layout with a central widget.
*
* \bc
*
* This layout is decomposed with a central widget and four borders. Methods
* add() and addWidget() have a second parameter \p position used to define
* where you place your widget.

2
components/checkcombobox.cpp

@ -145,6 +145,8 @@ bool CheckComboModel::setData(const QModelIndex& index, const QVariant& value, i
* \ingroup Components
* \brief The CheckComboBox widget is an extended QComboBox with checkable items.
*
* \bc
*
* ComboBox is a specialized combo box with checkable items.
* Checked items are collected together in the line edit.
*

2
components/checkcombobox_p.h

@ -31,6 +31,7 @@
#include <QStandardItemModel>
#include "checkcombobox.h"
//! \private
class CheckComboModel : public QStandardItemModel
{
Q_OBJECT
@ -46,6 +47,7 @@ signals:
void checkStateChanged();
};
//! \private
class CheckComboBoxPrivate : public QObject
{
Q_OBJECT

2
components/completerdirmodel.cpp

@ -32,6 +32,8 @@
*
* \brief Class used by DirectoryEdit to complete on path.
*
* \bc
*
* Completer model class based on a QDirModel which permit to propose a completion on
* the path.
* The CompleterDirModel convert path on native separtor. If the path end with a separator,

2
components/customschemeimpl.cpp

@ -161,6 +161,8 @@ void CustomSchemeImplPrivate::updateFormatList()
*
* \brief Class to help the user to customize the QCodeEdit editor.
*
* \bc
*
* Create a widget that allows to customize the QCodeEdit editor. This program uses
* QLanguageFactory and QFormatScheme to show the list of available formats to
* change.

1
components/customschemeimpl_p.h

@ -31,6 +31,7 @@ class QFormatScheme;
class QFormat;
class QLanguageFactory;
//! \private
class CustomSchemeImplPrivate : public QObject
{
Q_OBJECT

11
components/directoryedit.cpp

@ -115,6 +115,8 @@ void DirectoryEditPrivate::slotTextChanged(QString text)
*
* \brief A line edit to edit, file or path.
*
* \bc
*
* A line editor using a QCompleter based on the model \p CompleterDirModel to
* help the user to edit the path.
*
@ -269,7 +271,10 @@ bool DirectoryEdit::isError() const
}
/*!
* \brief Set the value of the QLineEdit to \e value
* \reimp
*
* If the DirectoryEdit have a prefix() then the value is automatically prefixed.
*/
void DirectoryEdit::setText(const QString & value)
{
@ -284,7 +289,10 @@ void DirectoryEdit::setText(const QString & value)
}
/*!
* \brief Select all the text of the Input
* \reimp
*
* Select all the text that the user can changed. If a prefix() is defined the prefix is not defined.
*/
void DirectoryEdit::selectAll()
{
@ -292,7 +300,10 @@ void DirectoryEdit::selectAll()
}
/*!
* \brief Clear the input of the user
* \reimp
*
* Clear the input of the user. If a prefix() is defined, the prefix is not cleared.
*/
void DirectoryEdit::clear()
{

1
components/directoryedit_p.h

@ -25,6 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QString>
#include <QObject>
//! \private
class DirectoryEditPrivate : public QObject
{
Q_OBJECT

2
components/directoryeditwidget.cpp

@ -54,6 +54,8 @@ PrivateDirectoryEditWidget::PrivateDirectoryEditWidget(QWidget * o)
* \class DirectoryEditWidget
* \since 0.7.0.0
*
* \bc
*
* \brief A widget to edit a path. This widget has a button attached to open a dialog.
*
* This class is an association of a Directory Line editor and a button.

1
components/directoryeditwidget_p.h

@ -27,6 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <components-config.h>
#include <QToolButton>
//! \private
class PrivateDirectoryEditWidget
{
public:

6
components/pluginselector.cpp

@ -437,6 +437,8 @@ QSize PluginDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelI
*
* \brief The PluginSelector provides a list of configurable plugin elements.
*
* \bc
*
* This class shows to the user the list of plugins with for each
* plugins a configure button and a about button.
*
@ -456,12 +458,12 @@ QSize PluginDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelI
/*!
* \fn void PluginSelector::configurePlugin(PluginElement * plugin);
* This signal is emited when the plugin requests to be configured.
* \brief This signal is emited when the plugin requests to be configured.
*/
/*!
* \fn void PluginSelector::aboutPlugin(PluginElement * plugin);
* The signal is emited when the plugin requests to show a description.
* \brief The signal is emited when the plugin requests to show a description.
*/
/*!

2
components/qmenuview.cpp

@ -106,6 +106,8 @@ void QMenuViewPrivate::aboutToShow()
*
* \brief The QMenuView provides a menu based view on a QAbstractItemModel class.
*
* \bc
*
* This class is used to transform a hierarchical model based on the class
* QAbstractItemModel into a menu. It can be used to create an action menu, history,
* or snipets menu.

1
components/qmenuview_p.h

@ -28,6 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "qmenuview.h"
#include <components-config.h>
//! \private
class QMenuViewPrivate : public QObject
{
Q_OBJECT

2
components/stringcombobox.cpp

@ -27,6 +27,8 @@
*
* \brief The class StringComboBox provides a extension of QComboBox to select an item.
*
* \bc
*
* This special combo box adds a property value that can be used
* to change dynamically the current index with a string value, instead
* of change the value of the lineedit.

2
components/xinxcolorcombo.cpp

@ -216,6 +216,8 @@ void XinxColorComboPrivate::addColors()
*
* \brief The XinxColorCombo provides a QComboBox used to select color.
*
* \bc
*
* Combo box to choose a color. The combo box shows you the color
* and an associated text to the color. The shown color, is standard Qt color.
* The user can also change, and use a customed color. In this case a dialog

1
components/xinxcolorcombo_p.h

@ -35,6 +35,7 @@ Boston, MA 02111-1307, USA.
#include <QObject>
#include <QColor>
//! \private
class XinxColorComboPrivate : public QObject
{
Q_OBJECT

22
components/xinxdirectorylistwidget.cpp

@ -22,16 +22,38 @@
#include <QApplication>
#include <QFileDialog>
/*!
* \ingroup Components
* \class XinxDirectoryListWidget
* \brief This list ask to the user to choose the directory to add to the list.
* \since 0.10.0.0
*
* \bc
*
*/
/*!
* \brief Create a XinxDirectoryListWidget based on the XinxListWidgetImpl
*/
XinxDirectoryListWidget::XinxDirectoryListWidget(QWidget* parent, Qt::WindowFlags f): XinxListWidgetImpl(parent, f), d(new XinxDirectoryListWidgetPrivate)
{
}
//! Destroy the XinxDirectoryListWidget
XinxDirectoryListWidget::~XinxDirectoryListWidget()
{
}
/*!
* \brief This method is called when a new value is added into the list.
* \since 0.10.0.0
*
* When a new value is added to the list, this method open a dialog box to the user to ask for an existing directory.
* The entered value from the user is returned to be added to the list.
*/
QString XinxDirectoryListWidget::addNewValue()
{
return QDir::toNativeSeparators(QFileDialog::getExistingDirectory(qApp->activeWindow(), tr("Get a directory"), defaultProposedValue()));

1
components/xinxdirectorylistwidget_p.h

@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <xinxdirectorylistwidget.h>
//! \private
class XinxDirectoryListWidgetPrivate
{
public:

2
components/xinxlistwidgetimpl.cpp

@ -151,6 +151,8 @@ void XinxListWidgetImplPrivate::on_m_list_itemChanged(QListWidgetItem * item)
*
* \brief The class XinxListWidgetImpl provides a widget to create, and sort a list.
*
* \bc
*
* This widget is a list of values (exemple: list of path, list of urls, list of prefix) with
* a button to add an value, a button to delete a value, and a button to make a value the
* default (this button can be cached the property defaultVisible()).

1
components/xinxlistwidgetimpl_p.h

@ -26,6 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "xinxlistwidgetimpl.h"
#include <components-config.h>
//! \private
class XinxListWidgetImplPrivate : public QObject
{
Q_OBJECT

182
framework/actions/actioninterface.cpp

@ -18,7 +18,7 @@
*/
// Xinx header
#include "actioninterface.h"
#include "actioninterface_p.h"
#include <core/xinxcore.h>
#include <editors/editormanager.h>
#include <editors/abstracteditor.h>
@ -48,14 +48,20 @@ using namespace XinxAction;
*
* \brief This class provide a menu item for ActionList
*
* \bc
*
* Class represent a menu item. A menu item can be an action or a separator. This used by XINX throw plugin,
* to define the type of the element in the menu.
*/
MenuItem::MenuItem(QAction * a) : m_action(a)
/*!
* \brief Create a new menu item based on action \e a
* \param a The action (or separator) of the menu item
*/
MenuItem::MenuItem(QAction * a) : d(new MenuItemPrivate)
{
d->m_action = a;
}
//! Destroy the menu item
@ -66,7 +72,13 @@ MenuItem::~MenuItem()
//! This method return the QAction object
QAction * MenuItem::action() const
{
return m_action;
return d->m_action;
}
//! This methode set the current QAction
void MenuItem::setAction(QAction* action)
{
d->m_action = action;
}
/*!
@ -84,8 +96,8 @@ bool MenuItem::isEnabled() const
//! Use methode isVisible() and isEnabled() to update the status of the action.
void MenuItem::updateActionState()
{
m_action->setVisible(isVisible());
m_action->setEnabled(isEnabled());
d->m_action->setVisible(isVisible());
d->m_action->setEnabled(isEnabled());
}
/*!
@ -109,13 +121,22 @@ bool MenuItem::isVisible() const
*
* \brief This class provide a separator item for ActionList
*
* \bc
*
* This class represent a separator. For a separator there is no data expected.
*/
Separator::Separator() : _visible(true)
/*!
* \brief Create new separator
*
* An internal action is automatically created as Separator.
*/
Separator::Separator() : d(new SeparatorPrivate)
{
m_action = new QAction(this);
m_action->setSeparator(true);
d->_visible = true;
QAction * action = new QAction(this);
action->setSeparator(true);
setAction(action);
}
//! Destroy the separator
@ -125,12 +146,12 @@ Separator::~Separator()
bool Separator::isVisible() const
{
return _visible;
return d->_visible;
}
void Separator::setVisible(bool value)
{
_visible = value;
d->_visible = value;
}
/* Action */
@ -142,6 +163,8 @@ void Separator::setVisible(bool value)
*
* \brief This class provide an action for ActionList
*
* \bc
*
* This class is a wrapper of a QAction. This wrapper is used to facilite
* the enable, and visible feature of the action. This class inherits from
* MenuItem too, so we can use it in ActionList.
@ -152,10 +175,11 @@ void Separator::setVisible(bool value)
*
* This method set enabled and visible to true.
*/
Action::Action(QAction * a) : MenuItem(a), _editor(0)
Action::Action(QAction * a) : MenuItem(a), d(new ActionPrivate)
{
d->_editor = 0;
updateActionState();
connect(m_action, SIGNAL(triggered()), this, SLOT(actionTriggered()));
connect(action(), SIGNAL(triggered()), this, SLOT(actionTriggered()));
}
/*!
@ -164,11 +188,13 @@ Action::Action(QAction * a) : MenuItem(a), _editor(0)
* This methode create a QAction object with the different information from parameters and
* use him self as parent of the QAction.
*/
Action::Action(const QString& text): _editor(0)
Action::Action(const QString& text): d(new ActionPrivate)
{
m_action = new QAction(text, this);
d->_editor = 0;
QAction * action = new QAction(text, this);
setAction(action);
updateActionState();
connect(m_action, SIGNAL(triggered()), this, SLOT(actionTriggered()));
connect(action, SIGNAL(triggered()), this, SLOT(actionTriggered()));
}
/*!
@ -177,12 +203,14 @@ Action::Action(const QString& text): _editor(0)
* This methode create a QAction object with the different information from parameters and
* use him self as parent of the QAction.
*/
Action::Action(const QString & text, const QKeySequence & shortcut) : _editor(0)
Action::Action(const QString & text, const QKeySequence & shortcut) : d(new ActionPrivate)
{
m_action = new QAction(text, this);
m_action->setShortcut(shortcut);
d->_editor = 0;
QAction * action = new QAction(text, this);
action->setShortcut(shortcut);
setAction(action);
updateActionState();
connect(m_action, SIGNAL(triggered()), this, SLOT(actionTriggered()));
connect(action, SIGNAL(triggered()), this, SLOT(actionTriggered()));
}
/*!
@ -191,12 +219,14 @@ Action::Action(const QString & text, const QKeySequence & shortcut) : _editor(0)
* This methode create a QAction object with the different information from parameters and
* use him self as parent of the QAction.
*/
Action::Action(const QIcon & icon, const QString & text, const QKeySequence & shortcut) : _editor(0)
Action::Action(const QIcon & icon, const QString & text, const QKeySequence & shortcut) : d(new ActionPrivate)
{
m_action = new QAction(icon, text, this);
m_action->setShortcut(shortcut);
d->_editor = 0;
QAction * action = new QAction(icon, text, this);
action->setShortcut(shortcut);
setAction(action);
updateActionState();
connect(m_action, SIGNAL(triggered()), this, SLOT(actionTriggered()));
connect(action, SIGNAL(triggered()), this, SLOT(actionTriggered()));
}
//! Destroy the action
@ -215,71 +245,145 @@ void Action::actionTriggered()
{
}
/*!
* \brief Add a signal to observe to update action state.
* \since 0.10.0.0
*
* The signal is automatically added to the list of signal to observer. When the signal
* is triggered, the methode updateActionState() is automatically called.
*
* \param signal The signal to observe. Must have the form SIGNAL(methode())
*/
void Action::addEditorSignals(const char* signal)
{
_signals.append(signal);
d->_signals.append(signal);
}
/*!
* \brief Return the current editor
* \since 0.10.0.0
*/
AbstractEditor* Action::currentEditor() const
{
return _editor;
return d->_editor;
}
/*!
* \brief Change the current editor on the action
* \since 0.10.0.0
*
* When the editor is changed, signal added by addEditorSignals() are activated to
* observe the editor.
*
* \param editor The editor used by user
*/
void Action::setCurrentEditor(AbstractEditor * editor)
{
if (_editor && _signals.count())
if (d->_editor && d->_signals.count())
{
foreach(const char * signal, _signals)
foreach(const char * signal, d->_signals)
{
disconnect(_editor, signal, this, SLOT(updateActionState()));
disconnect(d->_editor, signal, this, SLOT(updateActionState()));
}
}
_editor = editor;
if (_editor && _signals.count())
d->_editor = editor;
if (d->_editor && d->_signals.count())
{
foreach(const char * signal, _signals)
foreach(const char * signal, d->_signals)
{
connect(_editor, signal, this, SLOT(updateActionState()));
connect(d->_editor, signal, this, SLOT(updateActionState()));
}
}
}
/* ProjectAction */
ProjectAction::ProjectAction(QAction* a): Action(a)
/*!
* \class ProjectAction
* \brief Represent an action for the project directory dock
* \since 0.10.0.0
*
* \bc
*
* A project action is not only dependant of the current editor, but is dependant from the
* list of selected element in the project directory dock.
*
* This type of action can be use when the status of the action, or the execution of the action
* is depending on the number or type of selected element.
*/
/*!
* \brief Create a ProjectAction with the QAction a
* \reimp
*/
ProjectAction::ProjectAction(QAction* a): Action(a), d(new ProjectActionPrivate)
{
}
ProjectAction::ProjectAction(const QString& text): Action(text)
/*!
* \brief Create a ProjectAction with the text \e text
* \reimp
*/
ProjectAction::ProjectAction(const QString& text): Action(text), d(new ProjectActionPrivate)
{
}
ProjectAction::ProjectAction(const QString& text, const QKeySequence& shortcut): Action(text, shortcut)
/*!
* \brief Create a ProjectAction with the text \e text and the shortcut \e shortcut
* \reimp
*/
ProjectAction::ProjectAction(const QString& text, const QKeySequence& shortcut): Action(text, shortcut), d(new ProjectActionPrivate)
{
}
ProjectAction::ProjectAction(const QIcon& icon, const QString& text, const QKeySequence& shortcut): Action(icon, text, shortcut)
/*!
* \brief Create a ProjectAction with the icon \e icon, the text \e text, and the shortcut \e shortcut.
* \reimp
*/
ProjectAction::ProjectAction(const QIcon& icon, const QString& text, const QKeySequence& shortcut): Action(icon, text, shortcut), d(new ProjectActionPrivate)
{
}
/*!
* \brief Destroy the ProjectAction
* \reimp
*/
ProjectAction::~ProjectAction()
{
}
/*!
* \brief Set the selected row in the project dock view.
*
* This method is called by the project dock when the user change the selection.
*
* \param rows List of selected rows. Each row contains the file/directory selected and
* the project where is attached the file.
*
* \sa selectedRows()
*/
void ProjectAction::setSelectedRows(const QList< ProjectAction::RowInfo >& rows)
{
_selectedRows = rows;
d->_selectedRows = rows;
updateActionState();
}
/*!
* \brief Get the selected row list
*
* This method can be used to get the list of selected rows.
*
* \sa setSelectedRows()
*/
const QList< ProjectAction::RowInfo >& ProjectAction::selectedRows() const
{
return _selectedRows;
return d->_selectedRows;
}

19
framework/actions/actioninterface.h

@ -29,7 +29,6 @@
#include <QAction>
#include <QKeySequence>
#include <QIcon>
#include <QPointer>
#include <project/xinxprojectproject.h>
class AbstractEditor;
@ -38,6 +37,10 @@ namespace XinxAction
{
class ActionManager;
class MenuItemPrivate;
class SeparatorPrivate;
class ActionPrivate;
class ProjectActionPrivate;
class LIBEXPORT MenuItem : public QObject
{
@ -55,7 +58,10 @@ public slots:
void updateActionState();
protected:
QAction * m_action;
void setAction(QAction * action);
private:
QScopedPointer<MenuItemPrivate> d;
};
class LIBEXPORT Separator : public MenuItem
@ -69,7 +75,7 @@ public:
void setVisible(bool value);
private:
bool _visible;
QScopedPointer<SeparatorPrivate> d;
};
class LIBEXPORT Action : public MenuItem
@ -92,9 +98,7 @@ protected slots:
virtual void actionTriggered();
private:
QPointer<AbstractEditor> _editor;
QList<const char *> _signals;
QScopedPointer<ActionPrivate> d;
friend class ActionManager;
};
@ -119,8 +123,7 @@ protected:
const QList<RowInfo> & selectedRows() const;
private:
QList<RowInfo> _selectedRows;
QScopedPointer<ProjectActionPrivate> d;
friend class ActionManager;
};

69
framework/actions/actioninterface_p.h

@ -0,0 +1,69 @@
/*
XINX
Copyright (C) 2007-2011 by Ulrich Van Den Hekke
xinx@shadoware.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful.
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#ifndef ACTIONINTERFACE_P_H
#define ACTIONINTERFACE_P_H
// Xinx header
#include "actioninterface.h"
// Qt header
#include <QPointer>
#include <QAction>
#include <QKeySequence>
#include <QIcon>
class AbstractEditor;
namespace XinxAction
{
//! \private
class MenuItemPrivate
{
public:
QAction * m_action;
};
//! \private
class SeparatorPrivate
{
public:
bool _visible;
};
//! \private
class ActionPrivate
{
public:
QPointer<AbstractEditor> _editor;
QList<const char *> _signals;
};
//! \private
class ProjectActionPrivate
{
public:
QList<ProjectAction::RowInfo> _selectedRows;
};
}
#endif // ACTIONINTERFACE_P_H

1
framework/application/versionavailabledialog_p.h

@ -23,6 +23,7 @@
#include "versionavailabledialog.h"
#include <QNetworkReply>
//! \private
class VersionAvailableDialogPrivate : public QObject
{
Q_OBJECT

1
framework/application/welcomdlgimpl_p.h

@ -23,6 +23,7 @@
// Qt header
#include <QListWidget>
//! \private
class WelcomTreeWidget : public QListWidget
{
Q_OBJECT

2
framework/contentview3/treemodel_p.h

@ -29,6 +29,7 @@
namespace ContentView3
{
//! \private
class TreeNode : public QStandardItem
{
public:
@ -45,6 +46,7 @@ public:
};
//! \private
class PrivateTreeModel : public QObject
{
Q_OBJECT

4
framework/core/p_filewatcher.h

@ -36,6 +36,7 @@
#include <QTimer>
#include <QFileInfo>
//! \private
class FileWatched : public QObject
{
Q_OBJECT
@ -75,6 +76,7 @@ private:
QFileInfo m_file;
};
//! \private
class LIBEXPORT FileWatcherManager : public XinxThread
{
Q_OBJECT
@ -103,6 +105,7 @@ private:
QList<FileWatched*> m_watchedfiles;
};
//! \private
class PrivateFileWatcher : public QObject
{
Q_OBJECT
@ -119,6 +122,7 @@ private:
FileWatcher * m_parent;
};
//! \private
class PrivateFilesWatcher : public QObject
{
Q_OBJECT

2
framework/editors/editormanager_p.h

@ -47,6 +47,7 @@
#include <QUrl>
#include <QToolButton>
//! \private
class PrivateTabWidget : public QTabWidget
{
Q_OBJECT
@ -62,6 +63,7 @@ private:
EditorManager * _manager;
};
//! \private
class PrivateEditorManager : public QObject
{
Q_OBJECT

1
framework/editors/xinxcodeedit_p.h

@ -30,6 +30,7 @@
/* XinxEditor */
//! \private
class XinxEditor : public QEditor
{
Q_OBJECT

1
framework/project/projectdirectorywidgetimpl_p.h

@ -28,6 +28,7 @@ class QTimer;
class QAction;
class QDockWidget;
//! \private
class PrivateProjectDirectoryWidgetImpl : public QObject
{
Q_OBJECT

3
framework/project/projectlistmodel_p.h

@ -35,6 +35,7 @@ namespace XinxProject
class PrivateProjectListModel;
//! \private
class DirectoryFetcher : public XinxJob
{
Q_OBJECT
@ -67,6 +68,7 @@ private:
XinxProject::ProjectPtr _project;
};
//! \private
class ModelFileNode
{
public:
@ -109,6 +111,7 @@ public:
bool _is_children_populated;
};
//! \private
class PrivateProjectListModel : public QObject
{
Q_OBJECT

1
framework/project/xinxprojectmanager_p.h

@ -30,6 +30,7 @@ namespace XinxProject
class Manager;
//! \private
class LIBEXPORT PrivateManager : public QObject
{
Q_OBJECT

1
framework/session/sessionmanager_p.h

@ -27,6 +27,7 @@
namespace XinxSession
{
//! \private
class PrivateSessionManager : public QObject
{
Q_OBJECT

2
framework/translations/translationmanager_p.h

@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QStringList>
#include <QTranslator>
//! \private
class TranslationManagerPrivate
{
public:

1
framework/versioncontrol/logdialogimpl_p.h

@ -24,6 +24,7 @@
#include "ui_logdialog.h"
#include "logdialogimpl.h"
//! \private
class LogDialogImplPrivate : public QObject
{
Q_OBJECT

Loading…
Cancel
Save