diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdeui/tests/kdialogbasetest.cpp | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/tests/kdialogbasetest.cpp')
-rw-r--r-- | kdeui/tests/kdialogbasetest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdeui/tests/kdialogbasetest.cpp b/kdeui/tests/kdialogbasetest.cpp index 5e62115fa..8092f27ef 100644 --- a/kdeui/tests/kdialogbasetest.cpp +++ b/kdeui/tests/kdialogbasetest.cpp @@ -12,12 +12,12 @@ int main(int argc, char** argv) "<center><h1>DialogBase Example</h1></center><hr><br>" "This example shows the usage of the <i>DialogBase</i> class. " "<i>DialogBase</i> is the KDE user interface class used to create " - "dialogs with unique layout without having to define an own dialog " + "dialogs with unique tqlayout without having to define an own dialog " "style for your application. <br>" "It provides three standard buttons (<b>OK</b>, <b>Apply</b>, and " "<b>Cancel</b>) that are needed in most dialogs. Each one may be " "hidden, enabled or disabled, and tooltips and quickhelp texts might be" - " added. And you do not need to bother about geometry management, this " + " added. And you do not need to bother about tqgeometry management, this " "is all done automatically.<br>" "To polish your user interface even further, you might want to add " "textures to the inner and the outer frame of the dialog (the frame is " @@ -60,11 +60,11 @@ int main(int argc, char** argv) view.setMinimumSize( 250, 300 ); dialog.setMainWidget(&view); /* After finishing the setup of your main widget, the dialog needs to be - adjusted. It is not done automatically, since the layout of the main + adjusted. It is not done automatically, since the tqlayout of the main widget may change before the dialog is shown. Additionally, setting a help chapter may cause a need for adjustment since it modifies the height of the upper frame. */ - dialog.resize(dialog.minimumSize()); + dialog.resize(dialog.tqminimumSize()); /* The dialog object is used just as any other TQDialog: */ if(dialog.exec()) { |