/***************************************************************************
 *   Copyright (C) 2003-2005 by liuspider                                  *
 *   liuspider@users.sourceforge.net                                       *
 *                                                                         *
 *   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 SCIMTOOLBAR_H
#define SCIMTOOLBAR_H

#include <ktoolbar.h>
#include <ktoolbarbutton.h>

// class ScimToolBarButton : public KToolBarButton
// {
// Q_OBJECT
// public:
//     ScimToolBarButton(const QString &icon, int id, QWidget *parent, const char *name=0L, const QString &txt=QString::null, KInstance *_instance=KGlobal::instance());
//     ~ScimToolBarButton();
//     void setTextIconMode(KToolBar::IconText);
// //     virtual void setText (const QString &text);
// protected:
//     KToolBar::IconText iconText;
//     KToolBar::IconText iconTextMode () const{return iconText;};
// };
class ScimToolBar : public KToolBar
{
Q_OBJECT
public:
    ScimToolBar(QWidget *parent = 0, const char *name = 0);
//     virtual QSize sizeHint() const;

    ~ScimToolBar();
    
    virtual void adjustSize();
//     int insertButton (const QString &icon, int id, const char *signal, 
//       const QObject *receiver, const char *slot, bool enabled=true, 
//       const QString &text=QString::null, int index=-1, KInstance *_instance=KGlobal::instance());
};

#endif
