• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdenetwork API Reference
  • KDE Home
  • Contact Us
 

kopete/kopete

  • sources
  • kde-4.14
  • kdenetwork
  • kopete
  • kopete
  • statusmenu
kopetestatusgroupaction.h
Go to the documentation of this file.
1 /*
2  kopetestatusgroupaction.h - Kopete Status Group Action
3 
4  Copyright (c) 2008 by Roman Jarosz <kedgedev@centrum.cz>
5  Kopete (c) 2008 by the Kopete developers <kopete-devel@kde.org>
6 
7  *************************************************************************
8  * *
9  * This library is free software; you can redistribute it and/or *
10  * modify it under the terms of the GNU Lesser General Public *
11  * License as published by the Free Software Foundation; either *
12  * version 2 of the License, or (at your option) any later version. *
13  * *
14  *************************************************************************
15 */
16 #ifndef KOPETESTATUSGROUPACTION_H
17 #define KOPETESTATUSGROUPACTION_H
18 
19 #include <KActionMenu>
20 #include "kopete_export.h"
21 namespace Kopete
22 {
23  class StatusRootAction;
24 
25  namespace Status
26  {
27  class StatusGroup;
28  class StatusItem;
29  class Status;
30  }
31 
36 class KOPETE_STATUSMENU_EXPORT StatusGroupAction : public KActionMenu
37 {
38  Q_OBJECT
39 public:
46  StatusGroupAction( Status::StatusGroup *group, StatusRootAction* rootAction, QObject * parent );
47 
51  int childCount() const;
52 
53 private:
54  void init();
55 
56 private Q_SLOTS:
57  void changed();
58 
59  void childInserted( int i, Kopete::Status::StatusItem* child );
60  void childRemoved( Kopete::Status::StatusItem* child );
61 
62 private:
63  void insertChild( QAction * before, Status::StatusItem* child );
64 
65  Status::StatusGroup *mStatusGroup;
66  StatusRootAction* mRootAction;
67  QMap<Status::StatusItem *, QAction* > mChildMap;
68 };
69 
70 }
71 
72 #endif
Kopete::StatusRootAction
Definition: kopetestatusrootaction.h:43
QMap< Status::StatusItem *, QAction * >
QObject
KActionMenu
QAction
Kopete::StatusGroupAction
Definition: kopetestatusgroupaction.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/kopete

Skip menu "kopete/kopete"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal