summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/wallpaper
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:36:37 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:36:37 -0600
commit650c190e4a29a2a17fd46b32ce78b956b9816215 (patch)
tree5455c66e710cf34ad5c795f560883ac44fc864d6 /kipi-plugins/wallpaper
parenta70b2efe3c22251c43a20d6e0eb3934ca523db80 (diff)
downloadkipi-plugins-650c190e4a29a2a17fd46b32ce78b956b9816215.tar.gz
kipi-plugins-650c190e4a29a2a17fd46b32ce78b956b9816215.zip
Rename a number of old tq methods that are no longer tq specific
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 576ac48..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")
- .tqarg(path).tqarg(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