summaryrefslogtreecommitdiffstats
path: root/tdeio/tdefile/tests
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:16:51 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:16:51 -0600
commitf2bfcad7ffdd09911f282afe2a2051b3708601c9 (patch)
treece4bebc206b6f9753745218e6a4c4368df624c16 /tdeio/tdefile/tests
parenta14eaa044240517f1f3d7eb5dacbff96fd447ada (diff)
downloadtdelibs-f2bfcad7ffdd09911f282afe2a2051b3708601c9.tar.gz
tdelibs-f2bfcad7ffdd09911f282afe2a2051b3708601c9.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'tdeio/tdefile/tests')
-rw-r--r--tdeio/tdefile/tests/kfstest.cpp2
-rw-r--r--tdeio/tdefile/tests/kicondialogtest.cpp4
-rw-r--r--tdeio/tdefile/tests/tdefiletreeviewtest.cpp6
3 files changed, 6 insertions, 6 deletions
diff --git a/tdeio/tdefile/tests/kfstest.cpp b/tdeio/tdefile/tests/kfstest.cpp
index f6ee69687..0a2a698f5 100644
--- a/tdeio/tdefile/tests/kfstest.cpp
+++ b/tdeio/tdefile/tests/kfstest.cpp
@@ -125,7 +125,7 @@ int main(int argc, char **argv)
}
else if (argv1 == TQString::fromLatin1("icon")) {
- KIconDialog dlg;
+ TDEIconDialog dlg;
TQString icon = dlg.selectIcon();
kdDebug() << icon << endl;
}
diff --git a/tdeio/tdefile/tests/kicondialogtest.cpp b/tdeio/tdefile/tests/kicondialogtest.cpp
index b2c56e159..c3f7a827d 100644
--- a/tdeio/tdefile/tests/kicondialogtest.cpp
+++ b/tdeio/tdefile/tests/kicondialogtest.cpp
@@ -5,9 +5,9 @@ int main( int argc, char **argv )
{
TDEApplication app( argc, argv, "kicondialogtest" );
-// KIconDialog::getIcon();
+// TDEIconDialog::getIcon();
- KIconButton button;
+ TDEIconButton button;
app.setMainWidget( &button );
button.show();
diff --git a/tdeio/tdefile/tests/tdefiletreeviewtest.cpp b/tdeio/tdefile/tests/tdefiletreeviewtest.cpp
index dfa59540d..689472597 100644
--- a/tdeio/tdefile/tests/tdefiletreeviewtest.cpp
+++ b/tdeio/tdefile/tests/tdefiletreeviewtest.cpp
@@ -66,9 +66,9 @@ void testFrame::showPath( const KURL &url )
{
TQString fname = "TestBranch"; // url.fileName ();
/* try a user icon */
- KIconLoader *loader = TDEGlobal::iconLoader();
- TQPixmap pix = loader->loadIcon( "contents2", KIcon::Small );
- TQPixmap pixOpen = loader->loadIcon( "contents", KIcon::Small );
+ TDEIconLoader *loader = TDEGlobal::iconLoader();
+ TQPixmap pix = loader->loadIcon( "contents2", TDEIcon::Small );
+ TQPixmap pixOpen = loader->loadIcon( "contents", TDEIcon::Small );
KFileTreeBranch *nb = treeView->addBranch( url, fname, pix );