Commit 8e7a8c5a authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Rename AbstractOutput to Output

AbstractOutput is not so Abstract and it's common to avoid the word
"Abstract" in class names as it doesn't contribute any new information.
It also significantly reduces the line width in some places.
parent 09782bcf
Pipeline #164492 passed with stage
in 22 minutes and 7 seconds
......@@ -10,8 +10,8 @@
#include "kwin_wayland_test.h"
#include "abstract_client.h"
#include "abstract_output.h"
#include "cursor.h"
#include "output.h"
#include "platform.h"
#include "wayland_server.h"
#include "workspace.h"
......
......@@ -8,10 +8,10 @@
*/
#include "kwin_wayland_test.h"
#include "abstract_output.h"
#include "activities.h"
#include "cursor.h"
#include "deleted.h"
#include "output.h"
#include "platform.h"
#include "utils/xcbutils.h"
#include "wayland_server.h"
......
......@@ -9,9 +9,9 @@
#include "kwin_wayland_test.h"
#include "abstract_client.h"
#include "abstract_output.h"
#include "debug_console.h"
#include "internal_client.h"
#include "output.h"
#include "platform.h"
#include "utils/xcbutils.h"
#include "wayland_server.h"
......
......@@ -9,9 +9,9 @@
#include "kwin_wayland_test.h"
#include "abstract_client.h"
#include "abstract_output.h"
#include "cursor.h"
#include "internal_client.h"
#include "output.h"
#include "platform.h"
#include "pointer_input.h"
#include "screens.h"
......
......@@ -9,9 +9,9 @@
#include "kwin_wayland_test.h"
#include "abstract_client.h"
#include "abstract_output.h"
#include "cursor.h"
#include "deleted.h"
#include "output.h"
#include "platform.h"
#include "utils/xcbutils.h"
#include "wayland_server.h"
......
......@@ -8,9 +8,9 @@
*/
#include "kwin_wayland_test.h"
#include "abstract_output.h"
#include "composite.h"
#include "cursor.h"
#include "output.h"
#include "platform.h"
#include "renderbackend.h"
#include "wayland_server.h"
......
......@@ -8,9 +8,9 @@
*/
#include "kwin_wayland_test.h"
#include "abstract_output.h"
#include "composite.h"
#include "cursor.h"
#include "output.h"
#include "platform.h"
#include "renderbackend.h"
#include "wayland_server.h"
......
......@@ -9,9 +9,9 @@
*/
#include "kwin_wayland_test.h"
#include "abstract_output.h"
#include "composite.h"
#include "cursor.h"
#include "output.h"
#include "platform.h"
#include "renderbackend.h"
#include "wayland_server.h"
......
......@@ -10,11 +10,11 @@
#include "kwin_wayland_test.h"
#include "abstract_client.h"
#include "abstract_output.h"
#include "composite.h"
#include "deleted.h"
#include "effectloader.h"
#include "effects.h"
#include "output.h"
#include "platform.h"
#include "renderbackend.h"
#include "wayland_server.h"
......
......@@ -9,9 +9,9 @@
#include "kwin_wayland_test.h"
#include "abstract_client.h"
#include "abstract_output.h"
#include "cursor.h"
#include "keyboard_input.h"
#include "output.h"
#include "platform.h"
#include "pointer_input.h"
#include "useractions.h"
......
......@@ -9,9 +9,9 @@
#include "kwin_wayland_test.h"
#include "abstract_client.h"
#include "abstract_output.h"
#include "cursor.h"
#include "deleted.h"
#include "output.h"
#include "platform.h"
#include "wayland_server.h"
#include "workspace.h"
......
......@@ -9,11 +9,11 @@
#include "kwin_wayland_test.h"
#include "abstract_client.h"
#include "abstract_output.h"
#include "cursor.h"
#include "deleted.h"
#include "effects.h"
#include "inputmethod.h"
#include "output.h"
#include "platform.h"
#include "qwayland-input-method-unstable-v1.h"
#include "qwayland-text-input-unstable-v3.h"
......
......@@ -8,11 +8,11 @@
*/
#include "kwin_wayland_test.h"
#include "abstract_output.h"
#include "cursor.h"
#include "deleted.h"
#include "effects.h"
#include "internal_client.h"
#include "output.h"
#include "platform.h"
#include "wayland_server.h"
#include "workspace.h"
......
......@@ -7,8 +7,8 @@
#include "kwin_wayland_test.h"
#include "abstract_client.h"
#include "abstract_output.h"
#include "main.h"
#include "output.h"
#include "platform.h"
#include "wayland_server.h"
#include "workspace.h"
......
......@@ -9,9 +9,9 @@
#include "kwin_wayland_test.h"
#include "abstract_client.h"
#include "abstract_output.h"
#include "composite.h"
#include "cursor.h"
#include "output.h"
#include "platform.h"
#include "renderbackend.h"
#include "screenedge.h"
......
......@@ -9,10 +9,10 @@
#include "kwin_wayland_test.h"
#include "abstract_client.h"
#include "abstract_output.h"
#include "cursor.h"
#include "decorations/decorationbridge.h"
#include "decorations/settings.h"
#include "output.h"
#include "platform.h"
#include "wayland_server.h"
#include "workspace.h"
......
......@@ -10,11 +10,11 @@
#include "kwin_wayland_test.h"
#include "abstract_client.h"
#include "abstract_output.h"
#include "atoms.h"
#include "cursor.h"
#include "deleted.h"
#include "effects.h"
#include "output.h"
#include "platform.h"
#include "screens.h"
#include "wayland_server.h"
......
......@@ -7,8 +7,8 @@
#include "kwin_wayland_test.h"
#include "abstract_client.h"
#include "abstract_output.h"
#include "cursor.h"
#include "output.h"
#include "outputconfiguration.h"
#include "platform.h"
#include "wayland_server.h"
......
......@@ -10,8 +10,8 @@
#include "kwin_wayland_test.h"
#include "abstract_client.h"
#include "abstract_output.h"
#include "cursor.h"
#include "output.h"
#include "platform.h"
#include "screens.h"
#include "wayland_server.h"
......@@ -349,7 +349,7 @@ void TestPlacement::testPlaceRandom()
void TestPlacement::testFullscreen()
{
const QVector<AbstractOutput *> outputs = kwinApp()->platform()->enabledOutputs();
const QVector<Output *> outputs = kwinApp()->platform()->enabledOutputs();
setPlacementPolicy(Placement::Smart);
QScopedPointer<KWayland::Client::Surface> surface(Test::createSurface());
......
......@@ -9,8 +9,8 @@
#include "kwin_wayland_test.h"
#include "abstract_client.h"
#include "abstract_output.h"
#include "cursor.h"
#include "output.h"
#include "platform.h"
#include "screens.h"
#include "virtualdesktops.h"
......@@ -270,7 +270,7 @@ void PlasmaSurfaceTest::testPanelTypeHasStrut()
auto c = Test::renderAndWaitForShown(surface.data(), QSize(100, 50), Qt::blue);
// the panel is on the first output and the current desktop
AbstractOutput *output = kwinApp()->platform()->enabledOutputs().constFirst();
Output *output = kwinApp()->platform()->enabledOutputs().constFirst();
VirtualDesktop *desktop = VirtualDesktopManager::self()->currentDesktop();
QVERIFY(c);
......@@ -321,7 +321,7 @@ void PlasmaSurfaceTest::testPanelWindowsCanCover()
auto panel = Test::renderAndWaitForShown(surface.data(), panelGeometry.size(), Qt::blue);
// the panel is on the first output and the current desktop
AbstractOutput *output = kwinApp()->platform()->enabledOutputs().constFirst();
Output *output = kwinApp()->platform()->enabledOutputs().constFirst();
VirtualDesktop *desktop = VirtualDesktopManager::self()->currentDesktop();
QVERIFY(panel);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment