summaryrefslogtreecommitdiffstats
path: root/kaboodle/userinterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaboodle/userinterface.cpp')
-rw-r--r--kaboodle/userinterface.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kaboodle/userinterface.cpp b/kaboodle/userinterface.cpp
index eca95c75..72449fcf 100644
--- a/kaboodle/userinterface.cpp
+++ b/kaboodle/userinterface.cpp
@@ -34,10 +34,10 @@
#include <kstatusbar.h>
#include <kstdaction.h>
#include <kurldrag.h>
-#include <qdragobject.h>
-#include <qlayout.h>
-#include <qlcdnumber.h>
-#include <qvbox.h>
+#include <tqdragobject.h>
+#include <tqlayout.h>
+#include <tqlcdnumber.h>
+#include <tqvbox.h>
#include <kkeydialog.h>
#include <kvideowidget.h>
@@ -48,19 +48,19 @@
#include "view.h"
#include "userinterface.h"
-Kaboodle::UserInterface::UserInterface(QWidget *parent, const KURL &initialFile)
+Kaboodle::UserInterface::UserInterface(TQWidget *parent, const KURL &initialFile)
: KParts::MainWindow(parent)
{
setAcceptDrops(true);
setStandardToolBarMenuEnabled(true);
- KStdAction::open(this, SLOT(fileOpen()), actionCollection());
- KStdAction::quit(kapp, SLOT(quit()), actionCollection());
- KStdAction::preferences(this, SLOT(playerPreferences()), actionCollection());
- KStdAction::keyBindings( this, SLOT( slotConfigureKeys() ), actionCollection() );
+ KStdAction::open(this, TQT_SLOT(fileOpen()), actionCollection());
+ KStdAction::quit(kapp, TQT_SLOT(quit()), actionCollection());
+ KStdAction::preferences(this, TQT_SLOT(playerPreferences()), actionCollection());
+ KStdAction::keyBindings( this, TQT_SLOT( slotConfigureKeys() ), actionCollection() );
- menubarAction = KStdAction::showMenubar(this, SLOT(showMenubar()), actionCollection());
- propertiesAction = new KAction(i18n("Properties"), 0, this, SLOT(properties()), actionCollection(), "properties");
+ menubarAction = KStdAction::showMenubar(this, TQT_SLOT(showMenubar()), actionCollection());
+ propertiesAction = new KAction(i18n("Properties"), 0, this, TQT_SLOT(properties()), actionCollection(), "properties");
propertiesAction->setEnabled(false);
part = new Player(this, "KaboodlePlayer", this, "KaboodleView");
@@ -72,8 +72,8 @@ Kaboodle::UserInterface::UserInterface(QWidget *parent, const KURL &initialFile)
statusBar()->show();
- connect(part, SIGNAL(setWindowCaption(const QString &)), this, SLOT(updateTitle(const QString &)));
- connect(part->view(), SIGNAL(adaptSize(int, int)), this, SLOT(adaptSize(int, int)));
+ connect(part, TQT_SIGNAL(setWindowCaption(const TQString &)), this, TQT_SLOT(updateTitle(const TQString &)));
+ connect(part->view(), TQT_SIGNAL(adaptSize(int, int)), this, TQT_SLOT(adaptSize(int, int)));
setIcon(SmallIcon("kaboodle"));
@@ -109,7 +109,7 @@ Kaboodle::UserInterface::~UserInterface(void)
void Kaboodle::UserInterface::fileOpen(void)
{
- KURL file(KFileDialog::getOpenURL(QString::null, KDE::PlayObjectFactory::mimeTypes().join(" "), this, i18n("Select File to Play")));
+ KURL file(KFileDialog::getOpenURL(TQString::null, KDE::PlayObjectFactory::mimeTypes().join(" "), this, i18n("Select File to Play")));
if(file.isValid())
{
part->openURL(file);
@@ -117,13 +117,13 @@ void Kaboodle::UserInterface::fileOpen(void)
}
}
-void Kaboodle::UserInterface::dragEnterEvent(QDragEnterEvent *event)
+void Kaboodle::UserInterface::dragEnterEvent(TQDragEnterEvent *event)
{
// accept uri drops only
event->accept(KURLDrag::canDecode(event));
}
-void Kaboodle::UserInterface::dropEvent(QDropEvent *event)
+void Kaboodle::UserInterface::dropEvent(TQDropEvent *event)
{
KURL::List list;
if (KURLDrag::decode(event, list))
@@ -157,7 +157,7 @@ void Kaboodle::UserInterface::showMenubar(void)
menuBar()->hide();
}
-void Kaboodle::UserInterface::updateTitle(const QString &text)
+void Kaboodle::UserInterface::updateTitle(const TQString &text)
{
setCaption(text);
statusBar()->message(text);