diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | bcb704366cb5e333a626c18c308c7e0448a8e69f (patch) | |
tree | f0d6ab7d78ecdd9207cf46536376b44b91a1ca71 /kopete/protocols/meanwhile/meanwhileplugin.h | |
download | tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.tar.gz tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/meanwhile/meanwhileplugin.h')
-rw-r--r-- | kopete/protocols/meanwhile/meanwhileplugin.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/kopete/protocols/meanwhile/meanwhileplugin.h b/kopete/protocols/meanwhile/meanwhileplugin.h new file mode 100644 index 00000000..b2ddbdcb --- /dev/null +++ b/kopete/protocols/meanwhile/meanwhileplugin.h @@ -0,0 +1,47 @@ +/* + meanwhileplugin.h - provide helpers for meanwhile from an external plugin + + Copyright (c) 2003-2004 by Sivaram Gottimukkala <[email protected]> + + Kopete (c) 2002-2004 by the Kopete developers <[email protected]> + + ************************************************************************* + * * + * 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 __MEANWHILE_PLUGIN_H__ +#define __MEANWHILE_PLUGIN_H__ + +#include "qstring.h" +#include <kaction.h> + +class QLineEdit; + +class MeanwhilePlugin +{ +public: + /* do something when the find button on add contact is hit + * - like do lookups in company databases + * when done fill 'fillThis' with the id of the contact + */ + virtual void getMeanwhileId(QWidget *parent,QLineEdit *fillThis); + /* can this plugin provide the above functionality */ + virtual bool canProvideMeanwhileId(); + + /* show user info has been selected - the meanwhile server doesnt + * seem to have any info...maybe you can find it somewhere else + */ + virtual void showUserInfo(const QString &userid); + + /* if you want to provide more functions on the rightclick dropdown + * menu...implement this + */ + virtual void addCustomMenus(KActionMenu *menu); +}; + +#endif |