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

kopete/libkopete

  • sources
  • kde-4.14
  • kdenetwork
  • kopete
  • libkopete
  • ui
kopetestdaction.h
Go to the documentation of this file.
1 /*
2  kopetestdaction.h - Kopete Standard Actionds
3 
4  Copyright (c) 2001-2002 by Ryan Cumming <bodnar42@phalynx.dhs.org>
5  Copyright (c) 2002-2003 by Martijn Klingens <klingens@kde.org>
6 
7  Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org>
8 
9  *************************************************************************
10  * *
11  * This library is free software; you can redistribute it and/or *
12  * modify it under the terms of the GNU Lesser General Public *
13  * License as published by the Free Software Foundation; either *
14  * version 2 of the License, or (at your option) any later version. *
15  * *
16  *************************************************************************
17 */
18 
19 #ifndef KOPETESTDACTION_H
20 #define KOPETESTDACTION_H
21 
22 #undef KDE_NO_COMPAT
23 #include <kaction.h>
24 #include <QtCore/QObject>
25 
26 #include "kopete_export.h"
27 
28 class KActionCollection;
29 class KIcon;
33 class KOPETE_EXPORT KopeteStdAction
34 {
35 public:
39  static KAction *chat( const QObject *recvr, const char *slot, QObject* parent );
43  static KAction *sendMessage(const QObject *recvr, const char *slot, QObject* parent );
47  static KAction *contactInfo(const QObject *recvr, const char *slot, QObject* parent );
51  static KAction *viewHistory(const QObject *recvr, const char *slot, QObject* parent );
55  static KAction *sendFile(const QObject *recvr, const char *slot, QObject* parent );
59  static KAction *toggleAlwaysVisible(const QObject *recvr, const char *slot, QObject* parent );
63  static KAction *changeMetaContact(const QObject *recvr, const char *slot, QObject* parent );
67  static KAction *addGroup(const QObject *recvr, const char *slot, QObject* parent );
71  static KAction *deleteContact(const QObject *recvr, const char *slot, QObject* parent );
75  static KAction *changeAlias(const QObject *recvr, const char *slot, QObject* parent );
79  static KAction *blockContact(const QObject *recvr, const char *slot, QObject* parent );
83  static KAction *unblockContact(const QObject *recvr, const char *slot, QObject* parent );
84 
90  static KAction *preferences(KActionCollection *parent, const char *name = 0);
91 private:
96  static KAction *createAction(const QString &text, const KIcon &icon, const QObject *receiver, const char *slot, QObject* parent);
97 };
98 
99 
100 namespace KSettings
101 {
102  class Dialog;
103 }
104 
105 class KOPETE_EXPORT KopetePreferencesAction : public KAction
106 {
107  Q_OBJECT
108 
109  public:
110  explicit KopetePreferencesAction( KActionCollection *parent, const char *name = 0 );
111  ~KopetePreferencesAction();
112 
113  protected slots:
114  void slotShowPreferences();
115  private:
116  static KSettings::Dialog *s_settingsDialog;
117 };
118 
119 #endif
120 // vim: set noet ts=4 sts=4 sw=4:
KOPETE_EXPORT
#define KOPETE_EXPORT
Definition: kopete_export.h:27
KopeteStdAction
Definition: kopetestdaction.h:33
QObject
kopete_export.h
QString
KopetePreferencesAction
Definition: kopetestdaction.h:105
KAction
name
const char * name
Definition: kopeteonlinestatus.cpp:104
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/libkopete

Skip menu "kopete/libkopete"
  • 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