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

List:       kde-commits
Subject:    playground/pim/kblogger
From:       Antonio Aloisio <antonio.aloisio () gmail ! com>
Date:       2008-05-11 0:18:26
Message-ID: 1210465106.723980.26918.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 806323 by aloisio:

Rename KBloggerLinkDialog class to LinkDialog

 M  +4 -2      TODO  
 M  +1 -1      src/composer/composereditor.cpp  
 M  +2 -2      src/composer/composereditor.h  
 M  +8 -8      src/composer/linkdialog.cpp  
 M  +4 -4      src/composer/linkdialog.h  


--- trunk/playground/pim/kblogger/TODO #806322:806323
@@ -66,10 +66,12 @@
      MediaList                    |                  |           O
      Itemsmanager                 |                  |           O
      VisualEditor                 |                  |           O
-     LinkDialog                   |                  |           O
-     HtmlExp                      |                  |           O
+     LinkDialog                   |                  |           B
+     HtmlExp                      |                  |           A
 ...
 O -> not done yet,
+W -> Work in progress (code is not in shape yet).
+A -> Alpha Quality (code is in shape generally, memory management required (?))
 B -> Beta Quality (code is in shape generally, memory management done)
 R -> Release Quality (code is tested and done),
 X -> complete (all done, docs added)
--- trunk/playground/pim/kblogger/src/composer/composereditor.cpp #806322:806323
@@ -342,7 +342,7 @@
     ancorHref = currentCharFormat.anchorHref();
     kDebug() << "ComposerEditor::showLinkDialog()" << selectedText << endl;
 
-    mLinkDialog = new KBloggerLinkDialog( this );
+    mLinkDialog = new LinkDialog( this );
     connect ( mLinkDialog, SIGNAL ( addLink ( const QString&, const QString& ) ),
               this, SLOT ( addLink ( const QString&, const QString& ) ) );    
 
--- trunk/playground/pim/kblogger/src/composer/composereditor.h #806322:806323
@@ -33,7 +33,7 @@
 namespace KBlogger
 {
 
-class KBloggerLinkDialog;
+class LinkDialog;
 class Composer;
 class Media;
 class VisualEditor;
@@ -93,7 +93,7 @@
     KHTMLPart *mPreviewBrowser;
     WeblogStyleGetter *mWeblogStyleGetter;
 
-    KBloggerLinkDialog *mLinkDialog;
+    LinkDialog *mLinkDialog;
 
     QString mBlogname;
     bool mMediaEnabled;
--- trunk/playground/pim/kblogger/src/composer/linkdialog.cpp #806322:806323
@@ -30,8 +30,8 @@
 
 namespace KBlogger
 {
-/** KBloggerLinkDialog Class **/
-KBloggerLinkDialog::KBloggerLinkDialog( QWidget *parent):KDialog(parent){
+/** LinkDialog Class **/
+LinkDialog::LinkDialog( QWidget *parent):KDialog(parent){
     kDebug();
     mLinkWidget= new LinkWidget(this);
     setCaption( "Add Link" );
@@ -50,17 +50,17 @@
     show();
 }
 
-KBloggerLinkDialog::~KBloggerLinkDialog(){
+LinkDialog::~LinkDialog(){
     kDebug();
     delete mLinkWidget;
 }
 /*
-void KBloggerLinkDialog::slotEnableButtonOk( bool state ){
+void LinkDialog::slotEnableButtonOk( bool state ){
     kDebug();
     enableButtonOk(state);
 }
 
-void KBloggerLinkDialog::slotTargetFilled(QString target){
+void LinkDialog::slotTargetFilled(QString target){
     kDebug();
     bool state=false;
     if (! mLinkWidget->nameLineEdit->text().isEmpty() ){
@@ -70,7 +70,7 @@
     
 }
 
-void KBloggerLinkDialog::slotNameFilled(QString name){
+void LinkDialog::slotNameFilled(QString name){
     kDebug();
     bool state=false;
     if (! mLinkWidget->targetLineEdit->text().isEmpty() ){
@@ -79,14 +79,14 @@
     enableButtonOk(state);
 }
 */
-void KBloggerLinkDialog::setLinkName( const QString &linkName )
+void LinkDialog::setLinkName( const QString &linkName )
 {
     if ( linkName.isEmpty() )
         mLinkWidget->nameLineEdit->clear();
     else
         mLinkWidget->nameLineEdit->setText(linkName);//sanitize(linkName));
 }
-void KBloggerLinkDialog::slotAccept()
+void LinkDialog::slotAccept()
 {
     kDebug();
     if ( mLinkWidget->targetLineEdit->text().isEmpty() || 
--- trunk/playground/pim/kblogger/src/composer/linkdialog.h #806322:806323
@@ -33,13 +33,13 @@
 {
 class LinkWidget;
 
-/** Class KBloggerLinkDialog **/
-class KBloggerLinkDialog: public KDialog
+/** Class LinkDialog **/
+class LinkDialog: public KDialog
 {
     Q_OBJECT
 public:
-    KBloggerLinkDialog( QWidget *parent = 0 );
-    virtual ~KBloggerLinkDialog();
+    LinkDialog( QWidget *parent = 0 );
+    virtual ~LinkDialog();
     void setLinkName(const QString &linkName);
 
 Q_SIGNALS:
[prev in list] [next in list] [prev in thread] [next in thread] 

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