[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 125905] specify function as an argument
From:       Fredrik Edemar <f_edemar () linux ! se>
Date:       2006-07-01 11:07:11
Message-ID: 20060701110711.4544.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=125905         
f_edemar linux se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From f_edemar linux se  2006-07-01 13:07 -------
SVN commit 556714 by fedemar:

* Feature: specify function as an argument at starup.
* Equation Editor: use a Close button instead of Ok.

FEATURE: 125905


 M  +1 -1      equationedit.cpp  
 M  +5 -2      kmplot.cpp  


--- trunk/KDE/kdeedu/kmplot/kmplot/equationedit.cpp #556713:556714
 @ -286,7 +286,7  @
 	setMainWidget( m_widget );
 	
 	setCaption( i18n("Equation Editor") );
-	setButtons( Ok );
+	setButtons( Close );
 	
 	QFont font;
 	font.setPointSizeF( font.pointSizeF() * 1.4 );
--- trunk/KDE/kdeedu/kmplot/kmplot/kmplot.cpp #556713:556714
 @ -115,8 +115,11  @
 	
 	show();
 
-        new KmplotAdaptor(this);
-        QDBus::sessionBus().registerObject("/kmplot", this);
+    new KmplotAdaptor(this);
+    QDBus::sessionBus().registerObject("/kmplot", this);
+
+    QString f = args->getOption("function");
+    QDBusReply<bool> reply = QDBusInterfacePtr( QDBus::sessionBus().baseService(), \
"/parser", "org.kde.kmplot.Parser")->call( QDBusAbstractInterface::UseEventLoop, \
"addFunction", f, "" );  }
 
 KmPlot::~KmPlot()


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic