summaryrefslogtreecommitdiffstats
path: root/tdemid/channelcfgdlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:17:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:17:43 -0600
commitcb68a7857c80661d242ee5527ec6f99dc3f79fa7 (patch)
treea3b54203ca6bce0e8e1dc5107dc9653db246a281 /tdemid/channelcfgdlg.cpp
parent7534907d3759a8c520eeb9a701b316d891c63bdf (diff)
downloadtdemultimedia-cb68a7857c80661d242ee5527ec6f99dc3f79fa7.tar.gz
tdemultimedia-cb68a7857c80661d242ee5527ec6f99dc3f79fa7.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'tdemid/channelcfgdlg.cpp')
-rw-r--r--tdemid/channelcfgdlg.cpp39
1 files changed, 39 insertions, 0 deletions
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 <tqpushbutton.h>
+#include <tqbuttongroup.h>
+#include <tqradiobutton.h>
+#include <kdialogbase.h>
+
+#include <kapplication.h>
+#include <klocale.h>
+
+#include "channelview.h"
+#include "channelcfgdlg.h"
+#include "version.h"
+#include <tqlayout.h>
+#include <tqvbuttongroup.h>
+
+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"