9 #include "KGanttBarConfig.h" 10 #include "xQGanttBarView.h" 12 #include <kcolorbutton.h> 17 const char * name, WFlags f) 18 : TQWidget(parent,name,f) 21 KColorButton* b = new KColorButton( this); 23 connect(b, TQT_SIGNAL(changed( const TQColor&)), 24 this, TQT_SLOT(changeBackground( const TQColor&))); 29 void KGanttBarConfig::changeBackground( const TQColor& color) { 30 _barview->viewport()->setBackgroundColor(color); 32 #include "KGanttBarConfig.moc"
|