summaryrefslogtreecommitdiffstats
path: root/kgeography/src/mapasker.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 /kgeography/src/mapasker.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 'kgeography/src/mapasker.h')
-rw-r--r--kgeography/src/mapasker.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kgeography/src/mapasker.h b/kgeography/src/mapasker.h
index fbddae96..eba521b2 100644
--- a/kgeography/src/mapasker.h
+++ b/kgeography/src/mapasker.h
@@ -26,18 +26,18 @@ class mapAsker : public askWidget
{
Q_OBJECT
public:
- mapAsker(QWidget *parent, KGmap *m, QWidget *w, bool asker, uint count = 0);
+ mapAsker(TQWidget *parent, KGmap *m, TQWidget *w, bool asker, uint count = 0);
~mapAsker();
- QSize mapSize() const;
+ TQSize mapSize() const;
bool isAsker() const;
virtual bool isClickOnDivision() const { return true; }
protected:
- void nextQuestionHook(const QString &division);
- void mousePressEvent(QMouseEvent *e);
- QString getQuestionHook() const;
- void showEvent(QShowEvent *e);
+ void nextQuestionHook(const TQString &division);
+ void mousePressEvent(TQMouseEvent *e);
+ TQString getQuestionHook() const;
+ void showEvent(TQShowEvent *e);
public slots:
void setMovement(bool b);
@@ -45,16 +45,16 @@ Q_OBJECT
void setOriginalZoom();
private slots:
- void handleMapClick(QRgb c, const QPoint &p);
+ void handleMapClick(QRgb c, const TQPoint &p);
void setScrollBarsPosition(int x, int y);
void setScrollBarsVisibleSize(int w, int h);
void setScrollBarsMaximumSize(int w, int h);
void showScrollBars(bool b);
private:
- QLabel *p_next;
- QWidget *p_fill;
- QScrollBar *p_hsb, *p_vsb;
+ TQLabel *p_next;
+ TQWidget *p_fill;
+ TQScrollBar *p_hsb, *p_vsb;
int p_hsbms, p_vsbms; //H and V maximum size for scrollbars
infoWidget *p_infoWidget;