summaryrefslogtreecommitdiffstats
path: root/kplayer/kplayerlogwindow.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-03-26 17:46:47 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-03-26 17:54:28 +0100
commit77a8a8f9dfc9a5cbbb8113c4e9cff6cc99e17d9f (patch)
tree14435c2fcf5d00244011e39a587dcbd81bc6d4d6 /kplayer/kplayerlogwindow.h
parent172761c982ab8ecb67dce7840564af5e89486d68 (diff)
downloadkplayer-77a8a8f9dfc9a5cbbb8113c4e9cff6cc99e17d9f.tar.gz
kplayer-77a8a8f9dfc9a5cbbb8113c4e9cff6cc99e17d9f.zip
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kplayer/kplayerlogwindow.h')
-rw-r--r--kplayer/kplayerlogwindow.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kplayer/kplayerlogwindow.h b/kplayer/kplayerlogwindow.h
index 9818ff0..6d353d6 100644
--- a/kplayer/kplayerlogwindow.h
+++ b/kplayer/kplayerlogwindow.h
@@ -18,7 +18,7 @@
#include <kaction.h>
#include <ktextedit.h>
-#include <qdockwindow.h>
+#include <tqdockwindow.h>
/**The KPlayer log widget.
*@author kiriuja
@@ -28,7 +28,7 @@ class KPlayerLogWidget : public KTextEdit
Q_OBJECT
public:
- KPlayerLogWidget (KActionCollection* ac, QWidget* parent = 0, const char* name = 0);
+ KPlayerLogWidget (KActionCollection* ac, TQWidget* parent = 0, const char* name = 0);
/** Returns whether there is an error in the log. */
bool hasError (void)
@@ -37,10 +37,10 @@ public:
void setError (bool);
/** Returns the popup menu. */
- QPopupMenu* popupMenu (void) const
+ TQPopupMenu* popupMenu (void) const
{ return m_popup; }
/** Sets the popup menu. */
- void setPopupMenu (QPopupMenu* menu)
+ void setPopupMenu (TQPopupMenu* menu)
{ m_popup = menu; }
/** Retrieves an action from the action collection by name. */
@@ -55,15 +55,15 @@ protected slots:
void updateActions (void);
protected:
- virtual void showEvent (QShowEvent*);
- virtual void resizeEvent (QResizeEvent*);
+ virtual void showEvent (TQShowEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
/** Displays the right click popup menu. */
- virtual void contextMenuEvent (QContextMenuEvent*);
+ virtual void contextMenuEvent (TQContextMenuEvent*);
/** Action collection. */
KActionCollection* m_ac;
/** Popup menu. */
- QPopupMenu* m_popup;
+ TQPopupMenu* m_popup;
/** Error condition flag. */
bool m_error;
/** Error location. */
@@ -73,19 +73,19 @@ protected:
/**The KPlayer log window.
*@author kiriuja
*/
-class KPlayerLogWindow : public QDockWindow
+class KPlayerLogWindow : public TQDockWindow
{
Q_OBJECT
public:
- KPlayerLogWindow (KActionCollection* ac, QWidget* parent = 0, const char* name = 0);
+ KPlayerLogWindow (KActionCollection* ac, TQWidget* parent = 0, const char* name = 0);
- void initialize (QPopupMenu* menu);
+ void initialize (TQPopupMenu* menu);
KPlayerLogWidget* logWidget (void)
{ return (KPlayerLogWidget*) widget(); }
- void addLine (const QString& line)
+ void addLine (const TQString& line)
{ ((KPlayerLogWidget*) widget()) -> append (line); }
bool isEmpty (void)
{ return ((KPlayerLogWidget*) widget()) -> text().isEmpty(); }
@@ -97,7 +97,7 @@ public:
void setError (bool);
protected:
- virtual void hideEvent (QHideEvent*);
+ virtual void hideEvent (TQHideEvent*);
signals:
void windowHidden (void);