/***************************************************************************
 *   Copyright (C) 2004-2006 by Pere Constans
 *   constans@molspaces.com
 *   cb2Bib version 0.6.1
 *   See LICENSE file that comes with this distribution
 ***************************************************************************/
#ifndef C2BCLIPEDIT_H
#define C2BCLIPEDIT_H

#include <qtextedit.h>


class QAction;


/**
@author Pere Constans
*/
class c2bClipEdit : public QTextEdit
{
    Q_OBJECT

public:
    c2bClipEdit(QWidget *parent = 0, const char *name = 0);
    ~c2bClipEdit();

    void setActions( QPtrList<QAction*>* aList );


protected:
    QPtrList<QAction*>* cb2BibActions;
    virtual QPopupMenu *createPopupMenu( const QPoint& pos );

};

#endif
