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

List:       kde-commits
Subject:    kdenetwork/kopete/protocols/yahoo
From:       Casey Allen Shobe <cshobe () osss ! net>
Date:       2004-07-13 15:02:03
Message-ID: 20040713150203.7B7F916AF9 () office ! kde ! org
[Download RAW message or body]

CVS commit by cshobe: 

Make register button work.


  M +9 -0      yahooeditaccount.cpp   1.18
  M +3 -0      yahooeditaccount.h   1.6


--- kdenetwork/kopete/protocols/yahoo/yahooeditaccount.cpp  #1.17:1.18
@@ -22,4 +22,5 @@
 #include <qgroupbox.h>
 #include <qlayout.h>
+#include <qpushbutton.h>
 
 // KDE Includes
@@ -27,4 +28,5 @@
 #include <kdebug.h>
 #include <kmessagebox.h>
+#include <krun.h>
 
 // Kopete Includes
@@ -54,4 +56,6 @@ YahooEditAccount::YahooEditAccount(Yahoo
         }
 
+        QObject::connect(buttonRegister, SIGNAL(clicked()), this, SLOT(slotOpenRegister()));
+
         show();
 }
@@ -90,4 +94,9 @@ KopeteAccount *YahooEditAccount::apply()
 }
 
+void YahooEditAccount::slotOpenRegister()
+{
+    KRun::runURL( "http://edit.yahoo.com/config/eval_register?new=1", "text/html" );
+}
+
 #include "yahooeditaccount.moc"
 

--- kdenetwork/kopete/protocols/yahoo/yahooeditaccount.h  #1.5:1.6
@@ -48,4 +48,7 @@ public:
 public slots:
         virtual KopeteAccount *apply();
+
+private slots:
+        void slotOpenRegister();
 };
 


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

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