diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-03-25 20:06:45 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-03-25 20:06:45 +0100 |
commit | 88b7febc2393324ee14940c1c41a8ddc342c35f6 (patch) | |
tree | b9a917fd3a40988e6e0134490f5357e5335c1c70 /starter/menu.h | |
parent | 2ee99ab520931c5efe91123c85ba10064a45e95d (diff) | |
download | tde-style-baghira-88b7febc2393324ee14940c1c41a8ddc342c35f6.tar.gz tde-style-baghira-88b7febc2393324ee14940c1c41a8ddc342c35f6.zip |
Initial TDE conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'starter/menu.h')
-rw-r--r-- | starter/menu.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/starter/menu.h b/starter/menu.h index c858a07..98a6e63 100644 --- a/starter/menu.h +++ b/starter/menu.h @@ -19,7 +19,7 @@ #include <kservicegroup.h> #include "mykey.h" -class KIconLoader; +class TDEIconLoader; class TQPaintEvent; class TQMouseEvent; class TQEvent; @@ -27,7 +27,7 @@ class TQPixmap; class TQVBoxLayout; class TQComboBox; class StartMenuButton; -class KConfig; +class TDEConfig; class LinkConfig; class Panel : public TQWidget//TQScrollView @@ -42,7 +42,7 @@ public: void setOrientation ( Orientation o ); // void addItem ( TQWidget *w ); StartMenuButton* addIcon ( TQString icon, TQString title, TQString command, TQPoint pt = TQPoint(-1,-1) ); - void save(KConfig* config); + void save(TDEConfig* config); void repositionIcon ( StartMenuButton* bt, TQPoint pt ); void ensureVisible(TQRect & rect); void reloadIcons(int size); @@ -176,7 +176,7 @@ signals: void executed(); }; -class KPopupMenu; +class TDEPopupMenu; class ConfigDialog; class HelpDialog; @@ -210,21 +210,21 @@ public slots: protected: TQStringList categories; int favItemAmount; - void save(KConfig* config); + void save(TDEConfig* config); void mouseReleaseEvent ( TQMouseEvent * e ); void windowActivationChange ( bool oldActive ); private: void init(); void insertGroup(KServiceGroup *g, TQStringList & captions, TQStringList & paths); KServiceGroup::Ptr m_root; - KIconLoader *m_iconLoader; + TDEIconLoader *m_iconLoader; TQLabel *infoLabel; TQVBoxLayout * infoLayout; TQVBoxLayout * m_VLayout; TQFrame * m_widget; bool newbie; TQStringList neewbieApps; - KPopupMenu *m_popup; + TDEPopupMenu *m_popup; bool popupBlocked_; int _size; typedef TQSortedList<StartMenuEntry> StartMenuEntryList; |