Qtc.Enums.Base

Documentation

data CQListLong a #

withQListELongResult :: IO (Ptr (TQListLong ())) -> IO [Int] #

data QEnum a #

Constructors

QEnum a 
Instances
QEnumC a => Eq (QEnum a) # 
Instance details

Defined in Qtc.Enums.Base

Methods

(==) :: QEnum a -> QEnum a -> Bool

(/=) :: QEnum a -> QEnum a -> Bool

QEnumC a => Ord (QEnum a) # 
Instance details

Defined in Qtc.Enums.Base

Methods

compare :: QEnum a -> QEnum a -> Ordering

(<) :: QEnum a -> QEnum a -> Bool

(<=) :: QEnum a -> QEnum a -> Bool

(>) :: QEnum a -> QEnum a -> Bool

(>=) :: QEnum a -> QEnum a -> Bool

max :: QEnum a -> QEnum a -> QEnum a

min :: QEnum a -> QEnum a -> QEnum a

QEnumC a => Show (QEnum a) # 
Instance details

Defined in Qtc.Enums.Base

Methods

showsPrec :: Int -> QEnum a -> ShowS

show :: QEnum a -> String

showList :: [QEnum a] -> ShowS

Qcs (QObject c -> Call -> IO ()) # 
Instance details

Defined in Qtc.Enums.Core.QMetaObject

Methods

connectSlot :: QObject a -> String -> QObject b -> String -> (QObject c -> Call -> IO ()) -> IO () #

qEnum_toInt :: QEnumC a => QEnum a -> Int #

qEnum_fromInt :: QEnumC a => Int -> QEnum a #

withQEnumList :: QEnumC a => [QEnum a] -> (CInt -> Ptr CLong -> IO b) -> IO b #

withQEnumResult :: QEnumC a => IO CLong -> IO (QEnum a) #

withQEnumListResult :: QEnumC a => IO (Ptr (TQListLong ())) -> IO [QEnum a] #

data QFlags a #

Constructors

QFlags a 
Instances
QFlagsC a => Eq (QFlags a) # 
Instance details

Defined in Qtc.Enums.Base

Methods

(==) :: QFlags a -> QFlags a -> Bool

(/=) :: QFlags a -> QFlags a -> Bool

(QFlagsC a, Eq (QFlags a), Show (QFlags a)) => Num (QFlags a) # 
Instance details

Defined in Qtc.Enums.Base

Methods

(+) :: QFlags a -> QFlags a -> QFlags a

(-) :: QFlags a -> QFlags a -> QFlags a

(*) :: QFlags a -> QFlags a -> QFlags a

negate :: QFlags a -> QFlags a

abs :: QFlags a -> QFlags a

signum :: QFlags a -> QFlags a

fromInteger :: Integer -> QFlags a

QFlagsC a => Show (QFlags a) # 
Instance details

Defined in Qtc.Enums.Base

Methods

showsPrec :: Int -> QFlags a -> ShowS

show :: QFlags a -> String

showList :: [QFlags a] -> ShowS

(QFlagsC a, Eq (QFlags a), Show (QFlags a), Num (QFlags a)) => Bits (QFlags a) # 
Instance details

Defined in Qtc.Enums.Base

Methods

(.&.) :: QFlags a -> QFlags a -> QFlags a

(.|.) :: QFlags a -> QFlags a -> QFlags a

xor :: QFlags a -> QFlags a -> QFlags a

complement :: QFlags a -> QFlags a

shift :: QFlags a -> Int -> QFlags a

rotate :: QFlags a -> Int -> QFlags a

zeroBits :: QFlags a

bit :: Int -> QFlags a

setBit :: QFlags a -> Int -> QFlags a

clearBit :: QFlags a -> Int -> QFlags a

complementBit :: QFlags a -> Int -> QFlags a

testBit :: QFlags a -> Int -> Bool

bitSizeMaybe :: QFlags a -> Maybe Int

bitSize :: QFlags a -> Int

isSigned :: QFlags a -> Bool

shiftL :: QFlags a -> Int -> QFlags a

unsafeShiftL :: QFlags a -> Int -> QFlags a

shiftR :: QFlags a -> Int -> QFlags a

unsafeShiftR :: QFlags a -> Int -> QFlags a

rotateL :: QFlags a -> Int -> QFlags a

rotateR :: QFlags a -> Int -> QFlags a

popCount :: QFlags a -> Int

qFlags_toInt :: QFlagsC a => QFlags a -> Int #

qFlags_fromInt :: QFlagsC a => Int -> QFlags a #

withQFlagsList :: QFlagsC a => [QFlags a] -> (CInt -> Ptr CLong -> IO b) -> IO b #

withQFlagsResult :: QFlagsC a => IO CLong -> IO (QFlags a) #

withQFlagsListResult :: QFlagsC a => IO [Int] -> IO [QFlags a] #