summaryrefslogtreecommitdiffstats
path: root/src/kmplayervdr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kmplayervdr.cpp')
-rw-r--r--src/kmplayervdr.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kmplayervdr.cpp b/src/kmplayervdr.cpp
index 3f126c1..5100883 100644
--- a/src/kmplayervdr.cpp
+++ b/src/kmplayervdr.cpp
@@ -80,7 +80,7 @@ KDE_NO_CDTOR_EXPORT KMPlayerPrefSourcePageVDR::KMPlayerPrefSourcePageVDR (TQWidg
//KURLRequester * v4ldevice;
TQVBoxLayout *layout = new TQVBoxLayout (this, 5, 2);
TQGridLayout *gridlayout = new TQGridLayout (1, 2);
- xv_port = new KListView (this);
+ xv_port = new TDEListView (this);
xv_port->addColumn (TQString());
xv_port->header()->hide ();
xv_port->setTreeStepSize (15);
@@ -140,7 +140,7 @@ KDE_NO_CDTOR_EXPORT KMPlayerVDRSource::KMPlayerVDRSource (KMPlayerApp * app)
finish_timer (0),
tcp_port (0),
m_stored_volume (0) {
- memset (m_actions, 0, sizeof (KAction *) * int (act_last));
+ memset (m_actions, 0, sizeof (TDEAction *) * int (act_last));
m_player->settings ()->addPage (this);
connect (m_socket, TQT_SIGNAL (connectionClosed()), this, TQT_SLOT(disconnected()));
connect (m_socket, TQT_SIGNAL (connected ()), this, TQT_SLOT (connected ()));
@@ -229,15 +229,15 @@ KDE_NO_EXPORT void KMPlayerVDRSource::processStarted () {
}
#define DEF_ACT(i,text,pix,scut,slot,name) \
- m_actions [i] = new KAction (text, TQString (pix), KShortcut (scut), this, slot, m_app->actionCollection (), name); \
- m_fullscreen_actions [i] = new KAction (text, KShortcut (scut), this, slot, m_app->view ()->viewArea ()->actionCollection (), name)
+ m_actions [i] = new TDEAction (text, TQString (pix), TDEShortcut (scut), this, slot, m_app->actionCollection (), name); \
+ m_fullscreen_actions [i] = new TDEAction (text, TDEShortcut (scut), this, slot, m_app->view ()->viewArea ()->actionCollection (), name)
KDE_NO_EXPORT void KMPlayerVDRSource::connected () {
queueCommand (cmd_list_channels);
queueCommand (cmd_volume_query);
killTimer (channel_timer);
channel_timer = startTimer (3000);
- KAction * action = m_app->actionCollection ()->action ("vdr_connect");
+ TDEAction * action = m_app->actionCollection ()->action ("vdr_connect");
action->setIcon (TQString ("connect_no"));
action->setText (i18n ("Dis&connect"));
DEF_ACT (act_up, i18n ("VDR Key Up"), "up", , TQT_SLOT (keyUp ()), "vdr_key_up");
@@ -284,7 +284,7 @@ KDE_NO_EXPORT void KMPlayerVDRSource::disconnected () {
if (channel_timer && m_player->source () == this)
m_player->process ()->quit ();
deleteCommands ();
- KAction * action = m_app->actionCollection ()->action ("vdr_connect");
+ TDEAction * action = m_app->actionCollection ()->action ("vdr_connect");
action->setIcon (TQString ("connect_established"));
action->setText (i18n ("&Connect"));
m_app->guiFactory ()->removeClient (m_app);// crash w/ m_actions[i]->unplugAll (); in for loop below