Compare commits

..

13 Commits

Author SHA1 Message Date
TDE Gitea 8fdce96361 Merge translation files from master branch. 3 months ago
TDE Gitea 3022efaa53 Merge translation files from master branch. 3 months ago
TDE Gitea 1b419be435 Merge translation files from master branch. 4 months ago
TDE Gitea b697a75ec6 Merge translation files from master branch. 4 months ago
Michele Calgaro 038236ecfc
Rename __KDE_HAVE_GCC_VISIBILITY to __TDE_HAVE_GCC_VISIBILITY
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit eb81e276b3)
7 months ago
TDE Gitea 12918f0c4e Merge translation files from master branch. 10 months ago
Michele Calgaro 138ac28d90
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 574188659e)
11 months ago
Michele Calgaro 3136db70d5
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f4e3d22da4)
11 months ago
Michele Calgaro 9f4c6ff78a
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 17d6fb351b)
1 year ago
Michele Calgaro 43e0ea16d7
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 183355477f)
1 year ago
Slávek Banko cb45523131
Raise the minimum required version of CMake to 3.5.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 3f0b743b94)
1 year ago
Michele Calgaro 1f6563a27f
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 59587af73d)
2 years ago
TDE Gitea 9b1d854c65 Merge translation files from master branch. 2 years ago

@ -25,6 +25,7 @@
#include "komposetaskmanager.h"
#include <tdelocale.h>
#include <kuniqueapplication.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>

