summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/noatunui/plugin_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/noatunui/plugin_impl.h')
-rw-r--r--languages/cpp/app_templates/noatunui/plugin_impl.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/languages/cpp/app_templates/noatunui/plugin_impl.h b/languages/cpp/app_templates/noatunui/plugin_impl.h
index 970246d4..e918f925 100644
--- a/languages/cpp/app_templates/noatunui/plugin_impl.h
+++ b/languages/cpp/app_templates/noatunui/plugin_impl.h
@@ -23,27 +23,27 @@ class KStatusBar;
* @version 0.1
* Note: You can user _every_ widget for implementing your userinterface.
*/
-class %{APPNAME}UI : public QWidget, public UserInterface
+class %{APPNAME}UI : public TQWidget, public UserInterface
{
Q_OBJECT
public:
%{APPNAME}UI();
virtual ~%{APPNAME}UI();
- void load(const QString& url);
+ void load(const TQString& url);
protected:
- virtual void dragEnterEvent(QDragEnterEvent *event);
- virtual void dropEvent(QDropEvent *event);
- virtual void closeEvent(QCloseEvent*);
- virtual void showEvent(QShowEvent*e);
+ virtual void dragEnterEvent(TQDragEnterEvent *event);
+ virtual void dropEvent(TQDropEvent *event);
+ virtual void closeEvent(TQCloseEvent*);
+ virtual void showEvent(TQShowEvent*e);
/** RMB -> context menu */
- virtual void mouseReleaseEvent(QMouseEvent *);
- virtual bool eventFilter(QObject*, QEvent*);
+ virtual void mouseReleaseEvent(TQMouseEvent *);
+ virtual bool eventFilter(TQObject*, TQEvent*);
/** volume control */
- virtual void wheelEvent(QWheelEvent *e);
+ virtual void wheelEvent(TQWheelEvent *e);
protected:
- QSlider *seeker() const { return mSeeker; }
+ TQSlider *seeker() const { return mSeeker; }
KStatusBar *statusBar() const { return mStatusBar; }
public slots:
@@ -64,13 +64,13 @@ signals:
void skipTo( int ); // emitted by skipToWrapper()
private slots:
- void changeStatusbar(const QString& text, const QString &text2=0);
- void changeCaption(const QString& text);
+ void changeStatusbar(const TQString& text, const TQString &text2=0);
+ void changeCaption(const TQString& text);
void popup();
private:
- QPushButton *mBack, *mStop, *mPlay, *mForward, *mPlaylist, *mPopup, *mLoop;
- QSlider *mSeeker, *mVolume;
+ TQPushButton *mBack, *mStop, *mPlay, *mForward, *mPlaylist, *mPopup, *mLoop;
+ TQSlider *mSeeker, *mVolume;
KStatusBar *mStatusBar;
};