[rkward-cvs] SF.net SVN: rkward: [1960] trunk/rkward/rkward
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Mon Sep 17 15:15:10 UTC 2007
Revision: 1960
http://rkward.svn.sourceforge.net/rkward/?rev=1960&view=rev
Author: tfry
Date: 2007-09-17 08:15:10 -0700 (Mon, 17 Sep 2007)
Log Message:
-----------
Turn some char*s into const char*s to silence gcc 4.2 warnings
Modified Paths:
--------------
trunk/rkward/rkward/rkconsole.cpp
trunk/rkward/rkward/rkconsole.h
trunk/rkward/rkward/robjectbrowser.cpp
trunk/rkward/rkward/robjectbrowser.h
trunk/rkward/rkward/windows/rcontrolwindow.cpp
trunk/rkward/rkward/windows/rcontrolwindow.h
trunk/rkward/rkward/windows/rkcommandlog.cpp
trunk/rkward/rkward/windows/rkcommandlog.h
trunk/rkward/rkward/windows/rkfilebrowser.cpp
trunk/rkward/rkward/windows/rkfilebrowser.h
trunk/rkward/rkward/windows/rkhelpsearchwindow.cpp
trunk/rkward/rkward/windows/rkhelpsearchwindow.h
trunk/rkward/rkward/windows/rkmdiwindow.cpp
trunk/rkward/rkward/windows/rkmdiwindow.h
Modified: trunk/rkward/rkward/rkconsole.cpp
===================================================================
--- trunk/rkward/rkward/rkconsole.cpp 2007-09-17 15:09:41 UTC (rev 1959)
+++ trunk/rkward/rkward/rkconsole.cpp 2007-09-17 15:15:10 UTC (rev 1960)
@@ -49,7 +49,7 @@
// static
RKConsole* RKConsole::main_console = 0;
-RKConsole::RKConsole (QWidget *parent, bool tool_window, char *name) : RKMDIWindow (parent, RKMDIWindow::ConsoleWindow, tool_window, name) {
+RKConsole::RKConsole (QWidget *parent, bool tool_window, const char *name) : RKMDIWindow (parent, RKMDIWindow::ConsoleWindow, tool_window, name) {
RK_TRACE (APP);
QVBoxLayout *layout = new QVBoxLayout (this);
Modified: trunk/rkward/rkward/rkconsole.h
===================================================================
--- trunk/rkward/rkward/rkconsole.h 2007-09-17 15:09:41 UTC (rev 1959)
+++ trunk/rkward/rkward/rkconsole.h 2007-09-17 15:15:10 UTC (rev 1960)
@@ -51,7 +51,7 @@
Q_OBJECT
public:
/** Constructor. */
- RKConsole (QWidget *parent, bool tool_window, char *name=0);
+ RKConsole (QWidget *parent, bool tool_window, const char *name=0);
/** Destructor */
~RKConsole ();
Modified: trunk/rkward/rkward/robjectbrowser.cpp
===================================================================
--- trunk/rkward/rkward/robjectbrowser.cpp 2007-09-17 15:09:41 UTC (rev 1959)
+++ trunk/rkward/rkward/robjectbrowser.cpp 2007-09-17 15:15:10 UTC (rev 1960)
@@ -47,7 +47,7 @@
// static
RObjectBrowser* RObjectBrowser::object_browser = 0;
-RObjectBrowser::RObjectBrowser (QWidget *parent, bool tool_window, char *name) : RKMDIWindow (parent, WorkspaceBrowserWindow, tool_window, name) {
+RObjectBrowser::RObjectBrowser (QWidget *parent, bool tool_window, const char *name) : RKMDIWindow (parent, WorkspaceBrowserWindow, tool_window, name) {
RK_TRACE (APP);
internal = 0;
Modified: trunk/rkward/rkward/robjectbrowser.h
===================================================================
--- trunk/rkward/rkward/robjectbrowser.h 2007-09-17 15:09:41 UTC (rev 1959)
+++ trunk/rkward/rkward/robjectbrowser.h 2007-09-17 15:15:10 UTC (rev 1960)
@@ -42,7 +42,7 @@
*/
class RObjectBrowser : public RKMDIWindow {
public:
- RObjectBrowser (QWidget *parent, bool tool_window, char *name=0);
+ RObjectBrowser (QWidget *parent, bool tool_window, const char *name=0);
~RObjectBrowser ();
void unlock ();
static RObjectBrowser *mainBrowser () { return object_browser; };
Modified: trunk/rkward/rkward/windows/rcontrolwindow.cpp
===================================================================
--- trunk/rkward/rkward/windows/rcontrolwindow.cpp 2007-09-17 15:09:41 UTC (rev 1959)
+++ trunk/rkward/rkward/windows/rcontrolwindow.cpp 2007-09-17 15:15:10 UTC (rev 1960)
@@ -35,7 +35,7 @@
//static
RControlWindow *RControlWindow::control_window = 0;
-RControlWindow::RControlWindow (QWidget *parent, bool tool_window, char *name) : RKMDIWindow (parent, PendingJobsWindow, tool_window, name) {
+RControlWindow::RControlWindow (QWidget *parent, bool tool_window, const char *name) : RKMDIWindow (parent, PendingJobsWindow, tool_window, name) {
RK_TRACE (APP);
setPart (new RControlWindowPart (this));
initializeActivationSignals ();
Modified: trunk/rkward/rkward/windows/rcontrolwindow.h
===================================================================
--- trunk/rkward/rkward/windows/rcontrolwindow.h 2007-09-17 15:09:41 UTC (rev 1959)
+++ trunk/rkward/rkward/windows/rcontrolwindow.h 2007-09-17 15:15:10 UTC (rev 1960)
@@ -52,7 +52,7 @@
public:
/** constructor.
@param parent parent QWidget, usually RKGlobals::rkApp () or similar */
- RControlWindow (QWidget *parent, bool tool_window, char *name=0);
+ RControlWindow (QWidget *parent, bool tool_window, const char *name=0);
/** destructor */
~RControlWindow ();
/** Add new chain to the RControlWindow. Has no effect unless RControlWindow::isShown () */
Modified: trunk/rkward/rkward/windows/rkcommandlog.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkcommandlog.cpp 2007-09-17 15:09:41 UTC (rev 1959)
+++ trunk/rkward/rkward/windows/rkcommandlog.cpp 2007-09-17 15:15:10 UTC (rev 1960)
@@ -40,7 +40,7 @@
//static
RKCommandLog *RKCommandLog::rkcommand_log = 0;
-RKCommandLog::RKCommandLog (QWidget *parent, bool tool_window, char *name) : RKMDIWindow (parent, CommandLogWindow, tool_window, name) {
+RKCommandLog::RKCommandLog (QWidget *parent, bool tool_window, const char *name) : RKMDIWindow (parent, CommandLogWindow, tool_window, name) {
RK_TRACE (APP);
log_view = new RKCommandLogView (this);
Modified: trunk/rkward/rkward/windows/rkcommandlog.h
===================================================================
--- trunk/rkward/rkward/windows/rkcommandlog.h 2007-09-17 15:09:41 UTC (rev 1959)
+++ trunk/rkward/rkward/windows/rkcommandlog.h 2007-09-17 15:15:10 UTC (rev 1960)
@@ -53,7 +53,7 @@
protected:
/** Command has finished. If the command has failed, it may be necessary to print some more information */
void rCommandDone (RCommand *command);
- RKCommandLog (QWidget *parent, bool tool_window, char *name=0);
+ RKCommandLog (QWidget *parent, bool tool_window, const char *name=0);
~RKCommandLog ();
public slots:
/** configures the log_view-window */
Modified: trunk/rkward/rkward/windows/rkfilebrowser.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkfilebrowser.cpp 2007-09-17 15:09:41 UTC (rev 1959)
+++ trunk/rkward/rkward/windows/rkfilebrowser.cpp 2007-09-17 15:15:10 UTC (rev 1960)
@@ -37,7 +37,7 @@
// static
RKFileBrowser *RKFileBrowser::main_browser = 0;
-RKFileBrowser::RKFileBrowser (QWidget *parent, bool tool_window, char *name) : RKMDIWindow (parent, FileBrowserWindow, tool_window, name) {
+RKFileBrowser::RKFileBrowser (QWidget *parent, bool tool_window, const char *name) : RKMDIWindow (parent, FileBrowserWindow, tool_window, name) {
RK_TRACE (APP);
real_widget = 0;
Modified: trunk/rkward/rkward/windows/rkfilebrowser.h
===================================================================
--- trunk/rkward/rkward/windows/rkfilebrowser.h 2007-09-17 15:09:41 UTC (rev 1959)
+++ trunk/rkward/rkward/windows/rkfilebrowser.h 2007-09-17 15:15:10 UTC (rev 1960)
@@ -31,7 +31,7 @@
class RKFileBrowser : public RKMDIWindow {
Q_OBJECT
public:
- RKFileBrowser (QWidget *parent, bool tool_window, char *name=0);
+ RKFileBrowser (QWidget *parent, bool tool_window, const char *name=0);
~RKFileBrowser ();
/** reimplemented to create the real file browser widget only when the file browser is shown for the first time */
Modified: trunk/rkward/rkward/windows/rkhelpsearchwindow.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkhelpsearchwindow.cpp 2007-09-17 15:09:41 UTC (rev 1959)
+++ trunk/rkward/rkward/windows/rkhelpsearchwindow.cpp 2007-09-17 15:15:10 UTC (rev 1960)
@@ -42,7 +42,7 @@
RKHelpSearchWindow* RKHelpSearchWindow::main_help_search = 0;
-RKHelpSearchWindow::RKHelpSearchWindow (QWidget *parent, bool tool_window, char *name) : RKMDIWindow (parent, SearchHelpWindow, tool_window, name) {
+RKHelpSearchWindow::RKHelpSearchWindow (QWidget *parent, bool tool_window, const char *name) : RKMDIWindow (parent, SearchHelpWindow, tool_window, name) {
RK_TRACE (APP);
setPart (new RKDummyPart (0, this));
initializeActivationSignals ();
Modified: trunk/rkward/rkward/windows/rkhelpsearchwindow.h
===================================================================
--- trunk/rkward/rkward/windows/rkhelpsearchwindow.h 2007-09-17 15:09:41 UTC (rev 1959)
+++ trunk/rkward/rkward/windows/rkhelpsearchwindow.h 2007-09-17 15:15:10 UTC (rev 1960)
@@ -37,7 +37,7 @@
class RKHelpSearchWindow : public RKMDIWindow, public RCommandReceiver {
Q_OBJECT
public:
- RKHelpSearchWindow (QWidget *parent, bool tool_window, char *name=0);
+ RKHelpSearchWindow (QWidget *parent, bool tool_window, const char *name=0);
~RKHelpSearchWindow ();
void rCommandDone (RCommand *command);
/** small convenience function to get context help for RKCommandEditorWindow and RKConsole.
Modified: trunk/rkward/rkward/windows/rkmdiwindow.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkmdiwindow.cpp 2007-09-17 15:09:41 UTC (rev 1959)
+++ trunk/rkward/rkward/windows/rkmdiwindow.cpp 2007-09-17 15:15:10 UTC (rev 1960)
@@ -28,7 +28,7 @@
#include "../debug.h"
-RKMDIWindow::RKMDIWindow (QWidget *parent, int type, bool tool_window, char *name) : QFrame (parent, name) {
+RKMDIWindow::RKMDIWindow (QWidget *parent, int type, bool tool_window, const char *name) : QFrame (parent, name) {
RK_TRACE (APP);
if (tool_window) {
Modified: trunk/rkward/rkward/windows/rkmdiwindow.h
===================================================================
--- trunk/rkward/rkward/windows/rkmdiwindow.h 2007-09-17 15:09:41 UTC (rev 1959)
+++ trunk/rkward/rkward/windows/rkmdiwindow.h 2007-09-17 15:15:10 UTC (rev 1960)
@@ -57,7 +57,7 @@
/** constructor
@param parent parent widget
@param type Type of window (see RKMDIWindow::Type).*/
- RKMDIWindow (QWidget *parent, int type, bool tool_window=false, char *name=0);
+ RKMDIWindow (QWidget *parent, int type, bool tool_window=false, const char *name=0);
virtual ~RKMDIWindow ();
public:
/** @returns true, if the window's document was modified (and would need to be saved) */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list