summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/noatunui/plugin_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/noatunui/plugin_impl.cpp')
-rw-r--r--languages/cpp/app_templates/noatunui/plugin_impl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/languages/cpp/app_templates/noatunui/plugin_impl.cpp b/languages/cpp/app_templates/noatunui/plugin_impl.cpp
index 7f4cda15..508f7cc9 100644
--- a/languages/cpp/app_templates/noatunui/plugin_impl.cpp
+++ b/languages/cpp/app_templates/noatunui/plugin_impl.cpp
@@ -74,9 +74,9 @@
connect(mPopup, TQT_SIGNAL(clicked()), TQT_SLOT(popup()));
- mVolume=new L33tSlider(0,100,10,0, Horizontal, this);
+ mVolume=new L33tSlider(0,100,10,0,Qt::Horizontal, this);
mVolume->setValue(napp->player()->volume());
- mSeeker=new L33tSlider(0,1000,10,0, Horizontal, this);
+ mSeeker=new L33tSlider(0,1000,10,0,Qt::Horizontal, this);
mStatusBar=new KStatusBar(this);
@@ -86,7 +86,7 @@
l->addWidget(mStop,0,1);
l->addWidget(mPlay,0,2);
l->addWidget(mForward,0,3);
- l->addWidget(mPlaylist,0,4, Qt::AlignLeft);
+ l->addWidget(mPlaylist,0,4, TQt::AlignLeft);
l->addWidget(mLoop,0,5);
l->addWidget(mPopup,0,6);
l->addColSpacing(4, buttonSize+8);
@@ -124,7 +124,7 @@
connect(napp->player(), TQT_SIGNAL(playlistHidden()), TQT_SLOT(playlistHidden()));
// Event Filter for the RMB
- for (TQPtrListIterator<TQObject> i(*children()); i.current(); ++i)
+ for (TQPtrListIterator<TQObject> i(*tqchildren()); i.current(); ++i)
(*i)->installEventFilter(this);
setCaption("Noatun");
@@ -132,7 +132,7 @@
show();
// What it is now, stay.
- setFixedSize(minimumSize());
+ setFixedSize(tqminimumSize());
}
%{APPNAME}UI::~%{APPNAME}UI()
@@ -189,7 +189,7 @@ void %{APPNAME}UI::changeCaption(const TQString& text)
void %{APPNAME}UI::popup()
{
NoatunStdAction::ContextMenu::showContextMenu(
- mapToGlobal(mPopup->geometry().bottomLeft()) );
+ mapToGlobal(mPopup->tqgeometry().bottomLeft()) );
}
void %{APPNAME}UI::slotPlaying()