summaryrefslogtreecommitdiffstats
path: root/kig/modes/popup.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kig/modes/popup.h
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kig/modes/popup.h')
-rw-r--r--kig/modes/popup.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kig/modes/popup.h b/kig/modes/popup.h
index 405bcee6..76574b74 100644
--- a/kig/modes/popup.h
+++ b/kig/modes/popup.h
@@ -51,7 +51,7 @@ class NormalModePopupObjects
public:
NormalModePopupObjects( KigPart& part, KigWidget& view,
NormalMode& mode,
- const std::vector<ObjectHolder*>& objs, const QPoint& p );
+ const std::vector<ObjectHolder*>& objs, const TQPoint& p );
~NormalModePopupObjects();
// the different "menu's", the toplevel is considered as just
@@ -61,9 +61,9 @@ public:
SetCoordinateSystemMenu, NumberOfMenus };
// used by the PopupActionProvider's to add actions to us..
- void addAction( int menu, const QString& name, int id );
- void addAction( int menu, const QPixmap& icon, const QString& name, int id );
- void addAction( int menu, const QPixmap& pix, int id );
+ void addAction( int menu, const TQString& name, int id );
+ void addAction( int menu, const TQPixmap& icon, const TQString& name, int id );
+ void addAction( int menu, const TQPixmap& pix, int id );
/**
* set the checked state of the \p n 'th item in \p menu to \p checked ..
@@ -73,7 +73,7 @@ public:
std::vector<ObjectHolder*> objects() const { return mobjs; }
KigPart& part() { return mpart; }
KigWidget& widget() { return mview; }
- QPoint plc() { return mplc; }
+ TQPoint plc() { return mplc; }
bool onlyLabels() const { return monlylabels; }
@@ -93,7 +93,7 @@ private slots:
void setCoordinateSystemMenuSlot( int );
protected:
- QPoint mplc;
+ TQPoint mplc;
KigPart& mpart;
KigWidget& mview;
std::vector<ObjectHolder*> mobjs;
@@ -101,7 +101,7 @@ protected:
std::vector<PopupActionProvider*> mproviders;
- QPopupMenu* mmenus[NumberOfMenus];
+ TQPopupMenu* mmenus[NumberOfMenus];
private:
bool monlylabels;
@@ -130,12 +130,12 @@ public:
* \return the index of the chosen element ( starting from 0 ), or -1
* if none was selected.
*/
- static int getObjectFromList( const QPoint& p, KigWidget* w,
+ static int getObjectFromList( const TQPoint& p, KigWidget* w,
const std::vector<ObjectHolder*>& objs,
bool givepopup = true );
protected:
- ObjectChooserPopup( const QPoint& p, KigWidget& view,
+ ObjectChooserPopup( const TQPoint& p, KigWidget& view,
const std::vector<ObjectHolder*>& objs );
~ObjectChooserPopup();
@@ -143,7 +143,7 @@ protected slots:
void actionActivatedSlot( int );
protected:
- QPoint mplc;
+ TQPoint mplc;
KigWidget& mview;
std::vector<ObjectHolder*> mobjs;