summaryrefslogtreecommitdiffstats
path: root/src/qt_qt_wrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt_qt_wrapper.cpp')
-rw-r--r--src/qt_qt_wrapper.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/qt_qt_wrapper.cpp b/src/qt_qt_wrapper.cpp
index 12e145d..495f869 100644
--- a/src/qt_qt_wrapper.cpp
+++ b/src/qt_qt_wrapper.cpp
@@ -319,7 +319,7 @@ void createTQApp()
#endif // USE_FREEBSD
#endif // USE_SOLARIS
- mozillaFix = (cmdLine.tqcontains("mozilla") || cmdLine.tqcontains("firefox"));
+ mozillaFix = (cmdLine.contains("mozilla") || cmdLine.contains("firefox"));
openOfficeFix = (cmdLine.endsWith("soffice.bin"))
| (cmdLine.endsWith("swriter.bin"))
@@ -328,7 +328,7 @@ void createTQApp()
| (cmdLine.endsWith("spadmin.bin"))
| (cmdLine.endsWith("simpress.bin"));
- eclipseFix = cmdLine.tqcontains("eclipse");
+ eclipseFix = cmdLine.contains("eclipse");
gtkQtDebug = (getenv("GTK_TQT_ENGINE_DEBUG") != NULL) ? 1 : 0;
@@ -336,7 +336,7 @@ void createTQApp()
printf("createTQApp()\n");
char* sessionEnv = getenv("SESSION_MANAGER");
- if (TQString(sessionEnv).endsWith(TQString::number(getpid())) || cmdLine.tqcontains("nspluginviewer") || cmdLine.tqcontains("gnome-wm") || cmdLine.tqcontains("metacity") || cmdLine.tqcontains("xfwm4") || (getenv("GTK_TQT_ENGINE_DISABLE") != NULL))
+ if (TQString(sessionEnv).endsWith(TQString::number(getpid())) || cmdLine.contains("nspluginviewer") || cmdLine.contains("gnome-wm") || cmdLine.contains("metacity") || cmdLine.contains("xfwm4") || (getenv("GTK_TQT_ENGINE_DISABLE") != NULL))
{
printf("Not initializing the Gtk-Qt theme engine\n");
}
@@ -403,7 +403,7 @@ void createTQApp()
/*setGnomeFonts();
setGnomeIcons();*/
- if (!cmdLine.tqcontains("xfce-mcs-manager"))
+ if (!cmdLine.contains("xfce-mcs-manager"))
{
// Get KDE related atoms from the X server
kipcCommAtom = XInternAtom ( gdk_x11_get_default_xdisplay() , "KIPC_COMM_ATOM" , false );
@@ -1274,7 +1274,7 @@ void drawMenuItem(GdkWindow* window, GtkStyle* style, GtkStateType state, int x,
TQPainter painter(&pixmap);
TQPopupMenu pm;
TQMenuData md;
- TQMenuItem* mi = md.tqfindItem(md.insertItem(""));
+ TQMenuItem* mi = md.findItem(md.insertItem(""));
TQStyleOption opt(mi, 16, 16);
TQStyle::SFlags sflags = TQStyle::Style_Active | TQStyle::Style_Enabled;
@@ -2047,8 +2047,8 @@ void setRcProperties(GtkRcStyle* rc_style, int forceRecreate)
stream << doIconMapping("gtk-edit", "actions/gtk-edit.png"); //2.6
stream << doIconMapping("gtk-execute", "actions/exec.png");
stream << doIconMapping("gtk-file", "mimetypes/gtk-file.png");
- stream << doIconMapping("gtk-tqfind", "actions/find.png");
- stream << doIconMapping("gtk-tqfind-and-tqreplace", "actions/gtk-tqfind-and-tqreplace.png");
+ stream << doIconMapping("gtk-find", "actions/find.png");
+ stream << doIconMapping("gtk-find-and-replace", "actions/gtk-find-and-replace.png");
stream << doIconMapping("gtk-floppy", "devices/3floppy_unmount.png");
stream << doIconMapping("gtk-fullscreen", "actions/gtk-fullscreen.png");
stream << doIconMapping("gtk-goto-bottom", "actions/bottom.png");
@@ -2131,7 +2131,7 @@ void addIconThemeDir(const TQString& theme)
TQString icondir = kdeFindDir("/share/icons/" + theme + "/", "index.theme", "index.desktop");
if(icondir.isEmpty())
return;
- if (iconThemeDirs.tqcontains(icondir))
+ if (iconThemeDirs.contains(icondir))
return;
// Add this theme to the list
@@ -2155,7 +2155,7 @@ void setMenuBackground(GtkStyle* style)
TQPainter painter(menuBackgroundPixmap);
TQPopupMenu pm;
TQMenuData md;
- TQMenuItem* mi = md.tqfindItem(md.insertItem(""));
+ TQMenuItem* mi = md.findItem(md.insertItem(""));
tqApp->tqstyle().polish(&pm);