summaryrefslogtreecommitdiffstats
path: root/kbabel/catalogmanager
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:18:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:18:40 -0600
commit7bc058d1bffbd79bf9d9416f879ccb4873b6045e (patch)
tree829c8e24b6d0e8f1113abff459b7a58dd284d488 /kbabel/catalogmanager
parenta50010465ab0fa1ded54efb4f41d342d9d49971e (diff)
downloadtdesdk-7bc058d1bffbd79bf9d9416f879ccb4873b6045e.tar.gz
tdesdk-7bc058d1bffbd79bf9d9416f879ccb4873b6045e.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kbabel/catalogmanager')
-rw-r--r--kbabel/catalogmanager/catalogmanagerview.cpp2
-rw-r--r--kbabel/catalogmanager/catmanresource.h12
2 files changed, 7 insertions, 7 deletions
diff --git a/kbabel/catalogmanager/catalogmanagerview.cpp b/kbabel/catalogmanager/catalogmanagerview.cpp
index da21075b..6d7e33f2 100644
--- a/kbabel/catalogmanager/catalogmanagerview.cpp
+++ b/kbabel/catalogmanager/catalogmanagerview.cpp
@@ -2532,7 +2532,7 @@ void CatalogManagerView::contentsMouseMoveEvent(TQMouseEvent* event)
uri.append(TQUriDrag::localFileToUri(item->potFile()));
TQUriDrag* drag = new TQUriDrag(uri,this);
- TQPixmap icon=TDEGlobal::iconLoader()->loadIcon("txt",KIcon::Desktop);
+ TQPixmap icon=TDEGlobal::iconLoader()->loadIcon("txt",TDEIcon::Desktop);
drag->setPixmap(icon,TQPoint(icon.width()/2,icon.height()/2));
drag->drag();
}
diff --git a/kbabel/catalogmanager/catmanresource.h b/kbabel/catalogmanager/catmanresource.h
index 0c8a694a..cf3cdb9f 100644
--- a/kbabel/catalogmanager/catmanresource.h
+++ b/kbabel/catalogmanager/catmanresource.h
@@ -47,18 +47,18 @@
#define COL_REVISION 6
#define COL_TRANSLATOR 7
-#define ICON_OK UserIcon("ok",KIcon::DefaultState)
-#define ICON_MISSING UserIcon("missing",KIcon::DefaultState)
-#define ICON_NEEDWORK UserIcon("needwork",KIcon::DefaultState)
-#define ICON_BROKEN UserIcon("broken",KIcon::DefaultState)
+#define ICON_OK UserIcon("ok",TDEIcon::DefaultState)
+#define ICON_MISSING UserIcon("missing",TDEIcon::DefaultState)
+#define ICON_NEEDWORK UserIcon("needwork",TDEIcon::DefaultState)
+#define ICON_BROKEN UserIcon("broken",TDEIcon::DefaultState)
#define ICON_UPDATING SmallIcon("reload")
#define ICON_FLAG SmallIcon("flag")
#define ICON_FOLDER_CLOSED_OK SmallIcon("folder_green")
#define ICON_FOLDER_CLOSED_WORK SmallIcon("folder_red")
#define ICON_FOLDER_OPEN_OK SmallIcon("folder_green_open")
#define ICON_FOLDER_OPEN_WORK SmallIcon("folder_red_open")
-#define ICON_ERROR UserIcon("error",KIcon::DefaultState)
-#define ICON_NOFLAG UserIcon("noflag",KIcon::DefaultState)
+#define ICON_ERROR UserIcon("error",TDEIcon::DefaultState)
+#define ICON_NOFLAG UserIcon("noflag",TDEIcon::DefaultState)
// Needed for determining which actions should be enabled and which not.
#define NEEDS_PO 1