summaryrefslogtreecommitdiffstats
path: root/src/flowlayout.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:30:39 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:30:39 -0600
commit6981c239dedc72969f6f539afeef646a19c867c0 (patch)
tree44e5e93a8ed355a26920da44467d4b18be8fcc05 /src/flowlayout.h
parentdfe4a152e1587751bbb3e63e46c4d727e318caaf (diff)
downloadkima-6981c239dedc72969f6f539afeef646a19c867c0.tar.gz
kima-6981c239dedc72969f6f539afeef646a19c867c0.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/flowlayout.h')
-rw-r--r--src/flowlayout.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/flowlayout.h b/src/flowlayout.h
index 624d38b..ae07a66 100644
--- a/src/flowlayout.h
+++ b/src/flowlayout.h
@@ -20,7 +20,7 @@
#ifndef FLOWLAYOUT_H
#define FLOWLAYOUT_H
-#include <tqlayout.h>
+#include <layout.h>
#include <tqptrlist.h>
class Source;
@@ -49,7 +49,7 @@ public:
void addSource(Source* src);
void remove(TQWidget* widget);
/**
- * Returns the number of items in the tqlayout
+ * Returns the number of items in the layout
*/
uint count();
/**
@@ -62,8 +62,8 @@ public:
int heightForWidth(int w) const;
bool hasWidthForHeight() const;
int widthForHeight(int h) const;
- TQSize tqsizeHint() const;
- TQSize tqminimumSize() const;
+ TQSize sizeHint() const;
+ TQSize minimumSize() const;
TQLayoutIterator iterator();
TQSizePolicy::ExpandData expanding() const;
Qt::Orientation getOrientation() const;
@@ -84,7 +84,7 @@ private:
int doLayoutVertical( const TQRect&, bool testOnly );
Qt::Orientation mOrientation;
TQPtrList<TQLayoutItem> mLayoutItems;
- // this is the connection between a tqlayout item and its source.
+ // this is the connection between a layout item and its source.
TQMap<TQLayoutItem*, Source*> mSources;
TQLayoutItem* mLastItem; // the item that was last added
};