Commit 19219058 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4: main_interface, cleaning

parent 723f9f0c
...@@ -90,13 +90,16 @@ public: ...@@ -90,13 +90,16 @@ public:
virtual QSize sizeHint() const; virtual QSize sizeHint() const;
protected: protected:
// void resizeEvent( QResizeEvent * );
void dropEvent( QDropEvent *);
void dropEventPlay( QDropEvent *, bool); void dropEventPlay( QDropEvent *, bool);
void dragEnterEvent( QDragEnterEvent * ); virtual void dropEvent( QDropEvent *);
void dragMoveEvent( QDragMoveEvent * ); virtual void dragEnterEvent( QDragEnterEvent * );
void dragLeaveEvent( QDragLeaveEvent * ); virtual void dragMoveEvent( QDragMoveEvent * );
void closeEvent( QCloseEvent *); virtual void dragLeaveEvent( QDragLeaveEvent * );
virtual void closeEvent( QCloseEvent *);
virtual void customEvent( QEvent *);
virtual void keyPressEvent( QKeyEvent *);
virtual void wheelEvent( QWheelEvent * );
virtual void resizeEvent( QResizeEvent * event );
private: private:
QSettings *settings; QSettings *settings;
...@@ -111,6 +114,7 @@ private: ...@@ -111,6 +114,7 @@ private:
void createMainWidget( QSettings* ); void createMainWidget( QSettings* );
void createStatusBar(); void createStatusBar();
void askForPrivacy(); void askForPrivacy();
int privacyDialog( QList<ConfigControl *> *controls ); int privacyDialog( QList<ConfigControl *> *controls );
...@@ -145,11 +149,6 @@ private: ...@@ -145,11 +149,6 @@ private:
QLabel *nameLabel; QLabel *nameLabel;
QLabel *cryptedLabel; QLabel *cryptedLabel;
virtual void customEvent( QEvent *);
virtual void keyPressEvent( QKeyEvent *);
virtual void wheelEvent( QWheelEvent * );
virtual void resizeEvent( QResizeEvent * event );
public slots: public slots:
void undockPlaylist(); void undockPlaylist();
void dockPlaylist( pl_dock_e i_pos = PL_BOTTOM ); void dockPlaylist( pl_dock_e i_pos = PL_BOTTOM );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment