[vlc-devel] commit: Qt: better function name (Jakob Leben )
git version control
git at videolan.org
Mon Jan 25 14:48:42 CET 2010
vlc | branch: master | Jakob Leben <jleben at videolan.org> | Mon Jan 25 14:47:00 2010 +0100| [ed9cd68c498af6b07cad489073b77e0b0542e278] | committer: Jakob Leben
Qt: better function name
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ed9cd68c498af6b07cad489073b77e0b0542e278
---
.../gui/qt4/components/playlist/standardpanel.cpp | 6 +++---
.../gui/qt4/components/playlist/standardpanel.hpp | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp
index d406a22..60a992f 100644
--- a/modules/gui/qt4/components/playlist/standardpanel.cpp
+++ b/modules/gui/qt4/components/playlist/standardpanel.cpp
@@ -107,7 +107,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
CONNECT( treeView->header(), customContextMenuRequested( const QPoint & ),
this, popupSelectColumn( QPoint ) );
CONNECT( treeView, customContextMenuRequested( const QPoint & ),
- this, playlistPopup( const QPoint & ) );
+ this, popupPlView( const QPoint & ) );
CONNECT( model, currentChanged( const QModelIndex& ),
this, handleExpansion( const QModelIndex& ) );
@@ -213,7 +213,7 @@ void StandardPLPanel::popupSelectColumn( QPoint pos )
menu.exec( QCursor::pos() );
}
-void StandardPLPanel::playlistPopup( const QPoint &point )
+void StandardPLPanel::popupPlView( const QPoint &point )
{
QAbstractItemView *aView;
if ( treeView->isVisible() ) aView = treeView;
@@ -312,7 +312,7 @@ void StandardPLPanel::toggleView()
layout->addWidget( iconView, 1, 0, 1, -1 );
iconView->setContextMenuPolicy( Qt::CustomContextMenu );
CONNECT( iconView, customContextMenuRequested( const QPoint & ),
- this, playlistPopup( const QPoint & ) );
+ this, popupPlView( const QPoint & ) );
}
treeView->hide();
iconView->show();
diff --git a/modules/gui/qt4/components/playlist/standardpanel.hpp b/modules/gui/qt4/components/playlist/standardpanel.hpp
index ee273e3..026b1a5 100644
--- a/modules/gui/qt4/components/playlist/standardpanel.hpp
+++ b/modules/gui/qt4/components/playlist/standardpanel.hpp
@@ -85,9 +85,9 @@ private slots:
void search( const QString& searchText );
void popupAdd();
void popupSelectColumn( QPoint );
+ void popupPlView( const QPoint & );
void toggleColumnShown( int );
void toggleView();
- void playlistPopup( const QPoint & );
};
#endif
More information about the vlc-devel
mailing list