#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
#include "debug.h"
#include "iconpalette.h"
+#include "qt_helpers.h"
#include <qlayout.h>
#include <qpushbutton.h>
QPushButton * p = new QPushButton(this);
p->setFixedSize(button_size, button_size);
p->setPixmap(pixmap);
- QToolTip::add(p, tooltip.c_str());
+ QToolTip::add(p, toqstr(tooltip));
connect(p, SIGNAL(clicked()), this, SLOT(clicked()));
buttons_.push_back(make_pair(p, name));
}