[Nepomuk] Problem with nepomuksearch

Alessandro Sivieri alessandro.sivieri at gmail.com
Fri Dec 4 16:26:04 CET 2009


2009/12/4 Sebastian Trueg <trueg at kde.org>

> hm. not sure. Then we would have two ways to do not-equal. But then
> again we also have two ways to do >=:
>  ComparisonTem::GreaterOrEqual
> and
>  NegationTerm( ComparisonTerm::Smaller )
> right?
>
>
Yes... well, I don't know, the first place I searched for making a "not
equal" term was the ComparisonTerm, so I asked if it makes sense to add it
:)


>
> How about TypeTerm:
>
>        class NEPOMUKQUERY_EXPORT TypeTerm : public Term
>        {
>        public:
>            TypeTerm( const Term& term );
>            TypeTerm( const Nepomuk::Types::Class& type );
>            ~TypeTerm();
>            TypeTerm& operator=( const TypeTerm& term );
>            Nepomuk::Types::Class type() const;
>            void setType( const Nepomuk::Types::Class& type );
>        };
> ?
> Idea for a better name?
>
>
RdfTypeTerm, ClassTerm... but they are not that better :)

-- 
Sivieri Alessandro
alessandro.sivieri at gmail.com
http://www.chimera-bellerofonte.eu/
http://www.poul.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/nepomuk/attachments/20091204/a1a14885/attachment.htm 


More information about the Nepomuk mailing list