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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/languages/cpp/app_templates/noatunui/plugin_impl.cpp b/languages/cpp/app_templates/noatunui/plugin_impl.cpp
index b8654693..508f7cc9 100644
--- a/languages/cpp/app_templates/noatunui/plugin_impl.cpp
+++ b/languages/cpp/app_templates/noatunui/plugin_impl.cpp
@@ -11,7 +11,7 @@
#include <tqpushbutton.h>
#include <tqdragobject.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqtooltip.h>
#include <tqobjectlist.h>
#include <tqobjectdict.h>
@@ -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()