summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--navit/graphics/qt5/event_qt5.cpp2
-rw-r--r--navit/graphics/qt5/graphics_qt5.cpp4
-rw-r--r--navit/vehicle/qt5/vehicle_qt5.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/navit/graphics/qt5/event_qt5.cpp b/navit/graphics/qt5/event_qt5.cpp
index 12f23d954..400daf9e0 100644
--- a/navit/graphics/qt5/event_qt5.cpp
+++ b/navit/graphics/qt5/event_qt5.cpp
@@ -181,5 +181,5 @@ event_qt5_new(struct event_methods *meth)
void
qt5_event_init(void)
{
- plugin_register_event_type("qt5", event_qt5_new);
+ plugin_register_category_event("qt5", event_qt5_new);
}
diff --git a/navit/graphics/qt5/graphics_qt5.cpp b/navit/graphics/qt5/graphics_qt5.cpp
index 9d24bbf7d..907702fdc 100644
--- a/navit/graphics/qt5/graphics_qt5.cpp
+++ b/navit/graphics/qt5/graphics_qt5.cpp
@@ -733,7 +733,7 @@ graphics_qt5_new(struct navit *nav, struct graphics_methods *meth, struct attr *
#ifdef QT_QPAINTER_USE_FREETYPE
struct font_priv * (*font_freetype_new)(void *meth);
/* get font plugin if present */
- font_freetype_new=(struct font_priv *(*)(void *))plugin_get_font_type("freetype");
+ font_freetype_new=(struct font_priv *(*)(void *))plugin_get_category_font("freetype");
if (!font_freetype_new) {
dbg(lvl_error,"no freetype\n");
return NULL;
@@ -774,6 +774,6 @@ void
plugin_init(void)
{
// dbg(lvl_debug,"enter\n");
- plugin_register_graphics_type("qt5", graphics_qt5_new);
+ plugin_register_category_graphics("qt5", graphics_qt5_new);
qt5_event_init();
}
diff --git a/navit/vehicle/qt5/vehicle_qt5.cpp b/navit/vehicle/qt5/vehicle_qt5.cpp
index 77dabcc29..d6d33d7ab 100644
--- a/navit/vehicle/qt5/vehicle_qt5.cpp
+++ b/navit/vehicle/qt5/vehicle_qt5.cpp
@@ -296,5 +296,5 @@ void
plugin_init(void)
{
dbg(lvl_debug, "enter\n");
- plugin_register_vehicle_type("qt5", vehicle_qt5_new_qt5);
+ plugin_register_category_vehicle("qt5", vehicle_qt5_new_qt5);
}