summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--knights/console.cpp2
-rw-r--r--knights/knights.cpp2
-rw-r--r--knights/setpagedisplay.cpp2
-rw-r--r--knights/setpageengines.cpp2
-rw-r--r--knights/setpageservers.cpp4
-rw-r--r--knights/tabbox.cpp2
-rw-r--r--knights/thinbuttons.cpp4
7 files changed, 9 insertions, 9 deletions
diff --git a/knights/console.cpp b/knights/console.cpp
index 326acc6..443a1cc 100644
--- a/knights/console.cpp
+++ b/knights/console.cpp
@@ -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 );
diff --git a/knights/knights.cpp b/knights/knights.cpp
index a82895a..30e4a8e 100644
--- a/knights/knights.cpp
+++ b/knights/knights.cpp
@@ -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;
diff --git a/knights/setpagedisplay.cpp b/knights/setpagedisplay.cpp
index a05b33a..ba2122d 100644
--- a/knights/setpagedisplay.cpp
+++ b/knights/setpagedisplay.cpp
@@ -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;
diff --git a/knights/setpageengines.cpp b/knights/setpageengines.cpp
index baac2bb..b3fe11b 100644
--- a/knights/setpageengines.cpp
+++ b/knights/setpageengines.cpp
@@ -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();
diff --git a/knights/setpageservers.cpp b/knights/setpageservers.cpp
index 068e052..ffd6a4f 100644
--- a/knights/setpageservers.cpp
+++ b/knights/setpageservers.cpp
@@ -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();
diff --git a/knights/tabbox.cpp b/knights/tabbox.cpp
index 00286c3..8f9ecdf 100644
--- a/knights/tabbox.cpp
+++ b/knights/tabbox.cpp
@@ -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 );
diff --git a/knights/thinbuttons.cpp b/knights/thinbuttons.cpp
index 52b308c..ba899ac 100644
--- a/knights/thinbuttons.cpp
+++ b/knights/thinbuttons.cpp
@@ -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 */