You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.8 KiB
65 lines
1.8 KiB
/***************************************************************************
|
|
highlightplugin.h - description
|
|
-------------------
|
|
begin : mar 14 2003
|
|
copyright : (C) 2003 by Olivier Goffart
|
|
email : 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 HighlightPLUGIN_H
|
|
#define HighlightPLUGIN_H
|
|
|
|
#include <tqobject.h>
|
|
#include <tqmap.h>
|
|
#include <tqstring.h>
|
|
|
|
#include "kopetemessage.h"
|
|
#include "kopeteplugin.h"
|
|
|
|
class TQStringList;
|
|
class TQString;
|
|
class TQTimer;
|
|
|
|
namespace Kopete { class Message; }
|
|
namespace Kopete { class MetaContact; }
|
|
namespace Kopete { class ChatSession; }
|
|
|
|
class HighlightConfig;
|
|
class Filter;
|
|
|
|
/**
|
|
* @author Olivier Goffart
|
|
*/
|
|
|
|
class HighlightPlugin : public Kopete::Plugin
|
|
{
|
|
Q_OBJECT
|
|
TQ_OBJECT
|
|
|
|
public:
|
|
static HighlightPlugin *plugin();
|
|
|
|
HighlightPlugin( TQObject *parent, const char *name, const TQStringList &args );
|
|
~HighlightPlugin();
|
|
|
|
public slots:
|
|
void slotIncomingMessage( Kopete::Message& msg );
|
|
void slotSettingsChanged();
|
|
|
|
|
|
private:
|
|
static HighlightPlugin* pluginStatic_;
|
|
HighlightConfig *m_config;
|
|
};
|
|
|
|
#endif
|