diff --git a/clients/plastik/plastik.cpp b/clients/plastik/plastik.cpp index 99dcabefde..866b31f1f3 100644 --- a/clients/plastik/plastik.cpp +++ b/clients/plastik/plastik.cpp @@ -179,6 +179,15 @@ QColor PlastikHandler::getColor(KWinPlastik::ColorType type, const bool active) } } +QValueList< PlastikHandler::BorderSize > +PlastikHandler::borderSizes() const +{ + // the list must be sorted + return QValueList< BorderSize >() << BorderTiny << BorderNormal << + BorderLarge << BorderVeryLarge << BorderHuge << + BorderVeryHuge << BorderOversized; +} + } // KWinPlastik ////////////////////////////////////////////////////////////////////////////// diff --git a/clients/plastik/plastik.h b/clients/plastik/plastik.h index 10048a511a..da2c689e79 100644 --- a/clients/plastik/plastik.h +++ b/clients/plastik/plastik.h @@ -76,6 +76,7 @@ public: static Qt::AlignmentFlags titleAlign() { return m_titleAlign; } static bool reverseLayout() { return m_reverse; } static QColor getColor(KWinPlastik::ColorType type, const bool active = true); + QValueList< PlastikHandler::BorderSize > borderSizes() const; private: void readConfig();