From cb68a7857c80661d242ee5527ec6f99dc3f79fa7 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 26 Jan 2013 13:17:43 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- tdemid/channelcfgdlg.cpp | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 tdemid/channelcfgdlg.cpp (limited to 'tdemid/channelcfgdlg.cpp') diff --git a/tdemid/channelcfgdlg.cpp b/tdemid/channelcfgdlg.cpp new file mode 100644 index 00000000..db320a28 --- /dev/null +++ b/tdemid/channelcfgdlg.cpp @@ -0,0 +1,39 @@ +#include +#include +#include +#include + +#include +#include + +#include "channelview.h" +#include "channelcfgdlg.h" +#include "version.h" +#include +#include + +ChannelViewConfigDialog::ChannelViewConfigDialog(TQWidget *parent,const char *name) : KDialogBase(parent,name,TRUE,i18n("Configure Channel View"),Ok|Cancel, Ok) +{ + TQWidget *page = new TQWidget( this ); + setMainWidget(page); + TQVBoxLayout *topLayout = new TQVBoxLayout( page, 0, spacingHint() ); + qbg = new TQVButtonGroup(i18n("Choose Look Mode"),page,"qbg"); + + rb0=new TQRadioButton(i18n("3D look"),qbg,"3d"); + rb1=new TQRadioButton(i18n("3D - filled"),qbg,"4d"); + + qbg->setExclusive(TRUE); + + topLayout->addWidget( qbg ); + ((ChannelView::lookMode()==0)?rb0:rb1)->setChecked(TRUE); + + connect (qbg, TQT_SIGNAL(pressed(int)),this,TQT_SLOT(modeselected(int))); +} + +void ChannelViewConfigDialog::modeselected(int idx) +{ +selectedmode=idx; +} + +int ChannelViewConfigDialog::selectedmode; +#include "channelcfgdlg.moc" -- cgit v1.2.1