X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fqt4%2Fqt4.hpp;h=a429b968b9eccddecc14d1e27c3354b40089c798;hb=a62521c0ff7366d571b8cd4cc0c700124418b5b1;hp=7b75944f661d711df796172e5f288825a38b79ef;hpb=d0ed93fe655ea09cf10f0fc31c5bd0f543b3144b;p=vlc diff --git a/modules/gui/qt4/qt4.hpp b/modules/gui/qt4/qt4.hpp index 7b75944f66..a429b968b9 100755 --- a/modules/gui/qt4/qt4.hpp +++ b/modules/gui/qt4/qt4.hpp @@ -1,7 +1,7 @@ /***************************************************************************** * qt4.hpp : QT4 interface **************************************************************************** - * Copyright (C) 2006-2007 the VideoLAN team + * Copyright (C) 2006-2008 the VideoLAN team * $Id$ * * Authors: Clément Stenac @@ -63,22 +63,9 @@ class DialogsProvider; class VideoWidget; class QSettings; - -#if defined(Q_WS_WIN) -#include - -class WinQtApp : public QApplication -{ -public: - WinQtApp ( int & argc, char ** argv, bool GUIenabled ) : QApplication( argc, argv, GUIenabled ) {} - ~WinQtApp() {} -protected: - bool winEventFilter(MSG *msg, long *result); -}; -#endif /* Q_WS_WIN */ - struct intf_sys_t { + vlc_thread_t thread; QApplication *p_app; MainInterface *p_mi; @@ -162,20 +149,4 @@ static inline QString removeTrailingSlash( QString s ) #define toNativeSepNoSlash( a ) toNativeSeparators( removeTrailingSlash( a ) ) -class DialogEvent : public QEvent -{ -public: - DialogEvent( int _i_dialog, int _i_arg, intf_dialog_args_t *_p_arg ) : - QEvent( (QEvent::Type)(DialogEvent_Type) ) - { - i_dialog = _i_dialog; - i_arg = _i_arg; - p_arg = _p_arg; - }; - virtual ~DialogEvent() {}; - - int i_arg, i_dialog; - intf_dialog_args_t *p_arg; -}; - #endif