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

Qt4 - Space fixes.

parent a50b6437
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#ifndef _DIALOGS_PROVIDER_H_ #ifndef _DIALOGS_PROVIDER_H_
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#ifndef _QVLC_H_ #ifndef _QVLC_H_
...@@ -64,20 +64,20 @@ struct intf_sys_t ...@@ -64,20 +64,20 @@ struct intf_sys_t
#define BUTTONACT( b, a ) connect( b, SIGNAL( clicked() ), this, SLOT(a) ) #define BUTTONACT( b, a ) connect( b, SIGNAL( clicked() ), this, SLOT(a) )
#define ON_TIMEOUT( act ) CONNECT( THEDP->fixed_timer, timeout(), this, act ) #define ON_TIMEOUT( act ) CONNECT( THEDP->fixed_timer, timeout(), this, act )
#define BUTTON_SET( button, text, tooltip ) \ #define BUTTON_SET( button, text, tooltip ) \
button->setText( text ); \ button->setText( text ); \
button->setToolTip( tooltip ); button->setToolTip( tooltip );
#define BUTTON_SET_ACT( button, text, tooltip, thisslot ) \ #define BUTTON_SET_ACT( button, text, tooltip, thisslot ) \
BUTTON_SET( button, text, tooltip ); \ BUTTON_SET( button, text, tooltip ); \
BUTTONACT( button, thisslot ); BUTTONACT( button, thisslot );
#define BUTTON_SET_IMG( button, text, image, tooltip ) \ #define BUTTON_SET_IMG( button, text, image, tooltip ) \
BUTTON_SET( button, text, tooltip ); \ BUTTON_SET( button, text, tooltip ); \
button->setIcon( QIcon( ":/pixmaps/"#image ) ); button->setIcon( QIcon( ":/pixmaps/"#image ) );
#define BUTTON_SET_ACT_I( button, text, image, tooltip, thisslot ) \ #define BUTTON_SET_ACT_I( button, text, image, tooltip, thisslot ) \
BUTTON_SET_IMG( button, text, image, tooltip ); \ BUTTON_SET_IMG( button, text, image, tooltip ); \
BUTTONACT( button, thisslot ); BUTTONACT( button, thisslot );
static int DialogEvent_Type = QEvent::User + 1; static int DialogEvent_Type = QEvent::User + 1;
......
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