diff --git a/ChangeLog b/ChangeLog index 999f783..5421a56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -314,7 +314,7 @@ fixed emums in templates/annotated ------------------------------------------------------------------------ r61 | (jim) | 2005-03-06 21:30:48 -0800 (Sun, 06 Mar 2005) | 2 lines -fixed enums in examples, templates; fixed KIconThemeDir ref +fixed enums in examples, templates; fixed TDEIconThemeDir ref ------------------------------------------------------------------------ r60 | (jim) | 2005-03-05 00:57:44 -0800 (Sat, 05 Mar 2005) | 2 lines diff --git a/ChangeLog.2001-4 b/ChangeLog.2001-4 index b411229..817d92e 100644 --- a/ChangeLog.2001-4 +++ b/ChangeLog.2001-4 @@ -112,7 +112,7 @@ in sip/kde30.tdecore.sip 2002/8/8 13:10:00 jim Cleaned up top-level sip files for all versions; -fixed bug with KIconThemeDir (never released); +fixed bug with TDEIconThemeDir (never released); cleaned up docs (released as 3.3.2) 2002/7/22 13:29:00 jim diff --git a/Changelog b/Changelog index 8181917..5cc7ad3 100644 --- a/Changelog +++ b/Changelog @@ -491,7 +491,7 @@ fixed emums in templates/annotated ------------------------------------------------------------------------ r61 | (no author) | 2005-03-06 21:30:48 -0800 (Sun, 06 Mar 2005) | 2 lines -fixed enums in examples, templates; fixed KIconThemeDir ref +fixed enums in examples, templates; fixed TDEIconThemeDir ref ------------------------------------------------------------------------ r60 | (no author) | 2005-03-05 00:57:44 -0800 (Sat, 05 Mar 2005) | 2 lines diff --git a/doc/classref/allclasses.html b/doc/classref/allclasses.html index 7c97797..78e6ac2 100644 --- a/doc/classref/allclasses.html +++ b/doc/classref/allclasses.html @@ -469,16 +469,16 @@ KIO.UDSAtom KIO KIPC -KIcon -KIconButton -KIconCanvas -KIconDialog -KIconEffect -KIconLoader -KIconTheme -KIconView -KIconViewItem -KIconViewSearchLine +TDEIcon +TDEIconButton +TDEIconCanvas +TDEIconDialog +TDEIconEffect +TDEIconLoader +TDEIconTheme +TDEIconView +TDEIconViewItem +TDEIconViewSearchLine KImageEffect KImageFilePreview KImageIO diff --git a/doc/classref/kio/KDEDesktopMimeType.html b/doc/classref/kio/KDEDesktopMimeType.html index e809fb5..6e49933 100644 --- a/doc/classref/kio/KDEDesktopMimeType.html +++ b/doc/classref/kio/KDEDesktopMimeType.html @@ -106,7 +106,7 @@
returns (TQPixmap)
- + @@ -115,7 +115,7 @@
  • pixmap (group, force_size, state, path)
  • ArgumentTypeDefault
    _urlKURL
    _groupKIcon.Group
    _groupTDEIcon.Group
    _force_sizeint0
    _stateint0
    _pathTQString0
    returns (TQPixmap)
    - + diff --git a/doc/classref/kio/KMimeType.html b/doc/classref/kio/KMimeType.html index daf8b85..5aa32e1 100644 --- a/doc/classref/kio/KMimeType.html +++ b/doc/classref/kio/KMimeType.html @@ -241,7 +241,7 @@
  • pixmap (group, force_size = 0, state = 0, path = 0)
  • ArgumentTypeDefault
    groupKIcon.Group
    groupTDEIcon.Group
    force_sizeint
    stateint
    pathTQString
    returns (TQPixmap)
    - + @@ -251,19 +251,19 @@
    ArgumentTypeDefault
    groupKIcon.Group
    groupTDEIcon.Group
    force_sizeint0
    stateint0
    pathTQString0
    returns (TQPixmap)
    - +
    ArgumentTypeDefault
    _urlKURL
    _groupKIcon.Group
    _groupTDEIcon.Group
    _force_sizeint0
    _stateint0
    _pathTQString0

    -
  • pixmapForURL (_url, _mode = 0, _group = KIcon .Desktop, _force_size = 0, _state = 0, _path = 0) +
  • pixmapForURL (_url, _mode = 0, _group = TDEIcon .Desktop, _force_size = 0, _state = 0, _path = 0)
    returns (TQPixmap)
    static
    - + diff --git a/doc/classref/kio/KService.html b/doc/classref/kio/KService.html index 0dc6530..d51564a 100644 --- a/doc/classref/kio/KService.html +++ b/doc/classref/kio/KService.html @@ -191,7 +191,7 @@
  • pixmap (_group, _force_size = 0, _state = 0, _path = 0)
  • ArgumentTypeDefault
    _urlKURL
    _modemode_t0
    _groupKIcon.GroupKIcon .Desktop
    _groupTDEIcon.GroupTDEIcon .Desktop
    _force_sizeint0
    _stateint0
    _pathTQString0
    returns (TQPixmap)
    - + diff --git a/doc/classref/tdecore/KIcon.html b/doc/classref/tdecore/KIcon.html index 6438ad7..8e2f85b 100644 --- a/doc/classref/tdecore/KIcon.html +++ b/doc/classref/tdecore/KIcon.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KIcon + class TDEIcon @@ -12,7 +12,7 @@
    ArgumentTypeDefault
    _groupKIcon.Group
    _groupTDEIcon.Group
    _force_sizeint0
    _stateint0
    _pathTQString0
    -

    class KIcon


    +

    class TDEIcon


    @@ -28,7 +28,7 @@ - + @@ -49,8 +49,8 @@ }
  • Type = {Fixed, Scalable, Threshold }

    methods

      -
    • KIcon () -
  • tdecore
    ClassKIconTDEIcon
    Inherits
    +
  • TDEIcon () +
  • returns a KIcon instance
    returns a TDEIcon instance

  • isValid ()
    diff --git a/doc/classref/tdecore/KIconEffect.html b/doc/classref/tdecore/KIconEffect.html index 96f8827..a052e2e 100644 --- a/doc/classref/tdecore/KIconEffect.html +++ b/doc/classref/tdecore/KIconEffect.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KIconEffect + class TDEIconEffect @@ -12,7 +12,7 @@
    returns (bool)
    -

    class KIconEffect


    +

    class TDEIconEffect


    @@ -28,7 +28,7 @@ - + @@ -39,8 +39,8 @@ }
  • Effects = {NoEffect, ToGray, Colorize, ToGamma, DeSaturate, LastEffect }

    methods

      -
    • KIconEffect () -
  • tdecore
    ClassKIconEffectTDEIconEffect
    Inherits
    +
  • TDEIconEffect () +
  • returns a KIconEffect instance
    returns a TDEIconEffect instance

  • apply (src, group, state)
    diff --git a/doc/classref/tdecore/KIconLoader.html b/doc/classref/tdecore/KIconLoader.html index 015cda4..7f6c43a 100644 --- a/doc/classref/tdecore/KIconLoader.html +++ b/doc/classref/tdecore/KIconLoader.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KIconLoader + class TDEIconLoader @@ -12,7 +12,7 @@
    returns (TQImage)
    - +
    -

    class KIconLoader


    +

    class TDEIconLoader


    @@ -28,15 +28,15 @@ - +
    tdecore
    ClassKIconLoaderTDEIconLoader
    Inherits

    methods

      -
    • KIconLoader (appname = TQString .null, dirs = 0) -
      +
    • TDEIconLoader (appname = TQString .null, dirs = 0) +
    • returns a KIconLoader instance
      returns a TDEIconLoader instance
      @@ -55,13 +55,13 @@
    • alphaBlending (group)
    • ArgumentTypeDefault
      appnameTQStringTQString .null
      dirsTDEStandardDirs0
      returns (bool)
      - +
      ArgumentTypeDefault
      groupKIcon.Group
      groupTDEIcon.Group

    • currentSize (group)
      returns (int)
      - +
      ArgumentTypeDefault
      groupKIcon.Group
      groupTDEIcon.Group

    • enableDelayedIconSetLoading (enable) @@ -76,7 +76,7 @@
    • In versions KDE 3.1.0 and above only

    • iconEffect () -
      +
      returns (KIconEffect)
      returns (TDEIconEffect)

    • iconPath (name, group_or_size, canReturnNull = 0)
      @@ -94,17 +94,17 @@
      returns (TQString)
      returns (TQStringList)
      - +
      ArgumentTypeDefault
      nameTQString
      groupKIcon.Group
      groupTDEIcon.Group
      sizeint0

      -
    • loadIcon (name, group, size = 0, state = KIcon .DefaultState, path_store = 0, canReturnNull = 0) +
    • loadIcon (name, group, size = 0, state = TDEIcon .DefaultState, path_store = 0, canReturnNull = 0)
      returns (TQPixmap)
      - + - +
      ArgumentTypeDefault
      nameTQString
      groupKIcon.Group
      groupTDEIcon.Group
      sizeint0
      stateintKIcon .DefaultState
      stateintTDEIcon .DefaultState
      path_storeTQString0
      canReturnNullbool0
      @@ -114,7 +114,7 @@
      In versions KDE 3.5.0 and above only
      - + @@ -125,7 +125,7 @@
      ArgumentTypeDefault
      nameTQString
      groupKIcon.Group
      groupTDEIcon.Group
      sizeint
      canReturnNullbool
      immediateExistenceCheckbool
      In versions KDE 3.1.0 and above only
      - +
      ArgumentTypeDefault
      nameTQString
      groupKIcon.Group
      groupTDEIcon.Group
      sizeint
      canReturnNullbool
      @@ -134,7 +134,7 @@
      returns (TQIconSet)
      - +
      ArgumentTypeDefault
      nameTQString
      groupKIcon.Group
      groupTDEIcon.Group
      sizeint0

    • @@ -142,7 +142,7 @@
      returns (TQMovie)
      - +
      ArgumentTypeDefault
      nameTQString
      groupKIcon.Group
      groupTDEIcon.Group
      sizeint0

      @@ -150,22 +150,22 @@
      returns (TQString)
      - +
      ArgumentTypeDefault
      nameTQString
      groupKIcon.Group
      groupTDEIcon.Group
      sizeint0

      -
    • queryIcons (group_or_size, context = KIcon .Any) +
    • queryIcons (group_or_size, context = TDEIcon .Any)
      returns (TQStringList)
      - +
      ArgumentTypeDefault
      group_or_sizeint
      contextKIcon.ContextKIcon .Any
      contextTDEIcon.ContextTDEIcon .Any

    • -
    • queryIconsByContext (group_or_size, context = KIcon .Any) +
    • queryIconsByContext (group_or_size, context = TDEIcon .Any)
      returns (TQStringList)
      - +
      ArgumentTypeDefault
      group_or_sizeint
      contextKIcon.ContextKIcon .Any
      contextTDEIcon.ContextTDEIcon .Any

    • queryIconsByDir (iconsDir) @@ -183,7 +183,7 @@

    • theme () - - +
      +
      returns (KIconTheme)
      returns (TDEIconTheme)

    • unknown ()
      diff --git a/doc/classref/tdecore/KIconTheme.html b/doc/classref/tdecore/KIconTheme.html index 68d5fae..f01a979 100644 --- a/doc/classref/tdecore/KIconTheme.html +++ b/doc/classref/tdecore/KIconTheme.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KIconTheme + class TDEIconTheme @@ -12,7 +12,7 @@
      returns (TQPixmap)
      -

      class KIconTheme


      +

      class TDEIconTheme


      @@ -28,15 +28,15 @@ - +
      tdecore
      ClassKIconThemeTDEIconTheme
      Inherits

      methods

        -
      • KIconTheme (name, appName = TQString .null) -
        +
      • TDEIconTheme (name, appName = TQString .null) +
      • returns a KIconTheme instance
        returns a TDEIconTheme instance
        @@ -49,7 +49,7 @@
      • defaultSize (group)
      • ArgumentTypeDefault
        nameTQString
        appNameTQStringTQString .null
        returns (int)
        - +
        ArgumentTypeDefault
        groupKIcon.Group
        groupTDEIcon.Group

      • defaultThemeName () @@ -70,11 +70,11 @@
        returns (TQString)

      • iconPath (name, size, match) -
        +
        returns (KIcon)
        returns (TDEIcon)
        - +
        ArgumentTypeDefault
        nameTQString
        sizeint
        matchKIcon.MatchType
        matchTDEIcon.MatchType

      • inherits () @@ -100,24 +100,24 @@
      • name ()
        returns (TQString)

      • -
      • queryIcons (size, context = KIcon .Any) +
      • queryIcons (size, context = TDEIcon .Any)
        returns (TQStringList)
        - +
        ArgumentTypeDefault
        sizeint
        contextKIcon.ContextKIcon .Any
        contextTDEIcon.ContextTDEIcon .Any

      • -
      • queryIconsByContext (size, context = KIcon .Any) +
      • queryIconsByContext (size, context = TDEIcon .Any)
        returns (TQStringList)
        - +
        ArgumentTypeDefault
        sizeint
        contextKIcon.ContextKIcon .Any
        contextTDEIcon.ContextTDEIcon .Any

      • querySizes (group)
        returns (TQValueList)
        - +
        ArgumentTypeDefault
        groupKIcon.Group
        groupTDEIcon.Group

      • reconfigure () diff --git a/doc/classref/tdecore/KMimeSourceFactory.html b/doc/classref/tdecore/KMimeSourceFactory.html index 1630ecc..e4a403a 100644 --- a/doc/classref/tdecore/KMimeSourceFactory.html +++ b/doc/classref/tdecore/KMimeSourceFactory.html @@ -38,7 +38,7 @@
      • KMimeSourceFactory (loader = TDEGlobal .iconLoader ())
        returns a KMimeSourceFactory instance
        - +
        ArgumentTypeDefault
        loaderKIconLoaderTDEGlobal .iconLoader ()
        loaderTDEIconLoaderTDEGlobal .iconLoader ()

      • makeAbsolute (abs_or_rel_name, context) diff --git a/doc/classref/tdecore/TDEGlobal.html b/doc/classref/tdecore/TDEGlobal.html index 261b047..fabf22f 100644 --- a/doc/classref/tdecore/TDEGlobal.html +++ b/doc/classref/tdecore/TDEGlobal.html @@ -56,7 +56,7 @@
      • static

      • iconLoader () -
        +
        returns (KIconLoader)
        returns (TDEIconLoader)
        static

      • instance () diff --git a/doc/classref/tdecore/TDEInstance.html b/doc/classref/tdecore/TDEInstance.html index 9d84f67..9a0cf8a 100644 --- a/doc/classref/tdecore/TDEInstance.html +++ b/doc/classref/tdecore/TDEInstance.html @@ -75,7 +75,7 @@
        returns (TDEStandardDirs)

      • iconLoader () -
        +
        returns (KIconLoader)
        returns (TDEIconLoader)

      • instanceName ()
        diff --git a/doc/classref/tdecore/index.html b/doc/classref/tdecore/index.html index 04cc7b0..2154985 100644 --- a/doc/classref/tdecore/index.html +++ b/doc/classref/tdecore/index.html @@ -95,10 +95,10 @@ - - - - + + + + diff --git a/doc/classref/tdecore/tdecore-globals.html b/doc/classref/tdecore/tdecore-globals.html index 7e50d41..0fb5320 100644 --- a/doc/classref/tdecore/tdecore-globals.html +++ b/doc/classref/tdecore/tdecore-globals.html @@ -24,12 +24,12 @@
        returns (TQCString)
        TDEGlobalSettings.KMouseSettings
        KIDNA
        KIPC
        KIcon
        KIconEffect
        KIconLoader
        KIconTheme
        TDEIcon
        TDEIconEffect
        TDEIconLoader
        TDEIconTheme
        TDEInstance
        KKey
        KKeyNative

        global methods

          -
        • BarIcon (name, size = 0, state = KIcon .DefaultState, instance = TDEGlobal .instance ()) +
        • BarIcon (name, size = 0, state = TDEIcon .DefaultState, instance = TDEGlobal .instance ())
          returns (TQPixmap)
          - +
          ArgumentTypeDefault
          nameTQString
          sizeint0
          stateintKIcon .DefaultState
          stateintTDEIcon .DefaultState
          instanceTDEInstanceTDEGlobal .instance ()

        • @@ -48,12 +48,12 @@
        instanceTDEInstanceTDEGlobal .instance ()

      • -
      • DesktopIcon (name, size = 0, state = KIcon .DefaultState, instance = TDEGlobal .instance ()) +
      • DesktopIcon (name, size = 0, state = TDEIcon .DefaultState, instance = TDEGlobal .instance ())
        returns (TQPixmap)
        - +
        ArgumentTypeDefault
        nameTQString
        sizeint0
        stateintKIcon .DefaultState
        stateintTDEIcon .DefaultState
        instanceTDEInstanceTDEGlobal .instance ()

      • @@ -75,16 +75,16 @@
      • IconSize (group, instance = TDEGlobal .instance ())
        returns (int)
        - +
        ArgumentTypeDefault
        groupKIcon.Group
        groupTDEIcon.Group
        instanceTDEInstanceTDEGlobal .instance ()

      • -
      • MainBarIcon (name, size = 0, state = KIcon .DefaultState, instance = TDEGlobal .instance ()) +
      • MainBarIcon (name, size = 0, state = TDEIcon .DefaultState, instance = TDEGlobal .instance ())
        returns (TQPixmap)
        - +
        ArgumentTypeDefault
        nameTQString
        sizeint0
        stateintKIcon .DefaultState
        stateintTDEIcon .DefaultState
        instanceTDEInstanceTDEGlobal .instance ()

      • @@ -103,12 +103,12 @@
        instanceTDEInstanceTDEGlobal .instance ()

      • -
      • SmallIcon (name, size = 0, state = KIcon .DefaultState, instance = TDEGlobal .instance ()) +
      • SmallIcon (name, size = 0, state = TDEIcon .DefaultState, instance = TDEGlobal .instance ())
        returns (TQPixmap)
        - +
        ArgumentTypeDefault
        nameTQString
        sizeint0
        stateintKIcon .DefaultState
        stateintTDEIcon .DefaultState
        instanceTDEInstanceTDEGlobal .instance ()

      • @@ -127,11 +127,11 @@
      instanceTDEInstanceTDEGlobal .instance ()

    • -
    • UserIcon (name, state = KIcon .DefaultState, instance = TDEGlobal .instance ()) +
    • UserIcon (name, state = TDEIcon .DefaultState, instance = TDEGlobal .instance ())
      returns (TQPixmap)
      - +
      ArgumentTypeDefault
      nameTQString
      stateintKIcon .DefaultState
      stateintTDEIcon .DefaultState
      instanceTDEInstanceTDEGlobal .instance ()

    • diff --git a/doc/classref/tdefile/KFileIconView.html b/doc/classref/tdefile/KFileIconView.html index 4a9f10e..ad9e606 100644 --- a/doc/classref/tdefile/KFileIconView.html +++ b/doc/classref/tdefile/KFileIconView.html @@ -31,7 +31,7 @@
      KFileIconView
      InheritsKIconView, KFileView TDEIconView, KFileView

      methods

        diff --git a/doc/classref/tdefile/KFileIconViewItem.html b/doc/classref/tdefile/KFileIconViewItem.html index 428a28f..4f30e6b 100644 --- a/doc/classref/tdefile/KFileIconViewItem.html +++ b/doc/classref/tdefile/KFileIconViewItem.html @@ -31,7 +31,7 @@
    KFileIconViewItem
    InheritsKIconViewItem TDEIconViewItem

    methods

      diff --git a/doc/classref/tdefile/KIconButton.html b/doc/classref/tdefile/KIconButton.html index 920e558..744b34d 100644 --- a/doc/classref/tdefile/KIconButton.html +++ b/doc/classref/tdefile/KIconButton.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KIconButton + class TDEIconButton @@ -12,7 +12,7 @@
      -

      class KIconButton


      +

      class TDEIconButton


      @@ -28,24 +28,24 @@ - +
      tdefile
      ClassKIconButtonTDEIconButton
      Inherits TQPushButton

      methods

        -
      • KIconButton (parent = 0, name = 0) -
        +
      • TDEIconButton (parent = 0, name = 0) +
      • returns a KIconButton instance
        returns a TDEIconButton instance
        ArgumentTypeDefault
        parentTQWidget0
        namechar0

        -
      • KIconButton (loader, parent, name = 0) -
        +
      • TDEIconButton (loader, parent, name = 0) +
      • returns a KIconButton instance
        returns a TDEIconButton instance
        - +
        ArgumentTypeDefault
        loaderKIconLoader
        loaderTDEIconLoader
        parentTQWidget
        namechar0
        @@ -77,8 +77,8 @@
      • setIconType (group, context, user = 0)
        returns nothing
        - - + +
        ArgumentTypeDefault
        groupKIcon.Group
        contextKIcon.Context
        groupTDEIcon.Group
        contextTDEIcon.Context
        userbool0

      • diff --git a/doc/classref/tdefile/KIconCanvas.html b/doc/classref/tdefile/KIconCanvas.html index a67ed4a..4f96265 100644 --- a/doc/classref/tdefile/KIconCanvas.html +++ b/doc/classref/tdefile/KIconCanvas.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KIconCanvas + class TDEIconCanvas @@ -12,7 +12,7 @@
        -

        class KIconCanvas


        +

        class TDEIconCanvas


        @@ -28,15 +28,15 @@ - + - +
        tdefile
        ClassKIconCanvasTDEIconCanvas
        InheritsKIconView TDEIconView

        methods

          -
        • KIconCanvas (parent = 0, name = 0) -
          +
        • TDEIconCanvas (parent = 0, name = 0) +
        • returns a KIconCanvas instance
          returns a TDEIconCanvas instance
          diff --git a/doc/classref/tdefile/KIconDialog.html b/doc/classref/tdefile/KIconDialog.html index 4988574..8442681 100644 --- a/doc/classref/tdefile/KIconDialog.html +++ b/doc/classref/tdefile/KIconDialog.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KIconDialog + class TDEIconDialog @@ -12,7 +12,7 @@
          ArgumentTypeDefault
          parentTQWidget0
          namechar0
          -

          class KIconDialog


          +

          class TDEIconDialog


          @@ -28,34 +28,34 @@ - +
          tdefile
          ClassKIconDialogTDEIconDialog
          Inherits KDialogBase

          methods

            -
          • KIconDialog (parent = 0, name = 0) -
            +
          • TDEIconDialog (parent = 0, name = 0) +
          • returns a KIconDialog instance
            returns a TDEIconDialog instance
            ArgumentTypeDefault
            parentTQWidget0
            namechar0

            -
          • KIconDialog (loader, parent = 0, name = 0) -
            +
          • TDEIconDialog (loader, parent = 0, name = 0) +
          • returns a KIconDialog instance
            returns a TDEIconDialog instance
            - +
            ArgumentTypeDefault
            loaderKIconLoader
            loaderTDEIconLoader
            parentTQWidget0
            namechar0

            -
          • getIcon (group = KIcon .Desktop, context = KIcon .Application, strictIconSize = 0, iconSize = 0, user = 0, parent = 0, caption = TQString .null) +
          • getIcon (group = TDEIcon .Desktop, context = TDEIcon .Application, strictIconSize = 0, iconSize = 0, user = 0, parent = 0, caption = TQString .null)
            returns (TQString)
            static
            - - + + @@ -76,11 +76,11 @@
          • openDialog ()
          • ArgumentTypeDefault
            groupKIcon.GroupKIcon .Desktop
            contextKIcon.ContextKIcon .Application
            groupTDEIcon.GroupTDEIcon .Desktop
            contextTDEIcon.ContextTDEIcon .Application
            strictIconSizebool0
            iconSizeint0
            userbool0
            returns (TQString)

            -
          • selectIcon (group = KIcon .Desktop, context = KIcon .Application, user = 0) +
          • selectIcon (group = TDEIcon .Desktop, context = TDEIcon .Application, user = 0)
            returns (TQString)
            - - + +
            ArgumentTypeDefault
            groupKIcon.GroupKIcon .Desktop
            contextKIcon.ContextKIcon .Application
            groupTDEIcon.GroupTDEIcon .Desktop
            contextTDEIcon.ContextTDEIcon .Application
            userbool0

          • @@ -103,11 +103,11 @@
            bbool

          • -
          • setup (group, context = KIcon .Application, strictIconSize = 0, iconSize = 0, user = 0) +
          • setup (group, context = TDEIcon .Application, strictIconSize = 0, iconSize = 0, user = 0)
            returns nothing
            - - + + @@ -117,8 +117,8 @@
            ArgumentTypeDefault
            groupKIcon.Group
            contextKIcon.ContextKIcon .Application
            groupTDEIcon.Group
            contextTDEIcon.ContextTDEIcon .Application
            strictIconSizebool0
            iconSizeint0
            userbool0
            returns nothing
            In versions KDE 3.3.0 and above only
            - - + + diff --git a/doc/classref/tdefile/KURLBar.html b/doc/classref/tdefile/KURLBar.html index 4ca5b97..414ffb4 100644 --- a/doc/classref/tdefile/KURLBar.html +++ b/doc/classref/tdefile/KURLBar.html @@ -71,24 +71,24 @@
          • iconSize ()
          • ArgumentTypeDefault
            groupKIcon.Group
            contextKIcon.Context
            groupTDEIcon.Group
            contextTDEIcon.Context
            strictIconSizebool
            iconSizeint
            userbool
            returns (int)

            -
          • insertDynamicItem (url, description, icon = TQString .null, group = KIcon .Panel) +
          • insertDynamicItem (url, description, icon = TQString .null, group = TDEIcon .Panel)
            returns (KURLBarItem)
            In versions KDE 3.2.0 and above only
            - +
            ArgumentTypeDefault
            urlKURL
            descriptionTQString
            iconTQStringTQString .null
            groupKIcon.GroupKIcon .Panel
            groupTDEIcon.GroupTDEIcon .Panel

          • -
          • insertItem (url, description, applicationLocal = 1, icon = TQString .null, group = KIcon .Panel) +
          • insertItem (url, description, applicationLocal = 1, icon = TQString .null, group = TDEIcon .Panel)
            returns (KURLBarItem)
            - +
            ArgumentTypeDefault
            urlKURL
            descriptionTQString
            applicationLocalbool1
            iconTQStringTQString .null
            groupKIcon.GroupKIcon .Panel
            groupTDEIcon.GroupTDEIcon .Panel

          • isImmutable () diff --git a/doc/classref/tdefile/KURLBarItem.html b/doc/classref/tdefile/KURLBarItem.html index 5bcc92c..4f833ed 100644 --- a/doc/classref/tdefile/KURLBarItem.html +++ b/doc/classref/tdefile/KURLBarItem.html @@ -35,7 +35,7 @@
          • methods

              -
            • KURLBarItem (parent, url, persistent, description = TQString .null, icon = TQString .null, group = KIcon .Panel) +
            • KURLBarItem (parent, url, persistent, description = TQString .null, icon = TQString .null, group = TDEIcon .Panel)
              returns a KURLBarItem instance
              In versions KDE 3.2.0 and above only
              @@ -44,17 +44,17 @@ - +
              ArgumentTypeDefault
              persistentbool
              descriptionTQStringTQString .null
              iconTQStringTQString .null
              groupKIcon.GroupKIcon .Panel
              groupTDEIcon.GroupTDEIcon .Panel

            • -
            • KURLBarItem (parent, url, description = TQString .null, icon = TQString .null, group = KIcon .Panel) +
            • KURLBarItem (parent, url, description = TQString .null, icon = TQString .null, group = TDEIcon .Panel)
              returns a KURLBarItem instance
              - +
              ArgumentTypeDefault
              parentKURLBar
              urlKURL
              descriptionTQStringTQString .null
              iconTQStringTQString .null
              groupKIcon.GroupKIcon .Panel
              groupTDEIcon.GroupTDEIcon .Panel

            • applicationLocal () @@ -73,7 +73,7 @@
              returns (TQString)

            • iconGroup () -
              +
              returns (KIcon.Group)
              returns (TDEIcon.Group)

            • isPersistent ()
              @@ -100,11 +100,11 @@
              returns (bool)
              descTQString

            • -
            • setIcon (icon, group = KIcon .Panel) +
            • setIcon (icon, group = TDEIcon .Panel)
              returns nothing
              - +
              ArgumentTypeDefault
              iconTQString
              groupKIcon.GroupKIcon .Panel
              groupTDEIcon.GroupTDEIcon .Panel

            • setToolTip (tip) diff --git a/doc/classref/tdefile/KURLBarItemDialog.html b/doc/classref/tdefile/KURLBarItemDialog.html index 0317498..5a7e87f 100644 --- a/doc/classref/tdefile/KURLBarItemDialog.html +++ b/doc/classref/tdefile/KURLBarItemDialog.html @@ -35,7 +35,7 @@
            • methods

                -
              • KURLBarItemDialog (allowGlobal, url, description, icon, appLocal = 1, iconSize = KIcon .SizeMedium, parent = 0, name = 0) +
              • KURLBarItemDialog (allowGlobal, url, description, icon, appLocal = 1, iconSize = TDEIcon .SizeMedium, parent = 0, name = 0) - - - + + +
                returns a KURLBarItemDialog instance
                @@ -43,7 +43,7 @@ - +
                ArgumentTypeDefault
                allowGlobalbool
                descriptionTQString
                iconTQString
                appLocalbool1
                iconSizeintKIcon .SizeMedium
                iconSizeintTDEIcon .SizeMedium
                parentTQWidget0
                namechar0
                diff --git a/doc/classref/tdefile/index.html b/doc/classref/tdefile/index.html index 78cb3c9..ef63b60 100644 --- a/doc/classref/tdefile/index.html +++ b/doc/classref/tdefile/index.html @@ -60,9 +60,9 @@
                KFileTreeViewToolTip
                KFileView
                KFileViewSignaler
                KIconButton
                KIconCanvas
                KIconDialog
                TDEIconButton
                TDEIconCanvas
                TDEIconDialog
                KImageFilePreview
                KNotify
            diff --git a/doc/classref/tdeui/KGuiItem.html b/doc/classref/tdeui/KGuiItem.html index 0684647..352555d 100644 --- a/doc/classref/tdeui/KGuiItem.html +++ b/doc/classref/tdeui/KGuiItem.html @@ -74,7 +74,7 @@
          • iconSet (a0, size = 0, instance = TDEGlobal .instance ())
          • returns (TQIconSet)
            - +
            ArgumentTypeDefault
            a0KIcon.Group
            a0TDEIcon.Group
            sizeint0
            instanceTDEInstanceTDEGlobal .instance ()
            diff --git a/doc/classref/tdeui/KIconView.html b/doc/classref/tdeui/KIconView.html index 782f61a..5511a33 100644 --- a/doc/classref/tdeui/KIconView.html +++ b/doc/classref/tdeui/KIconView.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KIconView + class TDEIconView @@ -12,7 +12,7 @@
            -

            class KIconView


            +

            class TDEIconView


            @@ -28,7 +28,7 @@ - + @@ -38,8 +38,8 @@
          • Mode = {Execute, Select }

            methods

              -
            • KIconView (parent = 0, name = 0, f = 0) -
          • tdeui
            ClassKIconViewTDEIconView
            Inherits TQIconView
            +
          • TDEIconView (parent = 0, name = 0, f = 0) +
          • returns a KIconView instance
            returns a TDEIconView instance
            @@ -165,7 +165,7 @@
          • setMode (m)
          • ArgumentTypeDefault
            parentTQWidget0
            namechar0
            returns nothing
            - +
            ArgumentTypeDefault
            mKIconView.Mode
            mTDEIconView.Mode

          • slotAutoSelect () diff --git a/doc/classref/tdeui/KIconViewItem.html b/doc/classref/tdeui/KIconViewItem.html index 700f66a..d55f800 100644 --- a/doc/classref/tdeui/KIconViewItem.html +++ b/doc/classref/tdeui/KIconViewItem.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KIconViewItem + class TDEIconViewItem @@ -12,7 +12,7 @@
            -

            class KIconViewItem


            +

            class TDEIconViewItem


            @@ -28,51 +28,51 @@ - +
            tdeui
            ClassKIconViewItemTDEIconViewItem
            Inherits TQIconViewItem

            methods

              -
            • KIconViewItem (parent) -
              +
            • TDEIconViewItem (parent) +
            • returns a KIconViewItem instance
              returns a TDEIconViewItem instance
              ArgumentTypeDefault
              parentTQIconView

              -
            • KIconViewItem (parent, after) -
              +
            • TDEIconViewItem (parent, after) +
            • returns a KIconViewItem instance
              returns a TDEIconViewItem instance
              ArgumentTypeDefault
              parentTQIconView
              afterTQIconViewItem

              -
            • KIconViewItem (parent, text) -
              +
            • TDEIconViewItem (parent, text) +
            • returns a KIconViewItem instance
              returns a TDEIconViewItem instance
              ArgumentTypeDefault
              parentTQIconView
              textTQString

              -
            • KIconViewItem (parent, after, text) -
              +
            • TDEIconViewItem (parent, after, text) +
            • returns a KIconViewItem instance
              returns a TDEIconViewItem instance
              ArgumentTypeDefault
              parentTQIconView
              afterTQIconViewItem
              textTQString

              -
            • KIconViewItem (parent, text, icon) -
              +
            • TDEIconViewItem (parent, text, icon) +
            • returns a KIconViewItem instance
              returns a TDEIconViewItem instance
              ArgumentTypeDefault
              parentTQIconView
              textTQString
              iconTQPixmap

              -
            • KIconViewItem (parent, after, text, icon) -
              +
            • TDEIconViewItem (parent, after, text, icon) +
            • returns a KIconViewItem instance
              returns a TDEIconViewItem instance
              @@ -80,16 +80,16 @@
              ArgumentTypeDefault
              parentTQIconView
              afterTQIconViewItem
              iconTQPixmap

              -
            • KIconViewItem (parent, text, picture) -
              +
            • TDEIconViewItem (parent, text, picture) +
            • returns a KIconViewItem instance
              returns a TDEIconViewItem instance
              ArgumentTypeDefault
              parentTQIconView
              textTQString
              pictureTQPicture

              -
            • KIconViewItem (parent, after, text, picture) -
              +
            • TDEIconViewItem (parent, after, text, picture) +
            • returns a KIconViewItem instance
              returns a TDEIconViewItem instance
              diff --git a/doc/classref/tdeui/KIconViewSearchLine.html b/doc/classref/tdeui/KIconViewSearchLine.html index 5858869..95f004f 100644 --- a/doc/classref/tdeui/KIconViewSearchLine.html +++ b/doc/classref/tdeui/KIconViewSearchLine.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KIconViewSearchLine + class TDEIconViewSearchLine @@ -12,7 +12,7 @@
              ArgumentTypeDefault
              parentTQIconView
              afterTQIconViewItem
              -

              class KIconViewSearchLine


              +

              class TDEIconViewSearchLine


              @@ -28,15 +28,15 @@ - +
              tdeui
              ClassKIconViewSearchLineTDEIconViewSearchLine
              Inherits KLineEdit

              methods

                -
              • KIconViewSearchLine (parent = 0, iconView = 0, name = 0) -
                +
              • TDEIconViewSearchLine (parent = 0, iconView = 0, name = 0) +
              • returns a KIconViewSearchLine instance
                returns a TDEIconViewSearchLine instance
                In versions KDE 3.4.0 and above only
                @@ -44,8 +44,8 @@
                ArgumentTypeDefault
                parentTQWidget0
                namechar0

                -
              • KIconViewSearchLine (parent, name) -
                +
              • TDEIconViewSearchLine (parent, name) +
              • returns a KIconViewSearchLine instance
                - - - + + + diff --git a/examples/menudemo.py b/examples/menudemo.py index c0eb60d..c99e613 100644 --- a/examples/menudemo.py +++ b/examples/menudemo.py @@ -43,7 +43,7 @@ import sys from qt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet -from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, KIcon, KIconLoader, TDEShortcut +from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEIcon, TDEIconLoader, TDEShortcut from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEToggleAction, TDEFontSizeAction, TDEFontAction, TDERadioAction,\ TDEActionSeparator, TDEActionMenu, KWindowListMenu @@ -97,8 +97,8 @@ class MainWin (TDEMainWindow): self.fontSizeAction = TDEFontSizeAction ("Font Size") # Need to assign an icon to actionMenu below - icons = KIconLoader () - iconSet = TQIconSet (icons.loadIcon ("viewmag", KIcon.Toolbar)) + icons = TDEIconLoader () + iconSet = TQIconSet (icons.loadIcon ("viewmag", TDEIcon.Toolbar)) # Nested menus using TDEActions (also nested on toolbar) self.actionMenu = TDEActionMenu ("Action Menu") diff --git a/examples/pytde-sampler/misc/passivepop.py b/examples/pytde-sampler/misc/passivepop.py index fc37573..3619fc4 100644 --- a/examples/pytde-sampler/misc/passivepop.py +++ b/examples/pytde-sampler/misc/passivepop.py @@ -1,6 +1,6 @@ from qt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQLabel, SIGNAL from tdeui import KPassivePopup, KTextEdit, KPushButton -from tdecore import TDEGlobal, KIcon +from tdecore import TDEGlobal, TDEIcon iconName = 'popup' labelText = 'KPassivePopup' @@ -35,8 +35,8 @@ class MainFrame(TQFrame): pos = pop.pos() pos.setY(pos.y() + pop.height() + 10) - ico = TDEGlobal.instance().iconLoader().loadIcon('help', KIcon.NoGroup, - KIcon.SizeSmall) + ico = TDEGlobal.instance().iconLoader().loadIcon('help', TDEIcon.NoGroup, + TDEIcon.SizeSmall) pop = KPassivePopup.message('Hello', 'With Icons', ico, self) pop.setTimeout(3000) pop.show() diff --git a/examples/pytde-sampler/qt_widgets/CONTRIB b/examples/pytde-sampler/qt_widgets/CONTRIB index 59209d8..6603cb5 100644 --- a/examples/pytde-sampler/qt_widgets/CONTRIB +++ b/examples/pytde-sampler/qt_widgets/CONTRIB @@ -53,10 +53,10 @@ tdecore,TDEGlobalAccel,,, tdecore,TDEGlobalSettings,,, tdecore,KIDNA,,, tdecore,KIPC,,, -tdecore,KIcon,,, -tdecore,KIconEffect,,, -tdecore,KIconLoader,,, -tdecore,KIconTheme,,, +tdecore,TDEIcon,,, +tdecore,TDEIconEffect,,, +tdecore,TDEIconLoader,,, +tdecore,TDEIconTheme,,, tdecore,TDEInstance,,, tdecore,KKey,,, tdecore,KKeyNative,,, @@ -254,8 +254,8 @@ tdeui,KGuiItem,,, tdeui,KHSSelector,,, tdeui,KHelpMenu,,, tdeui,KHistoryCombo,,, -tdeui,KIconView,,, -tdeui,KIconViewItem,,, +tdeui,TDEIconView,,, +tdeui,TDEIconViewItem,,, tdeui,KInputDialog,,, tdeui,KIntNumInput,,, tdeui,KIntSpinBox,,, @@ -372,9 +372,9 @@ tdefile,KFileTreeViewItem,,, tdefile,KFileTreeViewToolTip,,, tdefile,KFileView,,, tdefile,KFileViewSignaler,,, -tdefile,KIconButton,,, -tdefile,KIconCanvas,,, -tdefile,KIconDialog,,, +tdefile,TDEIconButton,,, +tdefile,TDEIconCanvas,,, +tdefile,TDEIconDialog,,, tdefile,KImageFilePreview,,, tdefile,KNotify,,, tdefile,KNotifyDialog,,, diff --git a/examples/pytde-sampler/sampler.py b/examples/pytde-sampler/sampler.py index 30e1828..eb485ac 100755 --- a/examples/pytde-sampler/sampler.py +++ b/examples/pytde-sampler/sampler.py @@ -15,7 +15,7 @@ from qt import TQVBoxLayout, TQLabel, TQPixmap, TQSplitter, TQFrame, TQDialog from qt import TQSizePolicy, TQHBoxLayout, TQSpacerItem, TQPushButton from tdecore import i18n, TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal -from tdecore import TDEGlobalSettings, KWin, KWinModule, KURL, KIcon +from tdecore import TDEGlobalSettings, KWin, KWinModule, KURL, TDEIcon from tdeui import KComboBox, TDEListView, TDEListViewItem, KTabWidget, KTextEdit from tdeui import TDEMainWindow, KPushButton, KSplashScreen, KStdAction @@ -52,14 +52,14 @@ def appConfig(group=None): return config -def getIcon(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): +def getIcon(name, group=TDEIcon.NoGroup, size=TDEIcon.SizeSmall): """ returns a kde icon by name """ return TDEGlobal.instance().iconLoader().loadIcon(name, group, size) -def getIconSet(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): +def getIconSet(name, group=TDEIcon.NoGroup, size=TDEIcon.SizeSmall): """ returns a kde icon set by name """ diff --git a/examples/systray.py b/examples/systray.py index cc7a40a..0eeb6b7 100644 --- a/examples/systray.py +++ b/examples/systray.py @@ -30,7 +30,7 @@ copyright holder. import sys from qt import TQLabel -from tdecore import TDEApplication, KIcon, KIconLoader +from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdeui import TDEMainWindow, KSystemTray class MainWin (TDEMainWindow): @@ -42,10 +42,10 @@ class MainWin (TDEMainWindow): appName = "template" app = TDEApplication (sys.argv, appName) mainWindow = MainWin (None, "main window") -icons = KIconLoader () +icons = TDEIconLoader () systray = KSystemTray (mainWindow) -systray.setPixmap (icons.loadIcon("stop", KIcon.Desktop)) +systray.setPixmap (icons.loadIcon("stop", TDEIcon.Desktop)) systray.show () #mainWindow.show() diff --git a/examples/uimodules/uiwidgets.py b/examples/uimodules/uiwidgets.py index c6f4df4..a56fc92 100644 --- a/examples/uimodules/uiwidgets.py +++ b/examples/uimodules/uiwidgets.py @@ -678,7 +678,7 @@ def widTDEFontChooser (parent): def widKHSSelector (parent): parent.currentPageObj = Page4 (parent) -def widKIconView (parent): +def widTDEIconView (parent): parent.currentPageObj = PageNotImpl (parent) def widKJanusWidget (parent): diff --git a/examples/uiqxembed.py b/examples/uiqxembed.py index 487016b..981ceb4 100644 --- a/examples/uiqxembed.py +++ b/examples/uiqxembed.py @@ -6,7 +6,7 @@ import sys from qt import TQIconSet, TQProcess, TQTimer, SIGNAL, SLOT -from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal, KIcon +from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal, TDEIcon from tdecore import KWin, KWinModule from tdeui import KComboBox, TDEMainWindow, KPushButton, QXEmbed @@ -19,13 +19,13 @@ qxembedexample.KPushButton = KPushButton from qxembedexample import QXEmbedExample -def getIcon(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): +def getIcon(name, group=TDEIcon.NoGroup, size=TDEIcon.SizeSmall): """ returns a kde icon by name """ return TDEGlobal.instance().iconLoader().loadIcon(name, group, size) -def getIconSet(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): +def getIconSet(name, group=TDEIcon.NoGroup, size=TDEIcon.SizeSmall): """ returns a kde icon set by name """ diff --git a/examples/uisampler.py b/examples/uisampler.py index a166116..98437ee 100644 --- a/examples/uisampler.py +++ b/examples/uisampler.py @@ -49,7 +49,7 @@ listItems = {"Dialogs": "KEditListBox": [],\ "TDEFontChooser": [],\ "KHSSelector": [],\ - "KIconView": [],\ + "TDEIconView": [],\ "KJanusWidget": ["KJanusWidget::IconListBox"],\ "KKeyChooser": [],\ "KLed": [],\ diff --git a/examples/uitdemdi.py b/examples/uitdemdi.py index 7177a16..dfcaa74 100644 --- a/examples/uitdemdi.py +++ b/examples/uitdemdi.py @@ -29,7 +29,7 @@ import os import sys from qt import SIGNAL, TQVBoxLayout, TQLabel -from tdecore import i18n, TDEAboutData, TDEApplication, TDEGlobal, KIcon, TDECmdLineArgs +from tdecore import i18n, TDEAboutData, TDEApplication, TDEGlobal, TDEIcon, TDECmdLineArgs from tdeui import KDockWidget, TDEListBox, KStdAction try: @@ -44,7 +44,7 @@ sigChildViewActivated = SIGNAL('viewActivated(KMdiChildView *)') sigBoxSelectionChanged = SIGNAL('selectionChanged(TQListBoxItem *)') -def getIcon(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): +def getIcon(name, group=TDEIcon.NoGroup, size=TDEIcon.SizeSmall): """ returns a kde icon by name """ @@ -132,7 +132,7 @@ class KmdiExample(KMdiMainFrm): lbl = i18n('Label for a view with an icon named %s' % text) lbl = TQLabel(lbl, view) pxm = TQLabel('', view) - pxm.setPixmap(getIcon(icon, size=KIcon.SizeLarge)) + pxm.setPixmap(getIcon(icon, size=TDEIcon.SizeLarge)) self.addWindow(view) self.mainToolWidget.insertItem(label) diff --git a/examples/xmlmenudemo.py b/examples/xmlmenudemo.py index e50f934..f4cfdb1 100644 --- a/examples/xmlmenudemo.py +++ b/examples/xmlmenudemo.py @@ -43,7 +43,7 @@ import sys, os from qt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet -from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, KIcon, KIconLoader, TDEShortcut, TDEGlobal +from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEIcon, TDEIconLoader, TDEShortcut, TDEGlobal from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEToggleAction, TDEFontSizeAction, TDEFontAction, TDERadioAction,\ TDEActionSeparator, TDEActionMenu, KWindowListMenu, KXMLGUIClient, TDEActionCollection @@ -133,8 +133,8 @@ class MainWin (TDEMainWindow): self.fontSizeAction.setComboWidth (75) # Need to assign an icon to actionMenu below - icons = KIconLoader () - iconSet = TQIconSet (icons.loadIcon ("viewmag", KIcon.Toolbar)) + icons = TDEIconLoader () + iconSet = TQIconSet (icons.loadIcon ("viewmag", TDEIcon.Toolbar)) # Nested menus using TDEActions (also nested on toolbar) self.actionMenu = TDEActionMenu ("Action Menu", acts, "actionMenu") diff --git a/extra/kde300/kicontheme.h b/extra/kde300/kicontheme.h index bf813b0..cf0dea5 100644 --- a/extra/kde300/kicontheme.h +++ b/extra/kde300/kicontheme.h @@ -12,28 +12,28 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include #include class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -44,7 +44,7 @@ public: enum Type { Fixed, Scalable, Threshold }; enum MatchType { MatchExact, MatchBest }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too enum Group { NoGroup=-1, Desktop=0, FirstGroup=Desktop, Toolbar, MainToolbar, Small, Panel, LastGroup, User }; enum StdSizes { SizeSmall=16, SizeMedium=32, SizeLarge=48 }; @@ -78,24 +78,24 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. */ -class KIconTheme +class TDEIconTheme { public: /** * Load an icon theme by name. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -155,38 +155,38 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @ref #KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @ref #TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -207,8 +207,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde301/kicontheme.h b/extra/kde301/kicontheme.h index bf813b0..cf0dea5 100644 --- a/extra/kde301/kicontheme.h +++ b/extra/kde301/kicontheme.h @@ -12,28 +12,28 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include #include class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -44,7 +44,7 @@ public: enum Type { Fixed, Scalable, Threshold }; enum MatchType { MatchExact, MatchBest }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too enum Group { NoGroup=-1, Desktop=0, FirstGroup=Desktop, Toolbar, MainToolbar, Small, Panel, LastGroup, User }; enum StdSizes { SizeSmall=16, SizeMedium=32, SizeLarge=48 }; @@ -78,24 +78,24 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. */ -class KIconTheme +class TDEIconTheme { public: /** * Load an icon theme by name. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -155,38 +155,38 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @ref #KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @ref #TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -207,8 +207,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde303/kicontheme.h b/extra/kde303/kicontheme.h index bf813b0..cf0dea5 100644 --- a/extra/kde303/kicontheme.h +++ b/extra/kde303/kicontheme.h @@ -12,28 +12,28 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include #include class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -44,7 +44,7 @@ public: enum Type { Fixed, Scalable, Threshold }; enum MatchType { MatchExact, MatchBest }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too enum Group { NoGroup=-1, Desktop=0, FirstGroup=Desktop, Toolbar, MainToolbar, Small, Panel, LastGroup, User }; enum StdSizes { SizeSmall=16, SizeMedium=32, SizeLarge=48 }; @@ -78,24 +78,24 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. */ -class KIconTheme +class TDEIconTheme { public: /** * Load an icon theme by name. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -155,38 +155,38 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @ref #KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @ref #TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -207,8 +207,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde310/kicontheme.h b/extra/kde310/kicontheme.h index eb358e7..8bbe834 100644 --- a/extra/kde310/kicontheme.h +++ b/extra/kde310/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include #include class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde311/kicontheme.h b/extra/kde311/kicontheme.h index eb358e7..8bbe834 100644 --- a/extra/kde311/kicontheme.h +++ b/extra/kde311/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include #include class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde312/kicontheme.h b/extra/kde312/kicontheme.h index eb358e7..8bbe834 100644 --- a/extra/kde312/kicontheme.h +++ b/extra/kde312/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include #include class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde313/kicontheme.h b/extra/kde313/kicontheme.h index eb358e7..8bbe834 100644 --- a/extra/kde313/kicontheme.h +++ b/extra/kde313/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include #include class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde314/kicontheme.h b/extra/kde314/kicontheme.h index eb358e7..8bbe834 100644 --- a/extra/kde314/kicontheme.h +++ b/extra/kde314/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include #include class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde315/kicontheme.h b/extra/kde315/kicontheme.h index cfd6eed..36b21db 100644 --- a/extra/kde315/kicontheme.h +++ b/extra/kde315/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include #include class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde320/kicontheme.h b/extra/kde320/kicontheme.h index 880375a..88e26b1 100644 --- a/extra/kde320/kicontheme.h +++ b/extra/kde320/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include #include class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -144,18 +144,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -164,8 +164,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -252,17 +252,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -270,7 +270,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -278,20 +278,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -324,8 +324,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde321/kicontheme.h b/extra/kde321/kicontheme.h index 880375a..88e26b1 100644 --- a/extra/kde321/kicontheme.h +++ b/extra/kde321/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include #include class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -144,18 +144,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -164,8 +164,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -252,17 +252,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -270,7 +270,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -278,20 +278,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -324,8 +324,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde322/kicontheme.h b/extra/kde322/kicontheme.h index 880375a..88e26b1 100644 --- a/extra/kde322/kicontheme.h +++ b/extra/kde322/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include #include class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -144,18 +144,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -164,8 +164,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -252,17 +252,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -270,7 +270,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -278,20 +278,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -324,8 +324,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde323/kicontheme.h b/extra/kde323/kicontheme.h index 880375a..88e26b1 100644 --- a/extra/kde323/kicontheme.h +++ b/extra/kde323/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include #include class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -144,18 +144,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -164,8 +164,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -252,17 +252,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -270,7 +270,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -278,20 +278,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -324,8 +324,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde330/kicontheme.h b/extra/kde330/kicontheme.h index d1ac559..1bd639a 100644 --- a/extra/kde330/kicontheme.h +++ b/extra/kde330/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include #include class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -146,18 +146,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -166,8 +166,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -254,17 +254,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -272,7 +272,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -280,20 +280,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -326,8 +326,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde331/kicontheme.h b/extra/kde331/kicontheme.h index 913bea4..8fb5cf8 100644 --- a/extra/kde331/kicontheme.h +++ b/extra/kde331/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include #include class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -148,18 +148,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -168,8 +168,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -256,17 +256,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -274,7 +274,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -282,20 +282,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -328,8 +328,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde332/kicontheme.h b/extra/kde332/kicontheme.h index 8031d39..11b9c9d 100644 --- a/extra/kde332/kicontheme.h +++ b/extra/kde332/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include #include class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -148,18 +148,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -168,8 +168,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -256,17 +256,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -274,7 +274,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -282,20 +282,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -328,8 +328,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; -// KIconThemePrivate *d; +// TQPtrList mDirs; +// TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde340/kicontheme.h b/extra/kde340/kicontheme.h index fac3fdb..1345d00 100644 --- a/extra/kde340/kicontheme.h +++ b/extra/kde340/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; -// KIconThemePrivate *d; +// TQPtrList mDirs; +// TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde341/kicontheme.h b/extra/kde341/kicontheme.h index fac3fdb..1345d00 100644 --- a/extra/kde341/kicontheme.h +++ b/extra/kde341/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; -// KIconThemePrivate *d; +// TQPtrList mDirs; +// TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde342/kicontheme.h b/extra/kde342/kicontheme.h index 9c94b4c..43a53d9 100644 --- a/extra/kde342/kicontheme.h +++ b/extra/kde342/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; -// KIconThemePrivate *d; +// TQPtrList mDirs; +// TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde343/kicontheme.h b/extra/kde343/kicontheme.h index 9c94b4c..43a53d9 100644 --- a/extra/kde343/kicontheme.h +++ b/extra/kde343/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; -// KIconThemePrivate *d; +// TQPtrList mDirs; +// TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde350/kicontheme.h b/extra/kde350/kicontheme.h index 793f4a6..6c5bd06 100644 --- a/extra/kde350/kicontheme.h +++ b/extra/kde350/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde351/kicontheme.h b/extra/kde351/kicontheme.h index 0bd7e96..2146a08 100644 --- a/extra/kde351/kicontheme.h +++ b/extra/kde351/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde352/kicontheme.h b/extra/kde352/kicontheme.h index 0bd7e96..2146a08 100644 --- a/extra/kde352/kicontheme.h +++ b/extra/kde352/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde353/kicontheme.h b/extra/kde353/kicontheme.h index 0bd7e96..2146a08 100644 --- a/extra/kde353/kicontheme.h +++ b/extra/kde353/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include #include @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList querySizes(KIcon::Group group) const; + TQValueList querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList mDirs; - KIconThemePrivate *d; +// TQPtrList mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/sip/kio/kmimetype.sip b/sip/kio/kmimetype.sip index 803c70c..279933b 100644 --- a/sip/kio/kmimetype.sip +++ b/sip/kio/kmimetype.sip @@ -43,9 +43,9 @@ public: KMimeType (TQDataStream&, int); virtual TQString icon (const TQString&, bool) const; virtual TQString icon (const KURL&, bool) const; - virtual TQPixmap pixmap (KIcon::Group, int = 0, int = 0, TQString* = 0) const; - virtual TQPixmap pixmap (const KURL&, KIcon::Group, int = 0, int = 0, TQString* = 0) const; - static TQPixmap pixmapForURL (const KURL&, mode_t = 0, KIcon::Group = KIcon ::Desktop , int = 0, int = 0, TQString* = 0); + virtual TQPixmap pixmap (TDEIcon::Group, int = 0, int = 0, TQString* = 0) const; + virtual TQPixmap pixmap (const KURL&, TDEIcon::Group, int = 0, int = 0, TQString* = 0) const; + static TQPixmap pixmapForURL (const KURL&, mode_t = 0, TDEIcon::Group = TDEIcon ::Desktop , int = 0, int = 0, TQString* = 0); static TQString iconForURL (const KURL&, mode_t = 0); static TQString favIconForURL (const KURL&); TQString comment () const; @@ -188,7 +188,7 @@ public: KDEDesktopMimeType (TQDataStream&, int); virtual TQString icon (const TQString&, bool) const; virtual TQString icon (const KURL&, bool) const; - virtual TQPixmap pixmap (const KURL&, KIcon::Group, int = 0, int = 0, TQString* = 0) const; + virtual TQPixmap pixmap (const KURL&, TDEIcon::Group, int = 0, int = 0, TQString* = 0) const; virtual TQString comment (const TQString&, bool) const; virtual TQString comment (const KURL&, bool) const; static TQValueList builtinServices (const KURL&); @@ -208,7 +208,7 @@ public: static pid_t run (const KURL&, bool); protected: - virtual TQPixmap pixmap (KIcon::Group, int, int, TQString*) const; + virtual TQPixmap pixmap (TDEIcon::Group, int, int, TQString*) const; static pid_t runFSDevice (const KURL&, const KSimpleConfig&); static pid_t runApplication (const KURL&, const TQString&); static pid_t runLink (const KURL&, const KSimpleConfig&); diff --git a/sip/kio/kservice.sip b/sip/kio/kservice.sip index 07799a6..c26cbaa 100644 --- a/sip/kio/kservice.sip +++ b/sip/kio/kservice.sip @@ -46,7 +46,7 @@ public: TQString library () const; TQString init () const; TQString icon () const; - TQPixmap pixmap (KIcon::Group, int = 0, int = 0, TQString* = 0) const; + TQPixmap pixmap (TDEIcon::Group, int = 0, int = 0, TQString* = 0) const; bool terminal () const; TQString terminalOptions () const; bool substituteUid () const; diff --git a/sip/tdecore/kglobal.sip b/sip/tdecore/kglobal.sip index e05454b..645ca68 100644 --- a/sip/tdecore/kglobal.sip +++ b/sip/tdecore/kglobal.sip @@ -40,7 +40,7 @@ public: static TDESharedConfig* sharedConfig (); %End - static KIconLoader* iconLoader (); + static TDEIconLoader* iconLoader (); static TDELocale* locale (); static KCharsets* charsets (); static const TQString& staticQString (const char*); diff --git a/sip/tdecore/kiconeffect.sip b/sip/tdecore/kiconeffect.sip index b6982f5..90e75a6 100644 --- a/sip/tdecore/kiconeffect.sip +++ b/sip/tdecore/kiconeffect.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KIconEffect +class TDEIconEffect { %TypeHeaderCode #include @@ -32,7 +32,7 @@ class KIconEffect public: - KIconEffect (); + TDEIconEffect (); %If ( KDE_3_4_0 - ) @@ -98,5 +98,5 @@ public: %End -}; // class KIconEffect +}; // class TDEIconEffect diff --git a/sip/tdecore/kiconloader.sip b/sip/tdecore/kiconloader.sip index 990725d..d805133 100644 --- a/sip/tdecore/kiconloader.sip +++ b/sip/tdecore/kiconloader.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KIconLoader +class TDEIconLoader { %TypeHeaderCode #include @@ -32,37 +32,37 @@ class KIconLoader public: - KIconLoader (const TQString& = TQString ::null , TDEStandardDirs* = 0); + TDEIconLoader (const TQString& = TQString ::null , TDEStandardDirs* = 0); void addAppDir (const TQString&); - TQPixmap loadIcon (const TQString&, KIcon::Group, int = 0, int = KIcon ::DefaultState , TQString* = 0, bool = 0) const; + TQPixmap loadIcon (const TQString&, TDEIcon::Group, int = 0, int = TDEIcon ::DefaultState , TQString* = 0, bool = 0) const; %If ( KDE_3_5_0 - ) - TQIconSet loadIconSet (const TQString&, KIcon::Group, int, bool, bool); + TQIconSet loadIconSet (const TQString&, TDEIcon::Group, int, bool, bool); %End %If ( KDE_3_1_0 - ) - TQIconSet loadIconSet (const TQString&, KIcon::Group, int, bool); + TQIconSet loadIconSet (const TQString&, TDEIcon::Group, int, bool); %End - TQIconSet loadIconSet (const TQString&, KIcon::Group, int = 0); + TQIconSet loadIconSet (const TQString&, TDEIcon::Group, int = 0); TQString iconPath (const TQString&, int, bool = 0) const; - TQMovie loadMovie (const TQString&, KIcon::Group, int = 0) const; - TQString moviePath (const TQString&, KIcon::Group, int = 0) const; - TQStringList loadAnimated (const TQString&, KIcon::Group, int = 0) const; - TQStringList queryIcons (int, KIcon::Context = KIcon ::Any ) const; - TQStringList queryIconsByContext (int, KIcon::Context = KIcon ::Any ) const; + TQMovie loadMovie (const TQString&, TDEIcon::Group, int = 0) const; + TQString moviePath (const TQString&, TDEIcon::Group, int = 0) const; + TQStringList loadAnimated (const TQString&, TDEIcon::Group, int = 0) const; + TQStringList queryIcons (int, TDEIcon::Context = TDEIcon ::Any ) const; + TQStringList queryIconsByContext (int, TDEIcon::Context = TDEIcon ::Any ) const; %If ( KDE_3_1_0 - ) TQStringList queryIconsByDir (const TQString&) const; %End - int currentSize (KIcon::Group) const; - KIconTheme* theme (); - KIconEffect* iconEffect (); + int currentSize (TDEIcon::Group) const; + TDEIconTheme* theme (); + TDEIconEffect* iconEffect (); void reconfigure (const TQString&, TDEStandardDirs*); static TQPixmap unknown (); - bool alphaBlending (KIcon::Group) const; + bool alphaBlending (TDEIcon::Group) const; %If ( KDE_3_1_0 - ) void addExtraDesktopThemes (); @@ -72,26 +72,26 @@ public: %End -}; // class KIconLoader +}; // class TDEIconLoader %ModuleCode #include %End -TQPixmap DesktopIcon (const TQString&, int = 0, int = KIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); +TQPixmap DesktopIcon (const TQString&, int = 0, int = TDEIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); TQPixmap DesktopIcon (const TQString&, TDEInstance*); TQIconSet DesktopIconSet (const TQString&, int = 0, TDEInstance* = TDEGlobal ::instance ()); -TQPixmap BarIcon (const TQString&, int = 0, int = KIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); +TQPixmap BarIcon (const TQString&, int = 0, int = TDEIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); TQPixmap BarIcon (const TQString&, TDEInstance*); TQIconSet BarIconSet (const TQString&, int = 0, TDEInstance* = TDEGlobal ::instance ()); -TQPixmap SmallIcon (const TQString&, int = 0, int = KIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); +TQPixmap SmallIcon (const TQString&, int = 0, int = TDEIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); TQPixmap SmallIcon (const TQString&, TDEInstance*); TQIconSet SmallIconSet (const TQString&, int = 0, TDEInstance* = TDEGlobal ::instance ()); -TQPixmap MainBarIcon (const TQString&, int = 0, int = KIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); +TQPixmap MainBarIcon (const TQString&, int = 0, int = TDEIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); TQPixmap MainBarIcon (const TQString&, TDEInstance*); TQIconSet MainBarIconSet (const TQString&, int = 0, TDEInstance* = TDEGlobal ::instance ()); -TQPixmap UserIcon (const TQString&, int = KIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); +TQPixmap UserIcon (const TQString&, int = TDEIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); TQPixmap UserIcon (const TQString&, TDEInstance*); TQIconSet UserIconSet (const TQString&, TDEInstance* = TDEGlobal ::instance ()); -int IconSize (KIcon::Group, TDEInstance* = TDEGlobal ::instance ()); +int IconSize (TDEIcon::Group, TDEInstance* = TDEGlobal ::instance ()); diff --git a/sip/tdecore/kicontheme.sip b/sip/tdecore/kicontheme.sip index c8f2f6a..bbd8ae6 100644 --- a/sip/tdecore/kicontheme.sip +++ b/sip/tdecore/kicontheme.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KIcon +class TDEIcon { %TypeHeaderCode #include @@ -32,7 +32,7 @@ class KIcon public: - KIcon (); + TDEIcon (); bool isValid () const; enum Context @@ -198,10 +198,10 @@ public: %End -}; // class KIcon +}; // class TDEIcon -class KIconTheme +class TDEIconTheme { %TypeHeaderCode #include @@ -209,7 +209,7 @@ class KIconTheme public: - KIconTheme (const TQString&, const TQString& = TQString ::null ); + TDEIconTheme (const TQString&, const TQString& = TQString ::null ); TQString name () const; TQString description () const; TQString example () const; @@ -231,11 +231,11 @@ public: %End int depth () const; - int defaultSize (KIcon::Group) const; - TQValueList querySizes (KIcon::Group) const; - TQStringList queryIcons (int, KIcon::Context = KIcon ::Any ) const; - TQStringList queryIconsByContext (int, KIcon::Context = KIcon ::Any ) const; - KIcon iconPath (const TQString&, int, KIcon::MatchType) const; + int defaultSize (TDEIcon::Group) const; + TQValueList querySizes (TDEIcon::Group) const; + TQStringList queryIcons (int, TDEIcon::Context = TDEIcon ::Any ) const; + TQStringList queryIconsByContext (int, TDEIcon::Context = TDEIcon ::Any ) const; + TDEIcon iconPath (const TQString&, int, TDEIcon::MatchType) const; static TQStringList list (); static TQString current (); static void reconfigure (); @@ -245,5 +245,5 @@ public: %End -}; // class KIconTheme +}; // class TDEIconTheme diff --git a/sip/tdecore/kinstance.sip b/sip/tdecore/kinstance.sip index 94a23c3..b960c83 100644 --- a/sip/tdecore/kinstance.sip +++ b/sip/tdecore/kinstance.sip @@ -42,7 +42,7 @@ public: TDESharedConfig* sharedConfig () const; %End - KIconLoader* iconLoader () const; + TDEIconLoader* iconLoader () const; void newIconLoader () const; const TDEAboutData* aboutData () const; TQCString instanceName () const; diff --git a/sip/tdecore/kmimesourcefactory.sip b/sip/tdecore/kmimesourcefactory.sip index 44da6f9..af484a6 100644 --- a/sip/tdecore/kmimesourcefactory.sip +++ b/sip/tdecore/kmimesourcefactory.sip @@ -32,7 +32,7 @@ class KMimeSourceFactory : TQMimeSourceFactory public: - KMimeSourceFactory (KIconLoader* = TDEGlobal ::iconLoader ()); + KMimeSourceFactory (TDEIconLoader* = TDEGlobal ::iconLoader ()); virtual TQString makeAbsolute (const TQString&, const TQString&) const; protected: diff --git a/sip/tdefile/kicondialog.sip b/sip/tdefile/kicondialog.sip index eebdcb0..c53df67 100644 --- a/sip/tdefile/kicondialog.sip +++ b/sip/tdefile/kicondialog.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KIconCanvas : KIconView +class TDEIconCanvas : TDEIconView { %TypeHeaderCode #include @@ -32,7 +32,7 @@ class KIconCanvas : KIconView public: - KIconCanvas (TQWidget* /TransferThis/ = 0, const char* = 0); + TDEIconCanvas (TQWidget* /TransferThis/ = 0, const char* = 0); void loadFiles (const TQStringList&); TQString getCurrent (); @@ -48,10 +48,10 @@ signals: protected: //igx virtual void virtual_hook (int, void*); -}; // class KIconCanvas +}; // class TDEIconCanvas -class KIconDialog : KDialogBase +class TDEIconDialog : KDialogBase { %TypeHeaderCode #include @@ -59,8 +59,8 @@ class KIconDialog : KDialogBase public: - KIconDialog (TQWidget* /TransferThis/ = 0, const char* = 0); - KIconDialog (KIconLoader*, TQWidget* /TransferThis/ = 0, const char* = 0); + TDEIconDialog (TQWidget* /TransferThis/ = 0, const char* = 0); + TDEIconDialog (TDEIconLoader*, TQWidget* /TransferThis/ = 0, const char* = 0); void setStrictIconSize (bool); bool strictIconSize () const; @@ -70,11 +70,11 @@ public: void setIconSize (int); int iconSize () const; - TQString selectIcon (KIcon::Group = KIcon ::Desktop , KIcon::Context = KIcon ::Application , bool = 0); - void setup (KIcon::Group, KIcon::Context = KIcon ::Application , bool = 0, int = 0, bool = 0); + TQString selectIcon (TDEIcon::Group = TDEIcon ::Desktop , TDEIcon::Context = TDEIcon ::Application , bool = 0); + void setup (TDEIcon::Group, TDEIcon::Context = TDEIcon ::Application , bool = 0, int = 0, bool = 0); %If ( KDE_3_3_0 - ) - void setup (KIcon::Group, KIcon::Context, bool, int, bool, bool, bool); + void setup (TDEIcon::Group, TDEIcon::Context, bool, int, bool, bool, bool); %End TQString openDialog (); @@ -83,7 +83,7 @@ public: void showDialog (); %End - static TQString getIcon (KIcon::Group = KIcon ::Desktop , KIcon::Context = KIcon ::Application , bool = 0, int = 0, bool = 0, TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); + static TQString getIcon (TDEIcon::Group = TDEIcon ::Desktop , TDEIcon::Context = TDEIcon ::Application , bool = 0, int = 0, bool = 0, TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); signals: @@ -102,10 +102,10 @@ protected slots: protected: //igx virtual void virtual_hook (int, void*); -}; // class KIconDialog +}; // class TDEIconDialog -class KIconButton : TQPushButton +class TDEIconButton : TQPushButton { %TypeHeaderCode #include @@ -113,11 +113,11 @@ class KIconButton : TQPushButton public: - KIconButton (TQWidget* /TransferThis/ = 0, const char* = 0); - KIconButton (KIconLoader*, TQWidget* /TransferThis/, const char* = 0); + TDEIconButton (TQWidget* /TransferThis/ = 0, const char* = 0); + TDEIconButton (TDEIconLoader*, TQWidget* /TransferThis/, const char* = 0); void setStrictIconSize (bool); bool strictIconSize () const; - void setIconType (KIcon::Group, KIcon::Context, bool = 0); + void setIconType (TDEIcon::Group, TDEIcon::Context, bool = 0); void setIcon (const TQString&); void resetIcon (); const TQString icon (); @@ -127,5 +127,5 @@ public: signals: //ig void iconChanged (TQString); -}; // class KIconButton +}; // class TDEIconButton diff --git a/sip/tdefile/kurlbar.sip b/sip/tdefile/kurlbar.sip index 253a07b..cc15994 100644 --- a/sip/tdefile/kurlbar.sip +++ b/sip/tdefile/kurlbar.sip @@ -34,12 +34,12 @@ class KURLBarItem : TQListBoxPixmap public: %If ( KDE_3_2_0 - ) - KURLBarItem (KURLBar* /TransferThis/, const KURL&, bool, const TQString& = TQString ::null , const TQString& = TQString ::null , KIcon::Group = KIcon ::Panel ); + KURLBarItem (KURLBar* /TransferThis/, const KURL&, bool, const TQString& = TQString ::null , const TQString& = TQString ::null , TDEIcon::Group = TDEIcon ::Panel ); %End - KURLBarItem (KURLBar* /TransferThis/, const KURL&, const TQString& = TQString ::null , const TQString& = TQString ::null , KIcon::Group = KIcon ::Panel ); + KURLBarItem (KURLBar* /TransferThis/, const KURL&, const TQString& = TQString ::null , const TQString& = TQString ::null , TDEIcon::Group = TDEIcon ::Panel ); void setURL (const KURL&); - void setIcon (const TQString&, KIcon::Group = KIcon ::Panel ); + void setIcon (const TQString&, TDEIcon::Group = TDEIcon ::Panel ); void setDescription (const TQString&); void setToolTip (const TQString&); @@ -53,7 +53,7 @@ public: const TQString& description () const; const TQString& icon () const; TQString toolTip () const; - KIcon::Group iconGroup () const; + TDEIcon::Group iconGroup () const; virtual const TQPixmap* pixmap () const; void setApplicationLocal (bool); bool applicationLocal () const; @@ -81,10 +81,10 @@ class KURLBar : TQFrame public: KURLBar (bool, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - virtual KURLBarItem* insertItem (const KURL&, const TQString&, bool = 1, const TQString& = TQString ::null , KIcon::Group = KIcon ::Panel ); + virtual KURLBarItem* insertItem (const KURL&, const TQString&, bool = 1, const TQString& = TQString ::null , TDEIcon::Group = TDEIcon ::Panel ); %If ( KDE_3_2_0 - ) - virtual KURLBarItem* insertDynamicItem (const KURL&, const TQString&, const TQString& = TQString ::null , KIcon::Group = KIcon ::Panel ); + virtual KURLBarItem* insertDynamicItem (const KURL&, const TQString&, const TQString& = TQString ::null , TDEIcon::Group = TDEIcon ::Panel ); %End virtual void setOrientation (TQt::Orientation); @@ -198,7 +198,7 @@ class KURLBarItemDialog : KDialogBase public: static bool getInformation (bool, KURL&, TQString&, TQString&, bool&, int, TQWidget* /Transfer/ = 0); - KURLBarItemDialog (bool, const KURL&, const TQString&, TQString, bool = 1, int = KIcon ::SizeMedium , TQWidget* /TransferThis/ = 0, const char* = 0); + KURLBarItemDialog (bool, const KURL&, const TQString&, TQString, bool = 1, int = TDEIcon ::SizeMedium , TQWidget* /TransferThis/ = 0, const char* = 0); KURL url () const; TQString description () const; TQString icon () const; diff --git a/sip/tdefile/tdefiledetailview.sip b/sip/tdefile/tdefiledetailview.sip index 8453f86..3970841 100644 --- a/sip/tdefile/tdefiledetailview.sip +++ b/sip/tdefile/tdefiledetailview.sip @@ -170,9 +170,9 @@ private: {sipName_KFileTreeView, &sipClass_KFileTreeView}, {sipName_KFileTreeViewToolTip, &sipClass_KFileTreeViewToolTip}, {sipName_KFileViewSignaler, &sipClass_KFileViewSignaler}, - {sipName_KIconButton, &sipClass_KIconButton}, - {sipName_KIconCanvas, &sipClass_KIconCanvas}, - {sipName_KIconDialog, &sipClass_KIconDialog}, + {sipName_TDEIconButton, &sipClass_TDEIconButton}, + {sipName_TDEIconCanvas, &sipClass_TDEIconCanvas}, + {sipName_TDEIconDialog, &sipClass_TDEIconDialog}, {sipName_KImageFilePreview, &sipClass_KImageFilePreview}, #if TDE_VERSION >= 0x030100 {sipName_KNotifyDialog, &sipClass_KNotifyDialog}, diff --git a/sip/tdefile/tdefileiconview.sip b/sip/tdefile/tdefileiconview.sip index bd69889..a57d044 100644 --- a/sip/tdefile/tdefileiconview.sip +++ b/sip/tdefile/tdefileiconview.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KFileIconViewItem : KIconViewItem +class KFileIconViewItem : TDEIconViewItem { %TypeHeaderCode #include @@ -43,7 +43,7 @@ public: }; // class KFileIconViewItem -class KFileIconView : KIconView, KFileView +class KFileIconView : TDEIconView, KFileView { %TypeHeaderCode #include diff --git a/sip/tdeui/kaboutapplication.sip b/sip/tdeui/kaboutapplication.sip index b00ba76..51eaf8b 100644 --- a/sip/tdeui/kaboutapplication.sip +++ b/sip/tdeui/kaboutapplication.sip @@ -119,7 +119,7 @@ protected: {sipName_KHSSelector, &sipClass_KHSSelector}, {sipName_KHelpMenu, &sipClass_KHelpMenu}, {sipName_KHistoryCombo, &sipClass_KHistoryCombo}, - {sipName_KIconView, &sipClass_KIconView}, + {sipName_TDEIconView, &sipClass_TDEIconView}, {sipName_KIntSpinBox, &sipClass_KIntSpinBox}, {sipName_KIntValidator, &sipClass_KIntValidator}, {sipName_KJanusWidget, &sipClass_KJanusWidget}, diff --git a/sip/tdeui/kguiitem.sip b/sip/tdeui/kguiitem.sip index 23b4f16..9b58e20 100644 --- a/sip/tdeui/kguiitem.sip +++ b/sip/tdeui/kguiitem.sip @@ -38,7 +38,7 @@ public: KGuiItem (const KGuiItem&); TQString text () const; TQString plainText () const; - TQIconSet iconSet (KIcon::Group, int = 0, TDEInstance* = TDEGlobal ::instance ()) const; + TQIconSet iconSet (TDEIcon::Group, int = 0, TDEInstance* = TDEGlobal ::instance ()) const; TQIconSet iconSet () const; TQString iconName () const; TQString toolTip () const; diff --git a/sip/tdeui/kiconview.sip b/sip/tdeui/kiconview.sip index 7940f1a..44bf275 100644 --- a/sip/tdeui/kiconview.sip +++ b/sip/tdeui/kiconview.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KIconView : TQIconView +class TDEIconView : TQIconView { %TypeHeaderCode #include @@ -32,7 +32,7 @@ class KIconView : TQIconView public: - KIconView (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + TDEIconView (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); enum Mode { @@ -40,7 +40,7 @@ public: Select }; - void setMode (KIconView::Mode); + void setMode (TDEIconView::Mode); Mode mode () const; virtual void setFont (const TQFont&); @@ -105,10 +105,10 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KIconView +}; // class TDEIconView -class KIconViewItem : TQIconViewItem +class TDEIconViewItem : TQIconViewItem { %TypeHeaderCode #include @@ -116,14 +116,14 @@ class KIconViewItem : TQIconViewItem public: - KIconViewItem (TQIconView* /TransferThis/); - KIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*); - KIconViewItem (TQIconView* /TransferThis/, const TQString&); - KIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&); - KIconViewItem (TQIconView* /TransferThis/, const TQString&, const TQPixmap&); - KIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&, const TQPixmap&); - KIconViewItem (TQIconView* /TransferThis/, const TQString&, const TQPicture&); - KIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&, const TQPicture&); + TDEIconViewItem (TQIconView* /TransferThis/); + TDEIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*); + TDEIconViewItem (TQIconView* /TransferThis/, const TQString&); + TDEIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&); + TDEIconViewItem (TQIconView* /TransferThis/, const TQString&, const TQPixmap&); + TDEIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&, const TQPixmap&); + TDEIconViewItem (TQIconView* /TransferThis/, const TQString&, const TQPicture&); + TDEIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&, const TQPicture&); %If ( KDE_3_3_0 - ) void setPixmapSize (const TQSize&); @@ -143,5 +143,5 @@ protected: %End -}; // class KIconViewItem +}; // class TDEIconViewItem diff --git a/sip/tdeui/kiconviewsearchline.sip b/sip/tdeui/kiconviewsearchline.sip index cdc6c9e..bde2ab8 100644 --- a/sip/tdeui/kiconviewsearchline.sip +++ b/sip/tdeui/kiconviewsearchline.sip @@ -26,7 +26,7 @@ %If ( KDE_3_4_0 - ) -class KIconViewSearchLine : KLineEdit +class TDEIconViewSearchLine : KLineEdit { %TypeHeaderCode #include @@ -34,8 +34,8 @@ class KIconViewSearchLine : KLineEdit public: - KIconViewSearchLine (TQWidget* /TransferThis/ = 0, TQIconView* = 0, const char* = 0); - KIconViewSearchLine (TQWidget* /TransferThis/, const char*); + TDEIconViewSearchLine (TQWidget* /TransferThis/ = 0, TQIconView* = 0, const char* = 0); + TDEIconViewSearchLine (TQWidget* /TransferThis/, const char*); bool caseSensitive () const; TQIconView* iconView () const; @@ -55,7 +55,7 @@ protected slots: void queueSearch (const TQString&); void activateSearch (); -}; // class KIconViewSearchLine +}; // class TDEIconViewSearchLine %End diff --git a/sip/tdeui/tdeaction.sip b/sip/tdeui/tdeaction.sip index f0596bf..6a24c6e 100644 --- a/sip/tdeui/tdeaction.sip +++ b/sip/tdeui/tdeaction.sip @@ -77,7 +77,7 @@ public: virtual TQString group () const; virtual TQString whatsThis () const; virtual TQString toolTip () const; - virtual TQIconSet iconSet (KIcon::Group, int = 0) const; + virtual TQIconSet iconSet (TDEIcon::Group, int = 0) const; TQIconSet iconSet () const; virtual TQString icon () const; TDEActionCollection* parentCollection () const; diff --git a/templates/annotated/menuapp1.py b/templates/annotated/menuapp1.py index 5d25e93..f1586ae 100644 --- a/templates/annotated/menuapp1.py +++ b/templates/annotated/menuapp1.py @@ -45,7 +45,7 @@ import sys from qt import TQPopupMenu, SIGNAL -from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEStdAccel, KIcon, KIconLoader +from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEStdAccel, TDEIcon, TDEIconLoader from tdeui import TDEMainWindow, KMessageBox TOOLBAR_NEW = 1 @@ -143,10 +143,10 @@ class MainWin (TDEMainWindow): self.menuBar ().insertItem (i18n ("&Help"), helpMenu) def initToolBar (self): - # KIconLoader will make it easy to locate the standard KDE icons for + # TDEIconLoader will make it easy to locate the standard KDE icons for # toolbar buttons. For custom icons, a complete path to the icon # (without the loadIcon call) is needed - icons = KIconLoader () + icons = TDEIconLoader () # TDEMainWindow owns at least one TDEToolBar instance, which is returned # by 'self.toolBar ()'. To obtain additional toolbars, add an argument @@ -159,17 +159,17 @@ class MainWin (TDEMainWindow): # are easier ways to do this - see other menuapp templates for easier # methods using TDEAction/KStdAction - self.toolBar ().insertButton (icons.loadIcon ("filenew", KIcon.Toolbar), TOOLBAR_NEW, SIGNAL ("clicked (int)"), self.slotNew,\ + self.toolBar ().insertButton (icons.loadIcon ("filenew", TDEIcon.Toolbar), TOOLBAR_NEW, SIGNAL ("clicked (int)"), self.slotNew,\ True, "New") - self.toolBar ().insertButton (icons.loadIcon ("fileopen", KIcon.Toolbar), TOOLBAR_OPEN, SIGNAL ("clicked (int)"), self.slotOpen,\ + self.toolBar ().insertButton (icons.loadIcon ("fileopen", TDEIcon.Toolbar), TOOLBAR_OPEN, SIGNAL ("clicked (int)"), self.slotOpen,\ True, "Open") - self.toolBar ().insertButton (icons.loadIcon ("filesave", KIcon.Toolbar), TOOLBAR_SAVE, SIGNAL ("clicked (int)"), self.slotSave,\ + self.toolBar ().insertButton (icons.loadIcon ("filesave", TDEIcon.Toolbar), TOOLBAR_SAVE, SIGNAL ("clicked (int)"), self.slotSave,\ True, "Save") - self.toolBar ().insertButton (icons.loadIcon ("editcut", KIcon.Toolbar), TOOLBAR_CUT, SIGNAL ("clicked (int)"), self.slotCut,\ + self.toolBar ().insertButton (icons.loadIcon ("editcut", TDEIcon.Toolbar), TOOLBAR_CUT, SIGNAL ("clicked (int)"), self.slotCut,\ True, "Cut") - self.toolBar ().insertButton (icons.loadIcon ("editcopy", KIcon.Toolbar), TOOLBAR_COPY, SIGNAL ("clicked (int)"), self.slotCopy,\ + self.toolBar ().insertButton (icons.loadIcon ("editcopy", TDEIcon.Toolbar), TOOLBAR_COPY, SIGNAL ("clicked (int)"), self.slotCopy,\ True, "Copy") - self.toolBar ().insertButton (icons.loadIcon ("editpaste", KIcon.Toolbar), TOOLBAR_PASTE, SIGNAL ("clicked (int)"), self.slotPaste,\ + self.toolBar ().insertButton (icons.loadIcon ("editpaste", TDEIcon.Toolbar), TOOLBAR_PASTE, SIGNAL ("clicked (int)"), self.slotPaste,\ True, "Paste") def initStatusBar (self): diff --git a/templates/annotated/systray.py b/templates/annotated/systray.py index 56944a8..1c3745c 100644 --- a/templates/annotated/systray.py +++ b/templates/annotated/systray.py @@ -30,7 +30,7 @@ copyright holder. import sys from qt import TQWidget, SIGNAL -from tdecore import TDEApplication, KIcon, KIconLoader +from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdeui import KSystemTray """ @@ -64,13 +64,13 @@ app = TDEApplication (sys.argv, appName) mainWindow = MainWin (None, "main window") # System tray apps need an icon -icons = KIconLoader () +icons = TDEIconLoader () # The KSystemTray widget shows or hides it's parent widget # when clicked, so parent needs to be the main window systray = KSystemTray (mainWindow) -systray.setPixmap (icons.loadIcon("stop", KIcon.Desktop)) +systray.setPixmap (icons.loadIcon("stop", TDEIcon.Desktop)) systray.connect (systray, SIGNAL ("quitSelected ()"), slotQuitSelected) systray.show () diff --git a/templates/annotated/systray1.py b/templates/annotated/systray1.py index 3c1d3d5..eb3429f 100644 --- a/templates/annotated/systray1.py +++ b/templates/annotated/systray1.py @@ -36,7 +36,7 @@ copyright holder. import sys from qt import TQLabel, TQWidget, SIGNAL -from tdecore import TDEApplication, KIcon, KIconLoader +from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdeui import TDEMainWindow, KSystemTray # This template uses TDEMainWindow as the main window widget @@ -53,11 +53,11 @@ class MainWin (TDEMainWindow): self.exitFlag = False - icons = KIconLoader () + icons = TDEIconLoader () # KSystemTray hides or shows its parent when the system tray icon is clicked self.systray = KSystemTray (self) - self.systray.setPixmap (icons.loadIcon("stop", KIcon.Desktop)) + self.systray.setPixmap (icons.loadIcon("stop", TDEIcon.Desktop)) self.systray.connect (self.systray, SIGNAL ("quitSelected ()"), self.slotQuitSelected) self.systray.show () diff --git a/templates/basic/menuapp1.py b/templates/basic/menuapp1.py index c8f86db..dceec10 100644 --- a/templates/basic/menuapp1.py +++ b/templates/basic/menuapp1.py @@ -44,7 +44,7 @@ import sys from qt import TQPopupMenu, SIGNAL -from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEStdAccel, KIcon, KIconLoader +from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEStdAccel, TDEIcon, TDEIconLoader from tdeui import TDEMainWindow, KMessageBox TOOLBAR_NEW = 1 @@ -102,19 +102,19 @@ class MainWin (TDEMainWindow): self.menuBar ().insertItem (i18n ("&Help"), helpMenu) def initToolBar (self): - icons = KIconLoader () + icons = TDEIconLoader () - self.toolBar ().insertButton (icons.loadIcon ("filenew", KIcon.Toolbar), TOOLBAR_NEW, SIGNAL ("clicked (int)"), self.slotNew,\ + self.toolBar ().insertButton (icons.loadIcon ("filenew", TDEIcon.Toolbar), TOOLBAR_NEW, SIGNAL ("clicked (int)"), self.slotNew,\ True, "New") - self.toolBar ().insertButton (icons.loadIcon ("fileopen", KIcon.Toolbar), TOOLBAR_OPEN, SIGNAL ("clicked (int)"), self.slotOpen,\ + self.toolBar ().insertButton (icons.loadIcon ("fileopen", TDEIcon.Toolbar), TOOLBAR_OPEN, SIGNAL ("clicked (int)"), self.slotOpen,\ True, "Open") - self.toolBar ().insertButton (icons.loadIcon ("filesave", KIcon.Toolbar), TOOLBAR_SAVE, SIGNAL ("clicked (int)"), self.slotSave,\ + self.toolBar ().insertButton (icons.loadIcon ("filesave", TDEIcon.Toolbar), TOOLBAR_SAVE, SIGNAL ("clicked (int)"), self.slotSave,\ True, "Save") - self.toolBar ().insertButton (icons.loadIcon ("editcut", KIcon.Toolbar), TOOLBAR_CUT, SIGNAL ("clicked (int)"), self.slotCut,\ + self.toolBar ().insertButton (icons.loadIcon ("editcut", TDEIcon.Toolbar), TOOLBAR_CUT, SIGNAL ("clicked (int)"), self.slotCut,\ True, "Cut") - self.toolBar ().insertButton (icons.loadIcon ("editcopy", KIcon.Toolbar), TOOLBAR_COPY, SIGNAL ("clicked (int)"), self.slotCopy,\ + self.toolBar ().insertButton (icons.loadIcon ("editcopy", TDEIcon.Toolbar), TOOLBAR_COPY, SIGNAL ("clicked (int)"), self.slotCopy,\ True, "Copy") - self.toolBar ().insertButton (icons.loadIcon ("editpaste", KIcon.Toolbar), TOOLBAR_PASTE, SIGNAL ("clicked (int)"), self.slotPaste,\ + self.toolBar ().insertButton (icons.loadIcon ("editpaste", TDEIcon.Toolbar), TOOLBAR_PASTE, SIGNAL ("clicked (int)"), self.slotPaste,\ True, "Paste") def initStatusBar (self): diff --git a/templates/basic/systray.py b/templates/basic/systray.py index 5dc2a3d..b4bb489 100644 --- a/templates/basic/systray.py +++ b/templates/basic/systray.py @@ -30,7 +30,7 @@ copyright holder. import sys from qt import TQWidget, SIGNAL -from tdecore import TDEApplication, KIcon, KIconLoader +from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdeui import KSystemTray @@ -47,11 +47,11 @@ appName = "template" app = TDEApplication (sys.argv, appName) mainWindow = MainWin (None, "main window") -icons = KIconLoader () +icons = TDEIconLoader () systray = KSystemTray (mainWindow) -systray.setPixmap (icons.loadIcon("stop", KIcon.Desktop)) +systray.setPixmap (icons.loadIcon("stop", TDEIcon.Desktop)) systray.connect (systray, SIGNAL ("quitSelected ()"), slotQuitSelected) systray.show () diff --git a/templates/basic/systray1.py b/templates/basic/systray1.py index 0a660e7..ac5e508 100644 --- a/templates/basic/systray1.py +++ b/templates/basic/systray1.py @@ -30,7 +30,7 @@ copyright holder. import sys from qt import TQLabel, TQWidget, SIGNAL -from tdecore import TDEApplication, KIcon, KIconLoader +from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdeui import TDEMainWindow, KSystemTray class MainWin (TDEMainWindow): @@ -39,10 +39,10 @@ class MainWin (TDEMainWindow): self.exitFlag = False - icons = KIconLoader () + icons = TDEIconLoader () self.systray = KSystemTray (self) - self.systray.setPixmap (icons.loadIcon("stop", KIcon.Desktop)) + self.systray.setPixmap (icons.loadIcon("stop", TDEIcon.Desktop)) self.systray.connect (self.systray, SIGNAL ("quitSelected ()"), self.slotQuitSelected) self.systray.show ()
                returns a TDEIconViewSearchLine instance
                In versions KDE 3.4.0 and above only
                diff --git a/doc/classref/tdeui/TDEAction.html b/doc/classref/tdeui/TDEAction.html index ac3f430..b6d9581 100644 --- a/doc/classref/tdeui/TDEAction.html +++ b/doc/classref/tdeui/TDEAction.html @@ -230,7 +230,7 @@
              • iconSet (group, size = 0)
              • ArgumentTypeDefault
                parentTQWidget
                returns (TQIconSet)
                - +
                ArgumentTypeDefault
                groupKIcon.Group
                groupTDEIcon.Group
                sizeint0

                diff --git a/doc/classref/tdeui/index.html b/doc/classref/tdeui/index.html index c3ed446..37dcbc1 100644 --- a/doc/classref/tdeui/index.html +++ b/doc/classref/tdeui/index.html @@ -108,9 +108,9 @@
                KHSSelector
                KHelpMenu
                KHistoryCombo
                KIconView
                KIconViewItem
                KIconViewSearchLine
                TDEIconView
                TDEIconViewItem
                TDEIconViewSearchLine
                KInputDialog
                KIntNumInput
                KIntSpinBox