Initial TDE conversion

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 6 years ago
parent 1a36f79cf4
commit b655e20e22
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -36,7 +36,7 @@ tde_add_executable( kdocker AUTOMOC
traylabelmgr.cpp traylabelmgr.cpp
util.cpp util.cpp
LINK LINK
kdecore-shared kdeui-shared DCOP-shared tdecore-shared tdeui-shared DCOP-shared
${XMU_LIBRARIES} ${XPM_LIBRARIES} ${XMU_LIBRARIES} ${XPM_LIBRARIES}
DESTINATION DESTINATION
${BIN_INSTALL_DIR} ${BIN_INSTALL_DIR}

@ -30,8 +30,8 @@
#include <stdlib.h> #include <stdlib.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kglobal.h> #include <tdeglobal.h>
#include <klocale.h> #include <tdelocale.h>
#include "trace.h" #include "trace.h"
#include "customtraylabel.h" #include "customtraylabel.h"
@ -56,7 +56,7 @@ CustomTrayLabel::CustomTrayLabel(const TQStringList& argv, pid_t pid,
*/ */
void CustomTrayLabel::installMenu() void CustomTrayLabel::installMenu()
{ {
TQPixmap kdocker_png(KGlobal::iconLoader()->loadIcon("kdocker", KIcon::NoGroup, KIcon::SizeSmall)); TQPixmap kdocker_png(TDEGlobal::iconLoader()->loadIcon("kdocker", TDEIcon::NoGroup, TDEIcon::SizeSmall));
setIcon(kdocker_png); setIcon(kdocker_png);
TrayLabelMgr *tlMgr = TrayLabelMgr::instance(); TrayLabelMgr *tlMgr = TrayLabelMgr::instance();

@ -27,7 +27,7 @@
#include <tqtimer.h> #include <tqtimer.h>
#include <tqstring.h> #include <tqstring.h>
#include <klocale.h> #include <tdelocale.h>
#include "trace.h" #include "trace.h"
#include "traylabelmgr.h" #include "traylabelmgr.h"

@ -24,7 +24,7 @@
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
#include <klocale.h> #include <tdelocale.h>
#include <tqdir.h> #include <tqdir.h>
#include "kdocker.h" #include "kdocker.h"

@ -33,7 +33,7 @@
#include "qtraylabel.h" #include "qtraylabel.h"
#include <kiconloader.h> #include <kiconloader.h>
#include <kglobal.h> #include <tdeglobal.h>
#include <X11/cursorfont.h> #include <X11/cursorfont.h>
#include <X11/xpm.h> #include <X11/xpm.h>
@ -621,7 +621,7 @@ void TQTrayLabel::handleIconChange(void)
TQImage image; TQImage image;
if (!window_icon) if (!window_icon)
{ {
image = KGlobal::iconLoader()->loadIcon("question", KIcon::NoGroup, KIcon::SizeMedium); image = TDEGlobal::iconLoader()->loadIcon("question", TDEIcon::NoGroup, TDEIcon::SizeMedium);
} }
else image = TQPixmap((const char **) window_icon).convertToImage(); else image = TQPixmap((const char **) window_icon).convertToImage();
if (window_icon) XpmFree(window_icon); if (window_icon) XpmFree(window_icon);

@ -29,7 +29,7 @@
#include <tqtextstream.h> #include <tqtextstream.h>
#include <tqfiledialog.h> #include <tqfiledialog.h>
#include <klocale.h> #include <tdelocale.h>
#include "trace.h" #include "trace.h"
#include "traylabelmgr.h" #include "traylabelmgr.h"

Loading…
Cancel
Save