small bug-fixes

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@42 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2005-12-22 12:57:51 +00:00
parent f543cd8f4e
commit 181f9b56f6
11 changed files with 95 additions and 46 deletions

View File

@@ -26,6 +26,11 @@
#ifndef _TAB_WIDGET_H
#define _TAB_WIDGET_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "qt3support.h"
#ifdef QT4
@@ -51,17 +56,10 @@ public:
tabWidget( const QString & _caption, QWidget * _parent );
~tabWidget();
void addTab( QWidget * _w, const QString & _name, int _idx = -1 );
void FASTCALL addTab( QWidget * _w, const QString & _name,
int _idx = -1 );
inline void setActiveTab( int _idx )
{
if( m_widgets.contains( _idx ) )
{
m_activeTab = _idx;
m_widgets[m_activeTab].w->raise();
update();
}
}
void FASTCALL setActiveTab( int _idx );
inline int activeTab( void ) const
{