summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/noatunui
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/noatunui')
-rw-r--r--languages/cpp/app_templates/noatunui/plugin_impl.cpp12
-rw-r--r--languages/cpp/app_templates/noatunui/plugin_impl.h1
-rw-r--r--languages/cpp/app_templates/noatunui/src-Makefile.am2
3 files changed, 8 insertions, 7 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()
diff --git a/languages/cpp/app_templates/noatunui/plugin_impl.h b/languages/cpp/app_templates/noatunui/plugin_impl.h
index 476530f2..498864c6 100644
--- a/languages/cpp/app_templates/noatunui/plugin_impl.h
+++ b/languages/cpp/app_templates/noatunui/plugin_impl.h
@@ -26,6 +26,7 @@ class KStatusBar;
class %{APPNAME}UI : public TQWidget, public UserInterface
{
Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}UI();
virtual ~%{APPNAME}UI();
diff --git a/languages/cpp/app_templates/noatunui/src-Makefile.am b/languages/cpp/app_templates/noatunui/src-Makefile.am
index 95506569..f7c7b349 100644
--- a/languages/cpp/app_templates/noatunui/src-Makefile.am
+++ b/languages/cpp/app_templates/noatunui/src-Makefile.am
@@ -20,5 +20,5 @@ plugins_DATA = %{APPNAMELC}.plugin
# kde_services_DATA = %{APPNAMELC}.desktop
messages: rc.cpp
- $(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
+ $(EXTRACTRC) `tqfind . -name \*.ui -o -name \*.rc` > rc.cpp
$(XGETTEXT) *.cpp *.h -o $(podir)/%{APPNAMELC}.pot