summaryrefslogtreecommitdiffstats
path: root/kwin/tools/decobenchmark
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-07 20:26:07 -0600
committerTimothy Pearson <[email protected]>2011-11-07 20:26:07 -0600
commit43d99cc2477266cb9072e179137f0e8485370b3d (patch)
tree0d4d47e5497a1a1465edf8263f57b72725577239 /kwin/tools/decobenchmark
parent6354e6b3babad3ed0f5e314735bbbc01d1988eb2 (diff)
downloadtdebase-43d99cc2477266cb9072e179137f0e8485370b3d.tar.gz
tdebase-43d99cc2477266cb9072e179137f0e8485370b3d.zip
Rename kwin to twin (part 1 of 2)
Diffstat (limited to 'kwin/tools/decobenchmark')
-rw-r--r--kwin/tools/decobenchmark/main.cpp10
-rw-r--r--kwin/tools/decobenchmark/preview.cpp2
2 files changed, 6 insertions, 6 deletions
diff --git a/kwin/tools/decobenchmark/main.cpp b/kwin/tools/decobenchmark/main.cpp
index ca3ce11d2..59a6e6762 100644
--- a/kwin/tools/decobenchmark/main.cpp
+++ b/kwin/tools/decobenchmark/main.cpp
@@ -39,7 +39,7 @@
static KCmdLineOptions options[] =
{
- { "+decoration", "Decoration library to use, such as kwin3_plastik.", 0 },
+ { "+decoration", "Decoration library to use, such as twin3_plastik.", 0 },
{ "+tests", "Which test should be executed ('all', 'tqrepaint', 'caption', 'resize', 'recreation')", 0 },
{ "+repetitions", "Number of test repetitions.", 0 },
{ 0, 0, 0 }
@@ -49,10 +49,10 @@ DecoBenchApplication::DecoBenchApplication(const TQString &library, Tests tests,
m_tests(tests),
m_count(count)
{
- KConfig kwinConfig("kwinrc");
- kwinConfig.setGroup("Style");
+ KConfig twinConfig("twinrc");
+ twinConfig.setGroup("Style");
- plugins = new KDecorationPreviewPlugins( &kwinConfig );
+ plugins = new KDecorationPreviewPlugins( &twinConfig );
preview = new KDecorationPreview( plugins, 0 );
if (plugins->loadPlugin(library) )
@@ -101,7 +101,7 @@ int main(int argc, char** argv)
{
TQString style = "keramik";
// KApplication app(argc, argv);
- KAboutData about("decobenchmark", "DecoBenchmark", "0.1", "kwin decoration performance tester...", KAboutData::License_LGPL, "(C) 2005 Sandro Giessl");
+ KAboutData about("decobenchmark", "DecoBenchmark", "0.1", "twin decoration performance tester...", KAboutData::License_LGPL, "(C) 2005 Sandro Giessl");
KCmdLineArgs::init(argc, argv, &about);
KCmdLineArgs::addCmdLineOptions( options );
diff --git a/kwin/tools/decobenchmark/preview.cpp b/kwin/tools/decobenchmark/preview.cpp
index 50a12fb24..ec870abe5 100644
--- a/kwin/tools/decobenchmark/preview.cpp
+++ b/kwin/tools/decobenchmark/preview.cpp
@@ -397,7 +397,7 @@ KDecorationPreviewOptions::~KDecorationPreviewOptions()
unsigned long KDecorationPreviewOptions::updateSettings()
{
- KConfig cfg( "kwinrc", true );
+ KConfig cfg( "twinrc", true );
unsigned long changed = 0;
changed |= d->updateKWinSettings( &cfg );