diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-03-26 04:48:40 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-03-26 04:51:01 -0400 |
commit | 1d09c9f3bba82ae2a918765f645c7829027b4ac1 (patch) | |
tree | e56941fdff3e1064cd9c8eb8422e1371dc6d200c /sigtools/PluginTree_p.h | |
parent | 0d642f3374d9be46fb49f7a3fa5e3707935aa0d9 (diff) | |
download | sigen-1d09c9f3bba82ae2a918765f645c7829027b4ac1.tar.gz sigen-1d09c9f3bba82ae2a918765f645c7829027b4ac1.tar.xz sigen-1d09c9f3bba82ae2a918765f645c7829027b4ac1.zip |
Emulate KPluginSelector, but we can't use it directly due to the factory nature of the plugin classes
Diffstat (limited to 'sigtools/PluginTree_p.h')
-rw-r--r-- | sigtools/PluginTree_p.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/sigtools/PluginTree_p.h b/sigtools/PluginTree_p.h new file mode 100644 index 00000000..7f66bdfd --- /dev/null +++ b/sigtools/PluginTree_p.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009 Ben Boeckel <MathStuf@gmail.com> + * + * 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/>. + */ + +#ifndef SIGTOOLS_PLUGINTREE_P +#define SIGTOOLS_PLUGINTREE_P + +// Header include +#include "PluginTree.h" + +// Forward declarations +class KCategorizedView; +class KCategoryDrawer; +class KLineEdit; + +namespace Sigtools +{ +class PluginTreeModel; +class PluginTreeProxyModel; + +class SIGTOOLS_NO_EXPORT PluginTree::Private +{ + public: + Private(const QStringList& types, PluginTree* tree); + ~Private(); + + KLineEdit* m_filter; + KCategorizedView* m_view; + KCategoryDrawer* m_drawer; + PluginTreeModel* m_model; + PluginTreeProxyModel* m_proxy; +}; +} + +#endif |