Rename tabButton/tab_button

This commit is contained in:
Lukas W
2014-11-26 11:03:35 +01:00
parent d57b51142d
commit 497c792871
5 changed files with 16 additions and 16 deletions

View File

@@ -33,7 +33,7 @@
#include "export.h"
class tabButton;
class TabButton;
class EXPORT TabBar : public QWidget
@@ -44,7 +44,7 @@ public:
QBoxLayout::Direction _dir = QBoxLayout::LeftToRight );
virtual ~TabBar();
tabButton * addTab( QWidget * _w, const QString & _text,
TabButton * addTab( QWidget * _w, const QString & _text,
int _id, bool _add_stretch = false,
bool _text_is_tooltip = false );
void removeTab( int _id );
@@ -73,7 +73,7 @@ protected slots:
private:
QMap<int, QPair<tabButton *, QWidget *> > m_tabs;
QMap<int, QPair<TabButton *, QWidget *> > m_tabs;
QBoxLayout * m_layout;
bool m_exclusive;

View File

@@ -1,5 +1,5 @@
/*
* tab_button.h - declaration of class tabButton
* TabButton.h - declaration of class TabButton
*
* Copyright (c) 2005-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
@@ -29,11 +29,11 @@
#include <QPushButton>
class tabButton : public QPushButton
class TabButton : public QPushButton
{
Q_OBJECT
public:
tabButton( const QString & _text, int _id, QWidget * _parent ) :
TabButton( const QString & _text, int _id, QWidget * _parent ) :
QPushButton( _text, _parent ),
m_id( _id )
{
@@ -42,7 +42,7 @@ public:
SLOT( slotClicked() ) );
}
~tabButton()
~TabButton()
{
}