summaryrefslogtreecommitdiffstats
path: root/src/kmplayerview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commitcdbd0571baaf836a247dd997a6c4ca3755506297 (patch)
tree866e171f53893a3bb109d25b954882a2a65d34c4 /src/kmplayerview.cpp
parent63c4fb318b4b6c0c22fce659f0029e4b21112c86 (diff)
downloadkmplayer-cdbd0571baaf836a247dd997a6c4ca3755506297.tar.gz
kmplayer-cdbd0571baaf836a247dd997a6c4ca3755506297.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmplayer@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kmplayerview.cpp')
-rw-r--r--src/kmplayerview.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kmplayerview.cpp b/src/kmplayerview.cpp
index 201c13e..dd1e1f4 100644
--- a/src/kmplayerview.cpp
+++ b/src/kmplayerview.cpp
@@ -88,8 +88,8 @@ namespace KMPlayer {
class KMPlayerPictureWidget : public TQWidget {
View * m_view;
public:
- KDE_NO_CDTOR_EXPORT KMPlayerPictureWidget (TQWidget * tqparent, View * view)
- : TQWidget (tqparent), m_view (view) {}
+ KDE_NO_CDTOR_EXPORT KMPlayerPictureWidget (TQWidget * parent, View * view)
+ : TQWidget (parent), m_view (view) {}
KDE_NO_CDTOR_EXPORT ~KMPlayerPictureWidget () {}
protected:
void mousePressEvent (TQMouseEvent *);
@@ -103,7 +103,7 @@ KDE_NO_EXPORT void KMPlayerPictureWidget::mousePressEvent (TQMouseEvent *) {
//-----------------------------------------------------------------------------
-KDE_NO_CDTOR_EXPORT TextEdit::TextEdit (TQWidget * tqparent, View * view) : TQTextEdit (tqparent, "kde_kmplayer_console"), m_view (view) {
+KDE_NO_CDTOR_EXPORT TextEdit::TextEdit (TQWidget * parent, View * view) : TQTextEdit (parent, "kde_kmplayer_console"), m_view (view) {
setReadOnly (true);
setPaper (TQBrush (TQColor (0, 0, 0)));
setColor (TQColor (0xB2, 0xB2, 0xB2));
@@ -115,7 +115,7 @@ KDE_NO_EXPORT void TextEdit::contextMenuEvent (TQContextMenuEvent * e) {
//-----------------------------------------------------------------------------
-KDE_NO_CDTOR_EXPORT InfoWindow::InfoWindow (TQWidget * tqparent, View * view) : TQTextEdit (tqparent, "kde_kmplayer_console"), m_view (view) {
+KDE_NO_CDTOR_EXPORT InfoWindow::InfoWindow (TQWidget * parent, View * view) : TQTextEdit (parent, "kde_kmplayer_console"), m_view (view) {
setReadOnly (true);
setLinkUnderline (false);
}
@@ -126,8 +126,8 @@ KDE_NO_EXPORT void InfoWindow::contextMenuEvent (TQContextMenuEvent * e) {
//-----------------------------------------------------------------------------
-KDE_NO_CDTOR_EXPORT View::View (TQWidget *tqparent, const char *name)
- : KMediaPlayer::View (tqparent, name),
+KDE_NO_CDTOR_EXPORT View::View (TQWidget *parent, const char *name)
+ : KMediaPlayer::View (parent, name),
m_image (0L),
m_control_panel (0L),
m_status_bar (0L),
@@ -228,7 +228,7 @@ KDE_NO_EXPORT void View::init (KActionCollection * action_collection) {
KDE_NO_CDTOR_EXPORT View::~View () {
delete m_image;
- if (TQT_BASE_OBJECT(m_view_area->tqparent ()) != TQT_BASE_OBJECT(this))
+ if (TQT_BASE_OBJECT(m_view_area->parent ()) != TQT_BASE_OBJECT(this))
delete m_view_area;
}
@@ -685,8 +685,8 @@ bool View::x11Event (XEvent * e) {
//----------------------------------------------------------------------
-KDE_NO_CDTOR_EXPORT Viewer::Viewer (TQWidget *tqparent, View * view)
- : QXEmbed (tqparent), m_plain_window (0), m_bgcolor (0), m_aspect (0.0),
+KDE_NO_CDTOR_EXPORT Viewer::Viewer (TQWidget *parent, View * view)
+ : QXEmbed (parent), m_plain_window (0), m_bgcolor (0), m_aspect (0.0),
m_view (view) {
/*XWindowAttributes xwa;
XGetWindowAttributes (qt_xdisplay(), winId (), &xwa);
@@ -694,7 +694,7 @@ KDE_NO_CDTOR_EXPORT Viewer::Viewer (TQWidget *tqparent, View * view)
xswa.background_pixel = 0;
xswa.border_pixel = 0;
xswa.colormap = xwa.colormap;
- create (XCreateWindow (qt_xdisplay (), tqparent->winId (), 0, 0, 10, 10, 0,
+ create (XCreateWindow (qt_xdisplay (), parent->winId (), 0, 0, 10, 10, 0,
x11Depth (), InputOutput, (Visual*)x11Visual (),
CWBackPixel | CWBorderPixel | CWColormap, &xswa));*/
setAcceptDrops (true);