void AuroraeClient::maximizeChange()
{
- if (!options()->moveResizeMaximizedWindows()) {
- emit maximizeChanged();
- }
+ emit maximizeChanged();
}
void AuroraeClient::resize(const QSize &s)
left = right = top = bottom = 0;
return;
}
- const bool maximized = maximizeMode() == MaximizeFull && !options()->moveResizeMaximizedWindows();
+ const bool maximized = maximizeMode() == MaximizeFull;
QObject *borders = NULL;
if (maximized) {
borders = m_item->findChild<QObject*>("maximizedBorders");
void AuroraeClient::padding(int &left, int &right, int &top, int &bottom) const
{
- if (!m_item) {
- left = right = top = bottom = 0;
- return;
- }
- if (maximizeMode() == MaximizeFull && !options()->moveResizeMaximizedWindows()) {
+ if (!m_item || maximizeMode() == MaximizeFull) {
left = right = top = bottom = 0;
return;
}
bool AuroraeClient::isMaximized() const
{
- return maximizeMode()==KDecorationDefines::MaximizeFull && !options()->moveResizeMaximizedWindows();
+ return maximizeMode()==KDecorationDefines::MaximizeFull;
}
void AuroraeClient::titlePressed(int button, int buttons)
CloseTabGroupOp, // Close the group
ActivateNextTabOp, // Move left in the group
ActivatePreviousTabOp, // Move right in the group
- ///< @deprecated, tiling got removed in 4.10
- ToggleClientTiledStateOp, // put a floating client into tiling
TabDragOp,
-
- //BEGIN ABI stability stuff
- // NOTICE for ABI stability
- // TODO remove with mandatory version tagging fo 4.9.x or 4.10
- /** @deprecated ABI compatibility only - don't use */
- RemoveClientFromGroupOp = RemoveTabFromGroupOp, // Remove from group
- CloseClientGroupOp = CloseTabGroupOp, // Close the group
- MoveClientInGroupLeftOp = ActivateNextTabOp, // Move left in the group
- MoveClientInGroupRightOp = ActivatePreviousTabOp // Move right in the group
- //END ABI stability stuff
};
/**
* Basic color types that should be recognized by all decoration styles.
AbilityTabbing = 4000, ///< The decoration supports tabbing
// TODO colors for individual button types
ABILITY_DUMMY = 10000000,
-
- //BEGIN ABI stability stuff
- // NOTICE for ABI stability
- // TODO remove with mandatory version tagging fo 4.9.x or 4.10
- /** @deprecated ABI compatibility only - don't use */
- AbilityClientGrouping = AbilityTabbing
- //END ABI stability stuff
};
enum Requirement { REQUIREMENT_DUMMY = 1000000 };
/**
* Returns the mimeType used to drag and drop clientGroupItems
*/
- //BEGIN ABI stability stuff
- // NOTICE for ABI stability
- // TODO remove with mandatory version tagging fo 4.9.x or 4.10
- /** @deprecated ABI compatibility only - don't use */
- static QString clientGroupItemDragMimeType() { return tabDragMimeType(); }
- //END ABI stability stuff
static QString tabDragMimeType();
};
-//BEGIN ABI stability stuff
-// NOTICE for ABI stability
-// TODO remove with mandatory version tagging fo 4.9.x or 4.10
-/** @deprecated ABI compatibility only - don't use */
-class KWIN_EXPORT ClientGroupItem
-{
-public:
- ClientGroupItem(QString t, QIcon i) {
- title_ = t;
- icon_ = i;
- }
- inline QIcon icon() const {
- return icon_;
- }
- inline QString title() const {
- return title_;
- }
-private:
- QString title_;
- QIcon icon_;
-};
-//END ABI stability stuff
-
class KDecorationProvides
: public KDecorationDefines
{
BorderSize preferredBorderSize(KDecorationFactory* factory) const;
/**
- * This functions returns false
- * @deprecated
- */
- bool moveResizeMaximizedWindows() const;
-
- /**
* @internal
*/
WindowOperation operationMaxButtonClick(Qt::MouseButtons button) const;