summaryrefslogtreecommitdiffstats
path: root/kaffeine/src/pref.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaffeine/src/pref.cpp')
-rw-r--r--kaffeine/src/pref.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kaffeine/src/pref.cpp b/kaffeine/src/pref.cpp
index 4359f15..7c61531 100644
--- a/kaffeine/src/pref.cpp
+++ b/kaffeine/src/pref.cpp
@@ -55,7 +55,7 @@ KaffeinePreferences::KaffeinePreferences() : KDialogBase(IconList,i18n("Kaffeine
setInitialSize(TQSize(400,400), false);
//-----------behavior----------------
- TQFrame *behavior = addPage(i18n("Behavior"), i18n("Behavior"), KGlobal::iconLoader()->loadIcon("kaffeine", KIcon::Panel, KIcon::SizeMedium));
+ TQFrame *behavior = addPage(i18n("Behavior"), i18n("Behavior"), TDEGlobal::iconLoader()->loadIcon("kaffeine", KIcon::Panel, KIcon::SizeMedium));
vb = new TQVBoxLayout( behavior, 6, 6 );
gb = new TQGroupBox( "", behavior );
grid = new TQGridLayout( gb, 1, 1, 20, 6 );
@@ -66,7 +66,7 @@ KaffeinePreferences::KaffeinePreferences() : KDialogBase(IconList,i18n("Kaffeine
vb->addItem( new TQSpacerItem( 20, 20, TQSizePolicy::Ignored, TQSizePolicy::Ignored ) );
//-----------appearance--------------
- TQFrame *looknfeel = addPage(i18n("Appearance"), i18n("Appearance"),KGlobal::iconLoader()->loadIcon("looknfeel", KIcon::Panel, KIcon::SizeMedium));
+ TQFrame *looknfeel = addPage(i18n("Appearance"), i18n("Appearance"),TDEGlobal::iconLoader()->loadIcon("looknfeel", KIcon::Panel, KIcon::SizeMedium));
vb = new TQVBoxLayout( looknfeel, 6, 6 );
gb = new TQGroupBox( "", looknfeel );
grid = new TQGridLayout( gb, 1, 1, 20, 6 );
@@ -88,7 +88,7 @@ KaffeinePreferences::KaffeinePreferences() : KDialogBase(IconList,i18n("Kaffeine
vb->addItem( new TQSpacerItem( 20, 20, TQSizePolicy::Ignored, TQSizePolicy::Ignored ) );
//-----------dvbclient--------------
- TQFrame *dc = addPage(i18n("DVB Client"), i18n("DVB Client"),KGlobal::iconLoader()->loadIcon("network_local", KIcon::Panel, KIcon::SizeMedium));
+ TQFrame *dc = addPage(i18n("DVB Client"), i18n("DVB Client"),TDEGlobal::iconLoader()->loadIcon("network_local", KIcon::Panel, KIcon::SizeMedium));
vb = new TQVBoxLayout( dc, 6, 6 );
m_dcEnabled = new TQCheckBox(i18n("Enable DVB client"), dc);
vb->addWidget( m_dcEnabled );
@@ -123,7 +123,7 @@ KaffeinePreferences::KaffeinePreferences() : KDialogBase(IconList,i18n("Kaffeine
vb->addItem( new TQSpacerItem( 20, 20, TQSizePolicy::Ignored, TQSizePolicy::Ignored ) );
//-----------misc----------------
- TQFrame *misc = addPage(i18n("Misc"), i18n("Miscellaneous Options"),KGlobal::iconLoader()->loadIcon("misc", KIcon::Panel, KIcon::SizeMedium));
+ TQFrame *misc = addPage(i18n("Misc"), i18n("Miscellaneous Options"),TDEGlobal::iconLoader()->loadIcon("misc", KIcon::Panel, KIcon::SizeMedium));
vb = new TQVBoxLayout( misc, 6, 6 );
gb = new TQGroupBox(1, Qt::Horizontal, "", misc);
gb->setInsideMargin(20);
@@ -133,7 +133,7 @@ KaffeinePreferences::KaffeinePreferences() : KDialogBase(IconList,i18n("Kaffeine
connect(m_useAlternateEncoding, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotUseAlternateEncodingToggled(bool)));
m_alternateEncoding = new TQComboBox(gb);
- TQStringList codecNames = KGlobal::charsets()->descriptiveEncodingNames();
+ TQStringList codecNames = TDEGlobal::charsets()->descriptiveEncodingNames();
codecNames.sort();
m_alternateEncoding->insertStringList(codecNames);
vb->addWidget( gb );
@@ -164,7 +164,7 @@ void KaffeinePreferences::setConfig(bool pauseVideo, bool tray, uint duration, b
bool m_useEncoding = false;
for (int i = 0; i < m_alternateEncoding->count(); ++i) {
- if (KGlobal::charsets()->encodingForName(m_alternateEncoding->text(i)).lower() == encoding.lower()) {
+ if (TDEGlobal::charsets()->encodingForName(m_alternateEncoding->text(i)).lower() == encoding.lower()) {
m_useEncoding = useEncoding;
m_alternateEncoding->setCurrentItem(i);
break;
@@ -189,7 +189,7 @@ void KaffeinePreferences::slotApplyPressed()
{
emit signalEmbedSystemTray(m_systemTray->isChecked());
emit signalUseAlternateEncoding(m_useAlternateEncoding->isChecked());
- emit signalAlternateEncoding(KGlobal::charsets()->encodingForName(m_alternateEncoding->currentText()));
+ emit signalAlternateEncoding(TDEGlobal::charsets()->encodingForName(m_alternateEncoding->currentText()));
emit signalSetOSDTimeout(m_osdTimeout->value());
emit signalPauseVideo(m_pauseVideo->isChecked());
emit signalDvbClient(m_dcEnabled->isChecked(), m_dcAddress->text().stripWhiteSpace(), m_dcPort->value(), m_dcInfo->value(), m_shiftDirLe->text() );