@ -25,14 +25,14 @@
// #include <config.h>
// #endif
#include <tdeuniqueapplication.h>
#include <kuniqueapplication.h>
/**
* @short Application Main entry point and x11 Event Receiver
* @author Hans Oischinger <hans.oischinger@kde-mail.net>
*/
class Kompose : public TDEUniqueApplication
class Kompose : public KUniqueApplication
{
TQ_OBJECT
public:

@ -121,7 +121,7 @@ void KomposeGlobal::initGui()
KomposeTaskManager::instance();
// Create DCop Client
tdeApp->dcopClient()->setDefaultObject( "KomposeTaskMgrDcopIface" );
kapp->dcopClient()->setDefaultObject( "KomposeTaskMgrDcopIface" );
initActions();
@ -129,7 +129,7 @@ void KomposeGlobal::initGui()
{
// Create systray
systray = new KomposeSysTray();
tdeApp->setMainWidget( systray );
kapp->setMainWidget( systray );
systray->currentDesktopChanged( currentDesktop );
actionCollection->setWidget( systray );
@ -154,7 +154,7 @@ void KomposeGlobal::initActions()
actionCollection = new TDEActionCollection( (TQWidget*)0 );
// Actions
actQuit = KStdAction::quit( tdeApp, TQ_SLOT(quit()), actionCollection );
actQuit = KStdAction::quit( kapp, TQ_SLOT(quit()), actionCollection );
actShowWorldView = new TDEAction(i18n("Komposé (ungrouped)"), "kompose_ungrouped",
0,
KomposeViewManager::instance(), TQ_SLOT(createWorldView()),
@ -184,7 +184,7 @@ void KomposeGlobal::initSharedPixmaps()
// Whenever the background pixmap changes we'll have to reload it:
//connect(twin_module, TQ_SIGNAL(windowChanged(WId, unsigned int)), TQ_SLOT(desktopChanged(WId, unsigned int)));
connect(twin_module, TQ_SIGNAL(currentDesktopChanged(int)), TQ_SLOT(slotDesktopChanged(int)));
connect(tdeApp, TQ_SIGNAL(backgroundChanged(int)), TQ_SLOT(slotBackgroundChanged(int)));
connect(kapp, TQ_SIGNAL(backgroundChanged(int)), TQ_SLOT(slotBackgroundChanged(int)));
enablePixmapExports();
// When Kompose is started by session management the bg shared pixmap may not be available yet
@ -254,7 +254,7 @@ void KomposeGlobal::enablePixmapExports()
{
#ifdef TQ_WS_X11
kdDebug() << "KomposeGlobal::enablePixmapExports()" << endl;
DCOPClient *client = tdeApp->dcopClient();
DCOPClient *client = kapp->dcopClient();
if (!client->isAttached())
client->attach();
TQByteArray data;

@ -87,57 +87,57 @@ void KomposeSettings::readConfig()
globalAccel->readSettings();
globalAccel->updateConnections();
tdeApp->config()->setGroup("Main window");
kapp->config()->setGroup("Main window");
defaultView = tdeApp->config()->readNumEntry("defaultView", KOMPOSEDISPLAY_VIRTUALDESKS);
defaultView = kapp->config()->readNumEntry("defaultView", KOMPOSEDISPLAY_VIRTUALDESKS);
useComposite = tdeApp->config()->readBoolEntry("useComposite", false);
useComposite = kapp->config()->readBoolEntry("useComposite", false);
passiveScreenshots = tdeApp->config()->readBoolEntry("passiveScreenshots", true);
screenshotGrabDelay = tdeApp->config()->readNumEntry("screenshotGrabDelay", 400000000);
passiveScreenshots = kapp->config()->readBoolEntry("passiveScreenshots", true);
screenshotGrabDelay = kapp->config()->readNumEntry("screenshotGrabDelay", 400000000);
// dynamicVirtDeskLayout = tdeApp->config()->readBoolEntry("dynamicVirtDeskLayout", true);
// dynamicVirtDeskLayout = kapp->config()->readBoolEntry("dynamicVirtDeskLayout", true);
imageEffects = tdeApp->config()->readBoolEntry("imageEffects", true);
blurBackground = tdeApp->config()->readBoolEntry("blurBackground", true);
imageEffects = kapp->config()->readBoolEntry("imageEffects", true);
blurBackground = kapp->config()->readBoolEntry("blurBackground", true);
showIcons = tdeApp->config()->readBoolEntry("showIcons", true);
iconSize = tdeApp->config()->readNumEntry("iconSize", 3);
showIcons = kapp->config()->readBoolEntry("showIcons", true);
iconSize = kapp->config()->readNumEntry("iconSize", 3);
showWindowTitles = tdeApp->config()->readBoolEntry("showWindowTitles", true );
windowTitleFont = tdeApp->config()->readFontEntry("windowTitleFont", new TQFont( "arial", 11, TQFont::Bold ) );
windowTitleFontColor = tdeApp->config()->readColorEntry("windowTitleFontColor", new TQColor(TQt::black) );
showWindowTitleShadow = tdeApp->config()->readBoolEntry("showWindowTitleShadow", true );
windowTitleFontShadowColor = tdeApp->config()->readColorEntry("windowTitleFontShadowColor", new TQColor(TQt::lightGray) );
showWindowTitles = kapp->config()->readBoolEntry("showWindowTitles", true );
windowTitleFont = kapp->config()->readFontEntry("windowTitleFont", new TQFont( "arial", 11, TQFont::Bold ) );
windowTitleFontColor = kapp->config()->readColorEntry("windowTitleFontColor", new TQColor(TQt::black) );
showWindowTitleShadow = kapp->config()->readBoolEntry("showWindowTitleShadow", true );
windowTitleFontShadowColor = kapp->config()->readColorEntry("windowTitleFontShadowColor", new TQColor(TQt::lightGray) );
windowBorderActiveColor = tdeApp->config()->readColorEntry("windowBorderActiveColor", new TQColor(TQt::gray) );
windowBorderInactiveColor = tdeApp->config()->readColorEntry("windowBorderInactiveColor", new TQColor(TQt::black) );
windowBorderActiveWidth = tdeApp->config()->readNumEntry("windowBorderActiveWidth", 2 );
windowBorderInactiveWidth = tdeApp->config()->readNumEntry("windowBorderInactiveWidth", 1 );
windowBorderActiveStyle = tdeApp->config()->readNumEntry("windowBorderActiveStyle", 3 ); // dotted
windowBorderInactiveStyle = tdeApp->config()->readNumEntry("windowBorderInactiveStyle", 1 ); // solid
windowBorderActiveColor = kapp->config()->readColorEntry("windowBorderActiveColor", new TQColor(TQt::gray) );
windowBorderInactiveColor = kapp->config()->readColorEntry("windowBorderInactiveColor", new TQColor(TQt::black) );
windowBorderActiveWidth = kapp->config()->readNumEntry("windowBorderActiveWidth", 2 );
windowBorderInactiveWidth = kapp->config()->readNumEntry("windowBorderInactiveWidth", 1 );
windowBorderActiveStyle = kapp->config()->readNumEntry("windowBorderActiveStyle", 3 ); // dotted
windowBorderInactiveStyle = kapp->config()->readNumEntry("windowBorderInactiveStyle", 1 ); // solid
desktopTitleFont = tdeApp->config()->readFontEntry("desktopTitleFont", new TQFont( "arial", 10 ) );
desktopTitleFontColor = tdeApp->config()->readColorEntry("desktopTitleFontColor", new TQColor(TQt::gray) );
desktopTitleFontHighlightColor = tdeApp->config()->readColorEntry("desktopTitleFontHighlightColor", new TQColor(TQt::black) );
desktopTitleFont = kapp->config()->readFontEntry("desktopTitleFont", new TQFont( "arial", 10 ) );
desktopTitleFontColor = kapp->config()->readColorEntry("desktopTitleFontColor", new TQColor(TQt::gray) );
desktopTitleFontHighlightColor = kapp->config()->readColorEntry("desktopTitleFontHighlightColor", new TQColor(TQt::black) );
cacheScaledPixmaps = tdeApp->config()->readBoolEntry("cacheScaledPixmaps", true);
cacheScaledPixmaps = kapp->config()->readBoolEntry("cacheScaledPixmaps", true);
activateOnTopLeftCorner = tdeApp->config()->readBoolEntry("activateOnTopLeftCorner", false );
activateOnTopRightCorner = tdeApp->config()->readBoolEntry("activateOnTopRightCorner", false );
activateOnBottomLeftCorner = tdeApp->config()->readBoolEntry("activateOnBottomLeftCorner", false );
activateOnBottomRightCorner = tdeApp->config()->readBoolEntry("activateOnBottomRightCorner", false );
activateOnTopLeftCorner = kapp->config()->readBoolEntry("activateOnTopLeftCorner", false );
activateOnTopRightCorner = kapp->config()->readBoolEntry("activateOnTopRightCorner", false );
activateOnBottomLeftCorner = kapp->config()->readBoolEntry("activateOnBottomLeftCorner", false );
activateOnBottomRightCorner = kapp->config()->readBoolEntry("activateOnBottomRightCorner", false );
activateOnTopEdge = tdeApp->config()->readBoolEntry("activateOnTopEdge", false );
activateOnBottomEdge = tdeApp->config()->readBoolEntry("activateOnBottomEdge", false );
activateOnLeftEdge = tdeApp->config()->readBoolEntry("activateOnLeftEdge", false );
activateOnRightEdge = tdeApp->config()->readBoolEntry("activateOnRightEdge", false );
activateOnTopEdge = kapp->config()->readBoolEntry("activateOnTopEdge", false );
activateOnBottomEdge = kapp->config()->readBoolEntry("activateOnBottomEdge", false );
activateOnLeftEdge = kapp->config()->readBoolEntry("activateOnLeftEdge", false );
activateOnRightEdge = kapp->config()->readBoolEntry("activateOnRightEdge", false );
autoLockDelay = tdeApp->config()->readNumEntry("autoLockDelay", 1000);
autoLockDelay = kapp->config()->readNumEntry("autoLockDelay", 1000);
showDesktopNum = tdeApp->config()->readBoolEntry("showDesktopNum", false );
showDesktopNum = kapp->config()->readBoolEntry("showDesktopNum", false );
viewScreen = tdeApp->config()->readNumEntry("viewScreen", -1);
viewScreen = kapp->config()->readNumEntry("viewScreen", -1);
calcFontMetrics();
emit settingsChanged();
@ -151,58 +151,58 @@ void KomposeSettings::writeConfig()
globalAccel->updateConnections();
// Read from config file
tdeApp->config()->setGroup("Main window");
kapp->config()->setGroup("Main window");
tdeApp->config()->writeEntry("defaultView", defaultView );
kapp->config()->writeEntry("defaultView", defaultView );
tdeApp->config()->writeEntry("useComposite", useComposite );
kapp->config()->writeEntry("useComposite", useComposite );
tdeApp->config()->writeEntry("passiveScreenshots", passiveScreenshots );
tdeApp->config()->writeEntry("screenshotGrabDelay", screenshotGrabDelay);
kapp->config()->writeEntry("passiveScreenshots", passiveScreenshots );
kapp->config()->writeEntry("screenshotGrabDelay", screenshotGrabDelay);
// tdeApp->config()->writeEntry("dynamicVirtDeskLayout", dynamicVirtDeskLayout);
// kapp->config()->writeEntry("dynamicVirtDeskLayout", dynamicVirtDeskLayout);
tdeApp->config()->writeEntry("imageEffects", imageEffects);
tdeApp->config()->writeEntry("blurBackground", blurBackground);
kapp->config()->writeEntry("imageEffects", imageEffects);
kapp->config()->writeEntry("blurBackground", blurBackground);
tdeApp->config()->writeEntry("showIcons", showIcons);
tdeApp->config()->writeEntry("iconSize", iconSize);
kapp->config()->writeEntry("showIcons", showIcons);
kapp->config()->writeEntry("iconSize", iconSize);
tdeApp->config()->writeEntry("showWindowTitles", showWindowTitles);
tdeApp->config()->writeEntry("windowTitleFont", windowTitleFont);
tdeApp->config()->writeEntry("windowTitleFontColor", windowTitleFontColor);
tdeApp->config()->writeEntry("showWindowTitleShadow", showWindowTitleShadow);
tdeApp->config()->writeEntry("windowTitleFontShadowColor", windowTitleFontShadowColor);
kapp->config()->writeEntry("showWindowTitles", showWindowTitles);
kapp->config()->writeEntry("windowTitleFont", windowTitleFont);
kapp->config()->writeEntry("windowTitleFontColor", windowTitleFontColor);
kapp->config()->writeEntry("showWindowTitleShadow", showWindowTitleShadow);
kapp->config()->writeEntry("windowTitleFontShadowColor", windowTitleFontShadowColor);
tdeApp->config()->writeEntry("windowBorderActiveColor", windowBorderActiveColor);
tdeApp->config()->writeEntry("windowBorderInactiveColor", windowBorderInactiveColor );
tdeApp->config()->writeEntry("windowBorderActiveWidth", windowBorderActiveWidth );
tdeApp->config()->writeEntry("windowBorderInactiveWidth", windowBorderInactiveWidth );
tdeApp->config()->writeEntry("windowBorderActiveStyle", windowBorderActiveStyle );
tdeApp->config()->writeEntry("windowBorderInactiveStyle", windowBorderInactiveStyle );
kapp->config()->writeEntry("windowBorderActiveColor", windowBorderActiveColor);
kapp->config()->writeEntry("windowBorderInactiveColor", windowBorderInactiveColor );
kapp->config()->writeEntry("windowBorderActiveWidth", windowBorderActiveWidth );
kapp->config()->writeEntry("windowBorderInactiveWidth", windowBorderInactiveWidth );
kapp->config()->writeEntry("windowBorderActiveStyle", windowBorderActiveStyle );
kapp->config()->writeEntry("windowBorderInactiveStyle", windowBorderInactiveStyle );
tdeApp->config()->writeEntry("desktopTitleFont", desktopTitleFont);
tdeApp->config()->writeEntry("desktopTitleFontColor", desktopTitleFontColor);
tdeApp->config()->writeEntry("desktopTitleFontHighlightColor", desktopTitleFontHighlightColor);
kapp->config()->writeEntry("desktopTitleFont", desktopTitleFont);
kapp->config()->writeEntry("desktopTitleFontColor", desktopTitleFontColor);
kapp->config()->writeEntry("desktopTitleFontHighlightColor", desktopTitleFontHighlightColor);
tdeApp->config()->writeEntry("cacheScaledPixmaps", cacheScaledPixmaps);
kapp->config()->writeEntry("cacheScaledPixmaps", cacheScaledPixmaps);
tdeApp->config()->writeEntry("activateOnTopLeftCorner", activateOnTopLeftCorner);
tdeApp->config()->writeEntry("activateOnTopRightCorner", activateOnTopRightCorner);
tdeApp->config()->writeEntry("activateOnBottomLeftCorner", activateOnBottomLeftCorner);
tdeApp->config()->writeEntry("activateOnBottomRightCorner", activateOnBottomRightCorner);
kapp->config()->writeEntry("activateOnTopLeftCorner", activateOnTopLeftCorner);
kapp->config()->writeEntry("activateOnTopRightCorner", activateOnTopRightCorner);
kapp->config()->writeEntry("activateOnBottomLeftCorner", activateOnBottomLeftCorner);
kapp->config()->writeEntry("activateOnBottomRightCorner", activateOnBottomRightCorner);
tdeApp->config()->writeEntry("activateOnTopEdge", activateOnTopEdge);
tdeApp->config()->writeEntry("activateOnBottomEdge", activateOnBottomEdge);
tdeApp->config()->writeEntry("activateOnLeftEdge", activateOnLeftEdge);
tdeApp->config()->writeEntry("activateOnRightEdge", activateOnRightEdge);
tdeApp->config()->writeEntry("autoLockDelay", autoLockDelay);
kapp->config()->writeEntry("activateOnTopEdge", activateOnTopEdge);
kapp->config()->writeEntry("activateOnBottomEdge", activateOnBottomEdge);
kapp->config()->writeEntry("activateOnLeftEdge", activateOnLeftEdge);
kapp->config()->writeEntry("activateOnRightEdge", activateOnRightEdge);
kapp->config()->writeEntry("autoLockDelay", autoLockDelay);
tdeApp->config()->writeEntry("showDesktopNum", showDesktopNum);
kapp->config()->writeEntry("showDesktopNum", showDesktopNum);
tdeApp->config()->writeEntry("viewScreen", viewScreen);
kapp->config()->writeEntry("viewScreen", viewScreen);
tdeApp->config()->sync();
kapp->config()->sync();
kdDebug() << "KomposeSettings::writeConfig() - Settings saved to cfg file" << endl;

@ -297,7 +297,7 @@ void KomposeTask::refresh()
/**
* This has to be called by x11EventFilter whenever ConfigureNotify for this win occurs
* sorta hacky but x11EventFilter can only be implemented in a tdeApp object which redirects it
* sorta hacky but x11EventFilter can only be implemented in a kapp object which redirects it
* to the taskmanager, that picks out the right task by winId and notifies us :(
*/
void KomposeTask::slotX11ConfigureNotify()
@ -307,7 +307,7 @@ void KomposeTask::slotX11ConfigureNotify()
/**
* This has to be called by x11EventFilter whenever DamageNotify for this win occurs
* sorta hacky but x11EventFilter can only be implemented in a tdeApp object which redirects it
* sorta hacky but x11EventFilter can only be implemented in a kapp object which redirects it
* to the taskmanager, that picks out the right task by winId and notifies us :(
*/
void KomposeTask::slotX11DamageNotify()

@ -318,7 +318,7 @@ TQString KomposeTaskManager::getDesktopName(int desk) const
/**
* The tdeApp x11EventFilter method redirect to this method
* The kapp x11EventFilter method redirect to this method
* @param event
* @return
*/

@ -401,9 +401,9 @@ void KomposeTaskWidget::setActionIcons( bool inverse )
{
kdDebug() << "setIconSet" << endl;
if ( ( task->isIconified() && !inverse ) || ( !task->isIconified() && inverse ) )
actMinimizeRestoreTask->setIconSet( tdeApp->iconLoader()->loadIconSet ( "go-up", TDEIcon::NoGroup, 16 ) );
actMinimizeRestoreTask->setIconSet( kapp->iconLoader()->loadIconSet ( "go-up", TDEIcon::NoGroup, 16 ) );
else
actMinimizeRestoreTask->setIconSet( tdeApp->iconLoader()->loadIconSet ( "go-bottom", TDEIcon::NoGroup, 16 ) );
actMinimizeRestoreTask->setIconSet( kapp->iconLoader()->loadIconSet ( "go-bottom", TDEIcon::NoGroup, 16 ) );
}
void KomposeTaskWidget::slotMinimizeRestoreToggled()

@ -224,7 +224,7 @@ void KomposeViewManager::closeCurrentView()
emit viewClosed();
if ( KomposeGlobal::instance()->getSingleShot() )
tdeApp->quit();
kapp->quit();
// Reset old Desktop
KWin::setCurrentDesktop( deskBeforeSnaps );

@ -315,7 +315,6 @@ msgstr "Schattenfarbe:"
#: komposepreferences.cpp:210
#, fuzzy
#| msgid "Window Titles"
msgid "Window Border"
msgstr "Fenstertitel"
@ -453,7 +452,6 @@ msgstr "Auf &Arbeitsfläche"
#: main.cpp:32
#, fuzzy
#| msgid "A fullscreen task manager for KDE"
msgid "A fullscreen task manager for TDE"
msgstr "Ein Vollbild-Fensterwechsler für KDE"

@ -315,7 +315,6 @@ msgstr "Color de la sombra:"
#: komposepreferences.cpp:210
#, fuzzy
#| msgid "Window Titles"
msgid "Window Border"
msgstr "Títulos de las ventanas"
@ -453,7 +452,6 @@ msgstr "Al &escritorio"
#: main.cpp:32
#, fuzzy
#| msgid "A fullscreen task manager for KDE"
msgid "A fullscreen task manager for TDE"
msgstr "Un gestor de tareas a pantalla completa para KDE"

@ -309,7 +309,6 @@ msgstr "Couleur de l'ombre :"
#: komposepreferences.cpp:210
#, fuzzy
#| msgid "Window Titles"
msgid "Window Border"
msgstr "Titre des fenêtres"
@ -447,7 +446,6 @@ msgstr "Vers le &bureau"
#: main.cpp:32
#, fuzzy
#| msgid "A fullscreen task manager for KDE"
msgid "A fullscreen task manager for TDE"
msgstr "Un gestionnaire de tâche pleine écran pour KDE"

@ -16,14 +16,12 @@ msgstr ""
"X-Generator: Weblate 4.17\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#, ignore-inconsistent
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "თემური დოღონაძე"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
#, ignore-inconsistent
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"

Loading…
Cancel
Save