|
|
|
@ -334,7 +334,7 @@ CollectionBrowser::eventFilter( TQObject *o, TQEvent *e )
|
|
|
|
|
|
|
|
|
|
//there are a few keypresses that we intercept
|
|
|
|
|
|
|
|
|
|
#define e TQT_TQKEYEVENT(e)
|
|
|
|
|
#define e static_cast<TQKeyEvent*>(e)
|
|
|
|
|
|
|
|
|
|
if( o == m_searchEdit ) //the search lineedit
|
|
|
|
|
{
|
|
|
|
@ -3621,7 +3621,7 @@ CollectionView::eventFilter( TQObject* o, TQEvent* e )
|
|
|
|
|
{
|
|
|
|
|
if( o == header()
|
|
|
|
|
&& e->type() == TQEvent::MouseButtonPress
|
|
|
|
|
&& TQT_TQMOUSEEVENT( e )->button() == TQt::RightButton
|
|
|
|
|
&& static_cast<TQMouseEvent*>( e )->button() == TQt::RightButton
|
|
|
|
|
&& m_viewMode == modeFlatView )
|
|
|
|
|
{
|
|
|
|
|
TDEPopupMenu popup;
|
|
|
|
@ -3639,7 +3639,7 @@ CollectionView::eventFilter( TQObject* o, TQEvent* e )
|
|
|
|
|
popup.setItemVisible( Score, AmarokConfig::useScores() );
|
|
|
|
|
popup.setItemVisible( Rating, AmarokConfig::useRatings() );
|
|
|
|
|
|
|
|
|
|
const int returnID = popup.exec( TQT_TQMOUSEEVENT(e)->globalPos() );
|
|
|
|
|
const int returnID = popup.exec( static_cast<TQMouseEvent*>(e)->globalPos() );
|
|
|
|
|
|
|
|
|
|
if ( returnID != -1 )
|
|
|
|
|
{
|
|
|
|
|