summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/wallpaper
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:09:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:09:52 -0600
commit5a561c21d6638f2d4cf461518734047aca88732c (patch)
treeca53e91b8f14761c89b2eeca8260bc6208064743 /kipi-plugins/wallpaper
parentf176190ca6b0706ec1217d0da075c9513af80c0b (diff)
downloadkipi-plugins-5a561c21d6638f2d4cf461518734047aca88732c.tar.gz
kipi-plugins-5a561c21d6638f2d4cf461518734047aca88732c.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kipi-plugins/wallpaper')
-rw-r--r--kipi-plugins/wallpaper/plugin_wallpaper.cpp6
-rw-r--r--kipi-plugins/wallpaper/plugin_wallpaper.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/kipi-plugins/wallpaper/plugin_wallpaper.cpp b/kipi-plugins/wallpaper/plugin_wallpaper.cpp
index 7ae1107..d99868d 100644
--- a/kipi-plugins/wallpaper/plugin_wallpaper.cpp
+++ b/kipi-plugins/wallpaper/plugin_wallpaper.cpp
@@ -212,9 +212,9 @@ void Plugin_WallPaper::slotSetScaleAndCrop()
/////////////////////////////////////////////////////////////////////////////////////////////////////
-void Plugin_WallPaper::setWallpaper(int tqlayout)
+void Plugin_WallPaper::setWallpaper(int layout)
{
- if (tqlayout>SCALE_AND_CROP || tqlayout < CENTER)
+ if (layout>SCALE_AND_CROP || layout < CENTER)
return;
KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>( parent() );
@@ -254,7 +254,7 @@ void Plugin_WallPaper::setWallpaper(int tqlayout)
}
TQString cmd = TQString("dcop kdesktop KBackgroundIface setWallpaper '%1' %2")
- .arg(path).arg(tqlayout);
+ .arg(path).arg(layout);
KRun::runCommand(cmd);
}
diff --git a/kipi-plugins/wallpaper/plugin_wallpaper.h b/kipi-plugins/wallpaper/plugin_wallpaper.h
index 03db2fc..6dc7909 100644
--- a/kipi-plugins/wallpaper/plugin_wallpaper.h
+++ b/kipi-plugins/wallpaper/plugin_wallpaper.h
@@ -76,7 +76,7 @@
};
KActionMenu *m_action_Background;
- void setWallpaper( int tqlayout );
+ void setWallpaper( int layout );
};
#endif // PLUGIN_IMAGES2DESKTOP_H