|
|
|
/*
|
|
|
|
cryptographyguiclient.h
|
|
|
|
|
|
|
|
Copyright (c) 2004 by Olivier Goffart <ogoffart @ kde.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 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
*************************************************************************
|
|
|
|
*/
|
|
|
|
#ifndef CRYPTOGUICLIENT_H
|
|
|
|
#define CRYPTOGUICLIENT_H
|
|
|
|
|
|
|
|
#include <tqobject.h>
|
|
|
|
#include <kxmlguiclient.h>
|
|
|
|
|
|
|
|
namespace Kopete { class ChatSession; }
|
|
|
|
class TDEToggleAction;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*@author Olivier Goffart
|
|
|
|
*/
|
|
|
|
class CryptographyGUIClient : public TQObject, public KXMLGUIClient
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
CryptographyGUIClient(Kopete::ChatSession *parent = 0);
|
|
|
|
~CryptographyGUIClient();
|
|
|
|
|
|
|
|
private:
|
|
|
|
TDEToggleAction *m_action;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void slotToggled();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|