Rename obsolete tq methods to standard names

(cherry picked from commit face65bf8a)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent 27ebdc4087
commit c8e5fa0aea

@ -32,7 +32,7 @@ Console::Console(TQWidget *parent,
{
myResource = Rsrc;
SelfMoving = FALSE;
TQStyle& Style = TQApplication::tqstyle();
TQStyle& Style = TQApplication::style();
margin = Style.defaultFrameWidth();
myTextView = new KnightsTextView( this, myResource );

@ -383,7 +383,7 @@ void Knights::initMenus( void )
///////////////////////////////////////
void Knights::resizeMainFrame(void)
{
TQStyle& Style = TQApplication::tqstyle();
TQStyle& Style = TQApplication::style();
TQSize S_Message;
TQSize S_Menu;

@ -28,7 +28,7 @@
setPageDisplay::setPageDisplay(TQWidget *parent, resource *Rsrc ) : TQVBoxLayout(parent)
{
TQStyle& Style = TQApplication::tqstyle();
TQStyle& Style = TQApplication::style();
Resource = Rsrc;
margin = Style.defaultFrameWidth();
NewBoards = 0;

@ -73,7 +73,7 @@ setPageEngines::setPageEngines(TQWidget *parent, resource *Rsrc ) : TQVBoxLayou
Engines_Button_Add = Engines_ButtonBox->addButton( i18n( "&Add..." ) );
Engines_Button_Change = Engines_ButtonBox->addButton( i18n( "&Modify..." ) );
Engines_Button_Delete = Engines_ButtonBox->addButton( i18n( "&Delete..." ) );
Engines_ButtonBox->tqlayout();
Engines_ButtonBox->layout();
BuildEngineData();

@ -21,7 +21,7 @@
setPageServers::setPageServers(TQWidget *parent, resource *Rsrc ) : TQVBoxLayout(parent)
{
TQStyle& Style = TQApplication::tqstyle();
TQStyle& Style = TQApplication::style();
margin = Style.defaultFrameWidth();
Resource = Rsrc;
Servers_ListView = NULL;
@ -77,7 +77,7 @@ void setPageServers::initTab1( void )
Servers_Button_Add = Servers_ButtonBox->addButton( i18n( "&Add..." ) );
Servers_Button_Change = Servers_ButtonBox->addButton( i18n( "&Modify..." ) );
Servers_Button_Delete = Servers_ButtonBox->addButton( i18n( "&Delete..." ) );
Servers_ButtonBox->tqlayout();
Servers_ButtonBox->layout();
BuildServerData();

@ -26,7 +26,7 @@
TabBox::TabBox( resource *rsrc ) : TQVBox(0,"TabBox",TQt::WDestructiveClose)
{
myResource = rsrc;
setMargin( TQApplication::tqstyle().defaultFrameWidth() );
setMargin( TQApplication::style().defaultFrameWidth() );
myTabs = new TQTabWidget( this, "myTabs" );
myTabs->setTabShape( TQTabWidget::Rounded );

@ -193,7 +193,7 @@ void thinbuttons::buttonClicked( void )
void thinbuttons::resize( const int Width )
{
Buttons *button;
TQStyle& Style = TQApplication::tqstyle();
TQStyle& Style = TQApplication::style();
int margin;
unsigned int Index;
@ -215,7 +215,7 @@ void thinbuttons::resize( const int Width )
///////////////////////////////////////
void thinbuttons::mousePressEvent( TQMouseEvent *event )
{
TQStyle& Style = TQApplication::tqstyle();
TQStyle& Style = TQApplication::style();
int margin, xpos(0), index(0);
/* We only want RightClick */

Loading…
Cancel
Save