diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-02-24 14:33:07 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-02-24 14:33:07 +0900 |
commit | 7fea3c42ee6179edaa3e9f36c794540ae73fcc95 (patch) | |
tree | 4cea28ad693ec218f0c17b4702fe6b01cb2fa79e /src/traylabelmgr.cpp | |
parent | 70194b269e22711c3bbbc18d339b69aab028371e (diff) | |
download | tdedocker-7fea3c42ee6179edaa3e9f36c794540ae73fcc95.tar.gz tdedocker-7fea3c42ee6179edaa3e9f36c794540ae73fcc95.zip |
Completed kdocker -> tdedocker renaming effort.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/traylabelmgr.cpp')
-rw-r--r-- | src/traylabelmgr.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/traylabelmgr.cpp b/src/traylabelmgr.cpp index c24034d..40c8231 100644 --- a/src/traylabelmgr.cpp +++ b/src/traylabelmgr.cpp @@ -62,10 +62,10 @@ TrayLabelMgr::~TrayLabelMgr() void TrayLabelMgr::about(void) { - if (TQMessageBox::information(NULL, i18n("About KDocker"), + if (TQMessageBox::information(NULL, i18n("About TDEDocker"), i18n("Bugs/wishes to Girish Ramakrishnan (gramakri@uiuc.edu)\n" "English translation by Girish (gramakri@uiuc.edu)\n\n" - "http://kdocker.sourceforge.net for updates"), + "http://tdedocker.sourceforge.net for updates"), TQString::null, SHOW_TRACE_TEXT) == 1) SHOW_TRACE(); } @@ -91,7 +91,7 @@ void TrayLabelMgr::startup(void) return; } - if (TQMessageBox::warning(NULL, i18n("KDocker"), + if (TQMessageBox::warning(NULL, i18n("TDEDocker"), i18n(state == SysTrayAbsent ? "No system tray found" : "System tray appears to be hidden"), TQMessageBox::Abort, TQMessageBox::Ignore) == TQMessageBox::Abort) @@ -182,7 +182,7 @@ bool TrayLabelMgr::processCommand(int argc, char** argv) if (argc < 1) return false; - // Restore session (See the comments in KDocker::notifyPreviousInstance() + // Restore session (See the comments in TDEDocker::notifyPreviousInstance() if (qstrcmp(argv[1], "-session") == 0) { TRACE("Restoring session %s (new instance request)", argv[2]); @@ -288,7 +288,7 @@ TQTrayLabel *TrayLabelMgr::selectAndDock(Window w, bool checkNormality) if ((w = selectWindow(TQPaintDevice::x11AppDisplay(), &err)) == None) { - if (err) TQMessageBox::critical(NULL, i18n("KDocker"), i18n(err)); + if (err) TQMessageBox::critical(NULL, i18n("TDEDocker"), i18n(err)); return NULL; } } @@ -299,7 +299,7 @@ TQTrayLabel *TrayLabelMgr::selectAndDock(Window w, bool checkNormality) * Abort should be the only option here really. "Ignore" is provided here * for the curious user who wants to screw himself very badly */ - if (TQMessageBox::warning(NULL, i18n("KDocker"), + if (TQMessageBox::warning(NULL, i18n("TDEDocker"), i18n("The window you are attempting to dock does not seem to be a" " normal window."), TQMessageBox::Abort, TQMessageBox::Ignore) == TQMessageBox::Abort) @@ -310,7 +310,7 @@ TQTrayLabel *TrayLabelMgr::selectAndDock(Window w, bool checkNormality) TRACE("0x%x is not docked", (unsigned) w); - TQMessageBox::message(i18n("KDocker"), + TQMessageBox::message(i18n("TDEDocker"), i18n("This window is already docked.\n" "Click on system tray icon to toggle docking.")); return NULL; @@ -360,7 +360,7 @@ TQTrayLabel *TrayLabelMgr::dockApplication(char *argv[]) if (pid == -1) { - TQMessageBox::critical(NULL, "KDocker", + TQMessageBox::critical(NULL, "TDEDocker", i18n("Failed to fork: %1").arg(strerror(errno))); return NULL; } @@ -427,7 +427,7 @@ void TrayLabelMgr::notifySysTrayAbsence() if (state == SysTrayPresent) return; // So sweet of the systray to come back so soon - if (TQMessageBox::warning(NULL, i18n("KDocker"), + if (TQMessageBox::warning(NULL, i18n("TDEDocker"), i18n("The System tray was hidden or removed"), i18n("Undock All"), i18n("Ignore")) == 0) undockAll(); @@ -438,7 +438,7 @@ void TrayLabelMgr::notifySysTrayAbsence() */ bool TrayLabelMgr::restoreSession(const TQString& sessionId) { - TQString session_file = "kdocker_" + sessionId; + TQString session_file = "tdedocker_" + sessionId; TQSettings settings; settings.beginGroup(TQString("/" + session_file)); @@ -451,7 +451,7 @@ bool TrayLabelMgr::restoreSession(const TQString& sessionId) if (pname.isEmpty()) break; if (settings.readBoolEntry("/LaunchOnStartup")) { - TQStringList args("kdocker"); + TQStringList args("tdedocker"); args += TQStringList::split(" ", pname); TRACE("Triggering AutoLaunch"); if (!processCommand(args)) continue; @@ -469,7 +469,7 @@ bool TrayLabelMgr::restoreSession(const TQString& sessionId) TQString TrayLabelMgr::saveSession(void) { - TQString session_file = "kdocker_" + tqApp->sessionId(); + TQString session_file = "tdedocker_" + tqApp->sessionId(); TQSettings settings; settings.beginGroup(TQString("/" + session_file)); |