[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdelibs/kio/bookmarks
From: Ismail Donmez <ismail () kde ! org ! tr>
Date: 2005-03-17 21:03:42
Message-ID: 200503172303.42833.ismail () kde ! org ! tr
[Download RAW message or body]
Copy paste error here?
> + if( e->provides("text/plain") )
> + {
> + //kdDebug(7043) << "KBookmarkDrag::decode text/plain" << endl;
> + QString s;
> + if(QTextDrag::decode( e, s ))
> + {
> +
> + QStringList listDragURLs = QStringList::split(QChar('\n'),
> s);
> + QStringList::ConstIterator it = listDragURLs.begin();
> + QStringList::ConstIterator end = listDragURLs.end();
> + for( ; it!=end; ++it)
> + {
> + //kdDebug(7043)<<"KBookmarkDrag::decode
> string"<<(*it)<<endl;
> + bookmarks.append( KBookmark::standaloneBookmark(
> KURL(*it).prettyURL(), KURL(*it)));
> + }
> + return bookmarks;
> + }
> + }
--- Same as above
> + if( e->provides("text/plain") )
> + {
> + //kdDebug(7043) << "KBookmarkDrag::decode text/plain" << endl;
> + QString s;
> + if(QTextDrag::decode( e, s ))
> + {
> +
> + QStringList listDragURLs = QStringList::split(QChar('\n'),
> s);
> + QStringList::ConstIterator it = listDragURLs.begin();
> + QStringList::ConstIterator end = listDragURLs.end();
> + for( ; it!=end; ++it)
> + {
> + //kdDebug(7043)<<"KBookmarkDrag::decode
> string"<<(*it)<<endl;
> + bookmarks.append( KBookmark::standaloneBookmark(
> KURL(*it).prettyURL(), KURL(*it)));
> + }
> + return bookmarks;
> + }
> + }
> bookmarks.append( KBookmark() );
> return bookmarks;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic