summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-21 14:25:11 +0900
committerMichele Calgaro <[email protected]>2025-01-21 14:25:11 +0900
commitbd98da9f7307bea0a786e536e2f6e87f2c4eab71 (patch)
treea538b3d1ac4c35c3f36f350169711957b827937b
parent8094b5d816d7ae0268b5451e4b8277d22428f1e4 (diff)
downloadknights-rename/tdeapp.tar.gz
knights-rename/tdeapp.zip
Use tdeApprename/tdeapp
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--knights/list_pgn.cpp6
-rw-r--r--knights/resource.cpp2
-rw-r--r--knights/setpageengines.cpp4
-rw-r--r--knights/setpageservers.cpp4
-rw-r--r--knights/tab_seeklist.cpp2
-rw-r--r--knights/tabmanager.cpp2
6 files changed, 10 insertions, 10 deletions
diff --git a/knights/list_pgn.cpp b/knights/list_pgn.cpp
index 8664a55..8ed6e25 100644
--- a/knights/list_pgn.cpp
+++ b/knights/list_pgn.cpp
@@ -36,7 +36,7 @@ list_pgn::list_pgn(TQWidget *parent, const char *name) : TQVBox(parent,name)
listView->setAllColumnsShowFocus( TRUE );
listView->setMultiSelection( FALSE );
listView->setShowSortIndicator( TRUE );
- listView->restoreLayout( kapp->config(), "PGN_ListView" );
+ listView->restoreLayout( tdeApp->config(), "PGN_ListView" );
listView->show();
connect( listView, TQ_SIGNAL( executed( TQListViewItem* ) ), this, TQ_SLOT( slot_selected( TQListViewItem* ) ) );
@@ -52,7 +52,7 @@ list_pgn::list_pgn(TQWidget *parent, const char *name) : TQVBox(parent,name)
dummyView->addColumn( i18n( "Round" ) );
dummyView->addColumn( i18n( "Site" ) );
dummyView->addColumn( i18n( "Date" ) );
- dummyView->restoreLayout( kapp->config(), "PGN_ListView" );
+ dummyView->restoreLayout( tdeApp->config(), "PGN_ListView" );
dummyView->hide();
statusBox = new TQHBox( this, "statusBox" );
@@ -65,7 +65,7 @@ list_pgn::list_pgn(TQWidget *parent, const char *name) : TQVBox(parent,name)
}
list_pgn::~list_pgn()
{
- listView->saveLayout( kapp->config(), "PGN_ListView" );
+ listView->saveLayout( tdeApp->config(), "PGN_ListView" );
}
///////////////////////////////////////
//
diff --git a/knights/resource.cpp b/knights/resource.cpp
index aa8ec21..08b66ef 100644
--- a/knights/resource.cpp
+++ b/knights/resource.cpp
@@ -38,7 +38,7 @@
#include <pwd.h>
#include <time.h>
-#define CFG kapp->config()
+#define CFG tdeApp->config()
///////////////////////////////////////
//
// resource::resource
diff --git a/knights/setpageengines.cpp b/knights/setpageengines.cpp
index 4e30e20..08d48a0 100644
--- a/knights/setpageengines.cpp
+++ b/knights/setpageengines.cpp
@@ -67,7 +67,7 @@ setPageEngines::setPageEngines(TQWidget *parent, resource *Rsrc ) : TQVBoxLayou
Engines_ListView->setAllColumnsShowFocus( TRUE );
Engines_ListView->setMultiSelection( FALSE );
Engines_ListView->setShowSortIndicator( TRUE );
- Engines_ListView->restoreLayout( kapp->config(), "Engines_ListView" );
+ Engines_ListView->restoreLayout( tdeApp->config(), "Engines_ListView" );
Engines_ButtonBox = new KButtonBox( GROUP_Engines,TQt::Vertical );
Engines_Button_Add = Engines_ButtonBox->addButton( i18n( "&Add..." ) );
@@ -90,7 +90,7 @@ setPageEngines::setPageEngines(TQWidget *parent, resource *Rsrc ) : TQVBoxLayou
}
setPageEngines::~setPageEngines()
{
- Engines_ListView->saveLayout( kapp->config(), "Engines_ListView" );
+ Engines_ListView->saveLayout( tdeApp->config(), "Engines_ListView" );
delete Engines_ButtonBox;
delete Engines_ListView;
delete GROUP_Engines;
diff --git a/knights/setpageservers.cpp b/knights/setpageservers.cpp
index f7cf053..c0169af 100644
--- a/knights/setpageservers.cpp
+++ b/knights/setpageservers.cpp
@@ -34,7 +34,7 @@ setPageServers::setPageServers(TQWidget *parent, resource *Rsrc ) : TQVBoxLayou
}
setPageServers::~setPageServers()
{
- Servers_ListView->saveLayout( kapp->config(), "Servers_ListView" );
+ Servers_ListView->saveLayout( tdeApp->config(), "Servers_ListView" );
delete Servers_ButtonBox;
delete Servers_ListView;
delete GROUP_Servers;
@@ -71,7 +71,7 @@ void setPageServers::initTab1( void )
Servers_ListView->setAllColumnsShowFocus( TRUE );
Servers_ListView->setMultiSelection( FALSE );
Servers_ListView->setShowSortIndicator( TRUE );
- Servers_ListView->restoreLayout( kapp->config(), "Servers_ListView" );
+ Servers_ListView->restoreLayout( tdeApp->config(), "Servers_ListView" );
Servers_ButtonBox = new KButtonBox( GROUP_Servers,TQt::Vertical );
Servers_Button_Add = Servers_ButtonBox->addButton( i18n( "&Add..." ) );
diff --git a/knights/tab_seeklist.cpp b/knights/tab_seeklist.cpp
index e273552..a9d9f9d 100644
--- a/knights/tab_seeklist.cpp
+++ b/knights/tab_seeklist.cpp
@@ -33,7 +33,7 @@ tab_SeekList::tab_SeekList(TQWidget *parent, const char *name, resource *Rsrc )
setShowSortIndicator( TRUE );
setAllColumnsShowFocus( TRUE );
setMultiSelection( FALSE );
- restoreLayout( kapp->config(), "Sought_ListView" );
+ restoreLayout( tdeApp->config(), "Sought_ListView" );
menuSeek = new TDEPopupMenu( this );
menuSeek->setCheckable( TRUE );
diff --git a/knights/tabmanager.cpp b/knights/tabmanager.cpp
index 020c707..cc35d4f 100644
--- a/knights/tabmanager.cpp
+++ b/knights/tabmanager.cpp
@@ -24,7 +24,7 @@ static TQString myConfigGroup( "TabManager" );
TabManager::TabManager( resource *rsrc ) : TQObject()
{
myResource = rsrc;
- appConfig = kapp->config();
+ appConfig = tdeApp->config();
}
TabManager::~TabManager()