it's not really setting the window to slide, but saying "slide this window"

svn path=/trunk/KDE/kdelibs/; revision=1003321
This commit is contained in:
Aaron J. Seigo 2009-07-28 01:33:31 +00:00
parent 0de5d23864
commit 4dd1cc887b
3 changed files with 4 additions and 4 deletions

View File

@ -597,7 +597,7 @@ void Dialog::animatedHide(Plasma::Direction direction)
break;
}
Plasma::WindowEffects::setSlidingWindow(winId(), location, offset);
Plasma::WindowEffects::slideWindow(winId(), location, offset);
hide();
}
@ -634,7 +634,7 @@ void Dialog::animatedShow(Plasma::Direction direction)
break;
}
Plasma::WindowEffects::setSlidingWindow(winId(), location, offset);
Plasma::WindowEffects::slideWindow(winId(), location, offset);
show();

View File

@ -28,7 +28,7 @@ namespace Plasma
namespace WindowEffects
{
void setSlidingWindow(WId id, Plasma::Location location, int offset)
void slideWindow(WId id, Plasma::Location location, int offset)
{
#ifdef Q_WS_X11
Display *dpy = QX11Info::display();

View File

@ -51,7 +51,7 @@ namespace WindowEffects
* @arg offset distance in pixels from the screen edge defined by location
* @since 4.4
*/
PLASMA_EXPORT void setSlidingWindow(WId id, Plasma::Location location, int offset);
PLASMA_EXPORT void slideWindow(WId id, Plasma::Location location, int offset);
}
} // namespace Plasma