[rkward-cvs] SF.net SVN: rkward: [1532] trunk/rkward/rkward/windows

tfry at users.sourceforge.net tfry at users.sourceforge.net
Fri Mar 2 18:17:30 UTC 2007


Revision: 1532
          http://svn.sourceforge.net/rkward/?rev=1532&view=rev
Author:   tfry
Date:     2007-03-02 10:17:29 -0800 (Fri, 02 Mar 2007)

Log Message:
-----------
Also call setPart in RKCaughtX11Window

Modified Paths:
--------------
    trunk/rkward/rkward/windows/rkwindowcatcher.cpp
    trunk/rkward/rkward/windows/rkwindowcatcher.h

Modified: trunk/rkward/rkward/windows/rkwindowcatcher.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkwindowcatcher.cpp	2007-03-02 17:27:17 UTC (rev 1531)
+++ trunk/rkward/rkward/windows/rkwindowcatcher.cpp	2007-03-02 18:17:29 UTC (rev 1532)
@@ -91,7 +91,7 @@
 	RKCaughtX11Window::device_number = device_number;
 
 	error_dialog = new RKRErrorDialog (i18n ("An error occurred"), i18n ("An error occurred"));
-	part = new RKCaughtX11WindowPart (this);
+	setPart (new RKCaughtX11WindowPart (this));
 	initializeActivationSignals ();
 	setFocusPolicy (QWidget::ClickFocus);
 
@@ -126,12 +126,6 @@
 	error_dialog->autoDeleteWhenDone ();
 }
 
-KParts::Part *RKCaughtX11Window::getPart () {
-	RK_TRACE (MISC);
-
-	return part;
-}
-
 void RKCaughtX11Window::prepareToBeAttached () {
 	RK_TRACE (MISC);
 

Modified: trunk/rkward/rkward/windows/rkwindowcatcher.h
===================================================================
--- trunk/rkward/rkward/windows/rkwindowcatcher.h	2007-03-02 17:27:17 UTC (rev 1531)
+++ trunk/rkward/rkward/windows/rkwindowcatcher.h	2007-03-02 18:17:29 UTC (rev 1532)
@@ -92,8 +92,6 @@
 	RKCaughtX11Window (WId window_to_embed, int device_number);
 /** dtor */
 	~RKCaughtX11Window ();
-
-	KParts::Part *getPart ();
 /** TODO */
 	QString getDescription () { return "x11:unimplemented"; };
 /** TODO? */
@@ -124,7 +122,6 @@
 	friend class RKCaughtX11WindowPart;	// needs access to the actions
 	int device_number;
 	WId embedded;
-	RKCaughtX11WindowPart *part;
 	QVBox *xembed_container;
 	QScrollView *scroll_widget;
 	QVBox *box_widget;


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